TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags
[wireshark-sm.git] / epan / dissectors / packet-portmap.h
blob2d6ea30944a6c40a0286e8ec9b0baf7202db249e
1 /* packet-portmap.h
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
11 #ifndef PACKET_PORTMAP_H
12 #define PACKET_PORTMAP_H
14 #define PORTMAP_PROGRAM 100000
16 #define PORTMAPPROC_NULL 0
17 #define PORTMAPPROC_SET 1
18 #define PORTMAPPROC_UNSET 2
19 #define PORTMAPPROC_GETPORT 3
20 #define PORTMAPPROC_DUMP 4
21 #define PORTMAPPROC_CALLIT 5
23 /* RFC 1833, Page 7 */
24 #define RPCBPROC_NULL 0
25 #define RPCBPROC_SET 1
26 #define RPCBPROC_UNSET 2
27 #define RPCBPROC_GETADDR 3
28 #define RPCBPROC_DUMP 4
29 #define RPCBPROC_CALLIT 5
30 #define RPCBPROC_GETTIME 6
31 #define RPCBPROC_UADDR2TADDR 7
32 #define RPCBPROC_TADDR2UADDR 8
34 /* RFC 1833, Page 8 */
35 #define RPCBPROC_BCAST RPCBPROC_CALLIT
36 #define RPCBPROC_GETVERSADDR 9
37 #define RPCBPROC_INDIRECT 10
38 #define RPCBPROC_GETADDRLIST 11
39 #define RPCBPROC_GETSTAT 12
41 struct pmap {
42 uint32_t pm_prog;
43 uint32_t pm_vers;
44 uint32_t pm_prot;
45 uint32_t pm_port;
48 #endif