Try to fixup the mess of mdoc(7)/man(7) mixture as created by the merge.
[netbsd-mini2440.git] / dist / tcpdump / ipx.h
blob747c1e595edb269536728807d6b4e935d92411f4
1 /* $NetBSD$ */
3 /*
4 * IPX protocol formats
6 * @(#) Header: /tcpdump/master/tcpdump/ipx.h,v 1.8 2002/12/11 07:13:54 guy Exp
7 */
9 /* well-known sockets */
10 #define IPX_SKT_NCP 0x0451
11 #define IPX_SKT_SAP 0x0452
12 #define IPX_SKT_RIP 0x0453
13 #define IPX_SKT_NETBIOS 0x0455
14 #define IPX_SKT_DIAGNOSTICS 0x0456
15 #define IPX_SKT_NWLINK_DGM 0x0553 /* NWLink datagram, may contain SMB */
16 #define IPX_SKT_EIGRP 0x85be /* Cisco EIGRP over IPX */
18 /* IPX transport header */
19 struct ipxHdr {
20 u_int16_t cksum; /* Checksum */
21 u_int16_t length; /* Length, in bytes, including header */
22 u_int8_t tCtl; /* Transport Control (i.e. hop count) */
23 u_int8_t pType; /* Packet Type (i.e. level 2 protocol) */
24 u_int16_t dstNet[2]; /* destination net */
25 u_int8_t dstNode[6]; /* destination node */
26 u_int16_t dstSkt; /* destination socket */
27 u_int16_t srcNet[2]; /* source net */
28 u_int8_t srcNode[6]; /* source node */
29 u_int16_t srcSkt; /* source socket */
32 #define ipxSize 30