5 const PMAP_PORT = 111; /* portmapper port number */
14 struct pmap2_call_args {
21 struct pmap2_call_result {
26 struct pmap2_mapping_list {
28 pmap2_mapping_list *next;
31 struct pmap2_dump_result {
32 struct pmap2_mapping_list *list;
35 struct pmap3_getaddr_result {
39 struct pmap3_mapping {
47 struct pmap3_mapping_list {
49 pmap3_mapping_list *next;
52 struct pmap3_dump_result {
53 struct pmap3_mapping_list *list;
56 struct pmap3_call_args {
63 struct pmap3_call_result {
73 program PMAP_PROGRAM {
79 PMAP2_SET(pmap2_mapping) = 1;
82 PMAP2_UNSET(pmap2_mapping) = 2;
85 PMAP2_GETPORT(pmap2_mapping) = 3;
91 PMAP2_CALLIT(pmap2_call_args) = 5;
98 PMAP3_SET(pmap3_mapping) = 1;
101 PMAP3_UNSET(pmap3_mapping) = 2;
104 PMAP3_GETADDR(pmap3_mapping) = 3;
107 PMAP3_DUMP(void) = 4;
110 PMAP3_CALLIT(pmap3_call_args) = 5;
113 PMAP3_GETTIME(void) = 6;
116 PMAP3_UADDR2TADDR(string) = 7;