1 #ifndef _PMAP_H 2 3 #define _PMAP_H 4 5 const int32 PMAP_PORT = 111; /* portmapper port number */ 6 const int32 PMAP_VERSION = 2; 7 const int32 PMAP_PROGRAM = 100000; 8 9 const int32 PMAP_IPPROTO_TCP = 6; /* protocol number for TCP/IP */ 10 const int32 PMAP_IPPROTO_UDP = 17; /* protocol number for UDP/IP */ 11 12 enum 13 { 14 PMAPPROC_NULL = 0, 15 PMAPPROC_SET = 1, 16 PMAPPROC_UNSET = 2, 17 PMAPPROC_GETPORT = 3, 18 PMAPPROC_DUMP = 4, 19 PMAPPROC_CALLIT = 5 20 }; 21 22 #endif 23