]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/tcpdump/ipx.h
This commit was generated by cvs2svn to compensate for changes in r55289,
[FreeBSD/FreeBSD.git] / contrib / tcpdump / ipx.h
1 /*
2  * IPX protocol formats 
3  *
4  * @(#) $Header: ipx.h,v 1.1 94/06/09 11:47:03 mccanne 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
13
14 /* IPX transport header */
15 struct ipxHdr {
16     u_short     cksum;          /* Checksum */
17     u_short     length;         /* Length, in bytes, including header */
18     u_char      tCtl;           /* Transport Control (i.e. hop count) */
19     u_char      pType;          /* Packet Type (i.e. level 2 protocol) */
20     u_short     dstNet[2];      /* destination net */
21     u_char      dstNode[6];     /* destination node */
22     u_short     dstSkt;         /* destination socket */
23     u_short     srcNet[2];      /* source net */
24     u_char      srcNode[6];     /* source node */
25     u_short     srcSkt;         /* source socket */
26 } ipx_hdr_t;
27
28 #define ipxSize 30
29