3 * and http://tools.ietf.org/html/draft-ietf-oncrpc-rpcbind-00
6 const PMAP_PORT = 111; /* portmapper port number */
15 struct pmap2_call_args {
22 struct pmap2_call_result {
27 struct pmap2_mapping_list {
29 pmap2_mapping_list *next;
32 struct pmap2_dump_result {
33 struct pmap2_mapping_list *list;
36 struct pmap3_string_result {
40 struct pmap3_mapping {
48 struct pmap3_mapping_list {
50 pmap3_mapping_list *next;
53 struct pmap3_dump_result {
54 struct pmap3_mapping_list *list;
57 struct pmap3_call_args {
64 struct pmap3_call_result {
71 /* This pretty much contains a sockaddr_storage.
72 * Beware differences in endianess for ss_family
73 * and whether or not ss_len exists.
78 program PMAP_PROGRAM {
84 PMAP2_SET(pmap2_mapping) = 1;
87 PMAP2_UNSET(pmap2_mapping) = 2;
90 PMAP2_GETPORT(pmap2_mapping) = 3;
96 PMAP2_CALLIT(pmap2_call_args) = 5;
100 PMAP3_NULL(void) = 0;
103 PMAP3_SET(pmap3_mapping) = 1;
106 PMAP3_UNSET(pmap3_mapping) = 2;
109 PMAP3_GETADDR(pmap3_mapping) = 3;
112 PMAP3_DUMP(void) = 4;
115 PMAP3_CALLIT(pmap3_call_args) = 5;
118 PMAP3_GETTIME(void) = 6;
121 PMAP3_UADDR2TADDR(string) = 7;
123 struct pmap3_string_result
124 PMAP3_TADDR2UADDR(pmap3_netbuf) = 8;