2 * Definitions for packet disassembly structures and routines
4 * $Id: packet-vines.h,v 1.7 2001/01/06 08:44:03 guy Exp $
6 * Don Lafontaine <lafont02@cn.ca>
8 * Ethereal - Network traffic analyzer
9 * By Gerald Combs <gerald@zing.org>
10 * Copyright 1998 Gerald Combs
11 * Joerg Mayer <jmayer@telemation.de>
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 /* Information about VINES can be found in
31 * VINES Protocol Definition
32 * Order Number: DA254-00
33 * Banyan Systems incorporated
35 * Part Number: 092093-000
38 #ifndef __PACKETVINES_H__
39 #define __PACKETVINES_H__
41 #define VINES_ADDR_LEN 6
43 /* VINES IP structs and definitions */
46 VIP_PROTO_IPC = 1, /* Interprocess Communications Protocol (IPC) */
47 VIP_PROTO_SPP = 2, /* Sequenced Packet Protcol (SPP) */
48 VIP_PROTO_ARP = 4, /* Address Resolution Protocol (ARP) */
49 VIP_PROTO_RTP = 5, /* Routing Update Protocol (RTP) / SRTP (Sequenced RTP) */
50 VIP_PROTO_ICP = 6 /* Internet Control Protocol (ICP) */
53 typedef struct _e_vip {
56 guint8 vip_tctl; /* Transport Control */
64 /* VINES SPP structs and definitions */
67 VSPP_PKTTYPE_DATA = 1, /* User Data */
68 VSPP_PKTTYPE_DISC = 3, /* Diconnect Request */
69 VSPP_PKTTYPE_PROBE = 4, /* Probe (retransmit) */
70 VSPP_PKTTYPE_ACK = 5 /* Acknowledgement */
73 typedef struct _e_vspp {
78 guint16 vspp_lclid; /* Local Connection ID */
79 guint16 vspp_rmtid; /* Remote Connection ID */
80 guint16 vspp_seqno; /* Sequence Number */
81 guint16 vspp_ack; /* Acknowledgement Number */
85 /* VINES SMB structs and definitions */
87 typedef struct _e_vsmb {
103 guint16 vsmb_maxpbytes;
104 guint16 vsmb_maxdbytes;
110 void capture_vines(const u_char *, int, packet_counts *);
113 * Routine to take a Vines address and generate a string.
115 extern gchar *vines_addr_to_str(const guint8 *addrp);
117 #endif /* packet-vines.h */