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