xref: /haiku/src/add-ons/kernel/file_systems/nfs/pmap.h (revision 7749d0bb0c358a3279b1b9cc76d8376e900130a5)
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