1/* 2 * IPX protocol formats 3 *
| 1/* 2 * IPX protocol formats 3 *
|
4 * @(#) $Header: /tcpdump/master/tcpdump/ipx.h,v 1.2 2000/10/03 02:54:56 itojun Exp $
| 4 * @(#) $Header: /tcpdump/master/tcpdump/ipx.h,v 1.4 2001/01/15 03:23:59 guy Exp $
|
5 */ 6 7/* well-known sockets */ 8#define IPX_SKT_NCP 0x0451 9#define IPX_SKT_SAP 0x0452 10#define IPX_SKT_RIP 0x0453 11#define IPX_SKT_NETBIOS 0x0455 12#define IPX_SKT_DIAGNOSTICS 0x0456
| 5 */ 6 7/* well-known sockets */ 8#define IPX_SKT_NCP 0x0451 9#define IPX_SKT_SAP 0x0452 10#define IPX_SKT_RIP 0x0453 11#define IPX_SKT_NETBIOS 0x0455 12#define IPX_SKT_DIAGNOSTICS 0x0456
|
| 13#define IPX_SKT_NWLINK_DGM 0x0553 /* NWLink datagram, may contain SMB */ 14#define IPX_SKT_EIGRP 0x85be /* Cisco EIGRP over IPX */
|
13 14/* IPX transport header */ 15struct ipxHdr { 16 u_int16_t cksum; /* Checksum */ 17 u_int16_t length; /* Length, in bytes, including header */ 18 u_int8_t tCtl; /* Transport Control (i.e. hop count) */ 19 u_int8_t pType; /* Packet Type (i.e. level 2 protocol) */ 20 u_int16_t dstNet[2]; /* destination net */ 21 u_int8_t dstNode[6]; /* destination node */ 22 u_int16_t dstSkt; /* destination socket */ 23 u_int16_t srcNet[2]; /* source net */ 24 u_int8_t srcNode[6]; /* source node */ 25 u_int16_t srcSkt; /* source socket */ 26} ipx_hdr_t; 27 28#define ipxSize 30 29
| 15 16/* IPX transport header */ 17struct ipxHdr { 18 u_int16_t cksum; /* Checksum */ 19 u_int16_t length; /* Length, in bytes, including header */ 20 u_int8_t tCtl; /* Transport Control (i.e. hop count) */ 21 u_int8_t pType; /* Packet Type (i.e. level 2 protocol) */ 22 u_int16_t dstNet[2]; /* destination net */ 23 u_int8_t dstNode[6]; /* destination node */ 24 u_int16_t dstSkt; /* destination socket */ 25 u_int16_t srcNet[2]; /* source net */ 26 u_int8_t srcNode[6]; /* source node */ 27 u_int16_t srcSkt; /* source socket */ 28} ipx_hdr_t; 29 30#define ipxSize 30 31
|