| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-portmap.h
1/* packet-portmap.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11#ifndef PACKET_PORTMAP_H
12#define PACKET_PORTMAP_H
13
14#define PORTMAP_PROGRAM 100000
15
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
22
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
33
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
40
41 struct pmap {
42 uint32_t pm_prog;
43 uint32_t pm_vers;
44 uint32_t pm_prot;
45 uint32_t pm_port;
46};
47
48#endif
pmap
Definition packet-portmap.h:41