From: Ronnie Sahlberg Date: Sat, 25 Jun 2011 03:59:12 +0000 (+1000) Subject: add RPC definition for the portmapper/callit function X-Git-Tag: upstream/1.9.6^2~386 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=947e89301bad468f98df17ed1573a7499024460e add RPC definition for the portmapper/callit function --- diff --git a/portmap/portmap.x b/portmap/portmap.x index 8921b92..819951f 100644 --- a/portmap/portmap.x +++ b/portmap/portmap.x @@ -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;