add RPC definition for the portmapper/callit function

libnfs-4.0.0-vitalif
Ronnie Sahlberg 2011-06-25 13:59:12 +10:00
parent 7ed9d87a5b
commit 947e89301b
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,10 @@ struct call_args {
opaque args<>;
};
struct call_result {
unsigned int port;
opaque res<>;
};
program PMAP_PROGRAM {
version PMAP_V2 {
@ -32,6 +36,9 @@ program PMAP_PROGRAM {
unsigned int
PMAP_GETPORT(mapping) = 3;
call_result
PMAP_CALLIT(call_args) = 5;
} = 2;
} = 100000;