3 * $Id: packet-portmap.h,v 1.5 2002/08/28 21:00:25 jmayer Exp $
5 * Ethereal - Network traffic analyzer
6 * By Gerald Combs <gerald@zing.org>
7 * Copyright 1998 Gerald Combs
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #ifndef PACKET_PORTMAP_H
26 #define PACKET_PORTMAP_H
28 #define PORTMAP_PROGRAM 100000
30 #define PORTMAPPROC_NULL 0
31 #define PORTMAPPROC_SET 1
32 #define PORTMAPPROC_UNSET 2
33 #define PORTMAPPROC_GETPORT 3
34 #define PORTMAPPROC_DUMP 4
35 #define PORTMAPPROC_CALLIT 5
37 /* RFC 1833, Page 7 */
38 #define RPCBPROC_NULL 0
39 #define RPCBPROC_SET 1
40 #define RPCBPROC_UNSET 2
41 #define RPCBPROC_GETADDR 3
42 #define RPCBPROC_DUMP 4
43 #define RPCBPROC_CALLIT 5
44 #define RPCBPROC_GETTIME 6
45 #define RPCBPROC_UADDR2TADDR 7
46 #define RPCBPROC_TADDR2UADDR 8
48 /* RFC 1833, Page 8 */
49 #define RPCBPROC_BCAST RPCBPROC_CALLIT
50 #define RPCBPROC_GETVERSADDR 9
51 #define RPCBPROC_INDIRECT 10
52 #define RPCBPROC_GETADDRLIST 11
53 #define RPCBPROC_GETSTAT 12