X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=portmap%2Fportmap.x;h=6f4bc39f8f2fa2f87c52c49a17858c058d1d0edd;hb=24f45c5452ec03fd45098c1eb5ee6bc023b86049;hp=0f62858012d4401d013f74d4215bdd68d9cba8ca;hpb=d731e94cfa97651aa6a44dbff8855c924858696c;p=deb_libnfs.git diff --git a/portmap/portmap.x b/portmap/portmap.x index 0f62858..6f4bc39 100644 --- a/portmap/portmap.x +++ b/portmap/portmap.x @@ -32,7 +32,7 @@ struct pmap2_dump_result { struct pmap2_mapping_list *list; }; -struct pmap3_getaddr_result { +struct pmap3_string_result { string addr<>; }; @@ -53,6 +53,23 @@ struct pmap3_dump_result { struct pmap3_mapping_list *list; }; +struct pmap3_call_args { + unsigned int prog; + unsigned int vers; + unsigned int proc; + opaque args<>; +}; + +struct pmap3_call_result { + unsigned int port; + opaque res<>; +}; + +struct pmap3_netbuf { + unsigned int maxlen; + opaque buf<>; +}; + program PMAP_PROGRAM { version PMAP_V2 { void @@ -83,11 +100,23 @@ program PMAP_PROGRAM { bool PMAP3_UNSET(pmap3_mapping) = 2; - pmap3_getaddr_result + pmap3_string_result PMAP3_GETADDR(pmap3_mapping) = 3; pmap3_dump_result PMAP3_DUMP(void) = 4; + + pmap3_call_result + PMAP3_CALLIT(pmap3_call_args) = 5; + + unsigned int + PMAP3_GETTIME(void) = 6; + + pmap3_netbuf + PMAP3_UADDR2TADDR(string) = 7; + + struct pmap3_string_result + PMAP3_TADDR2UADDR(pmap3_netbuf) = 8; } = 3; } = 100000;