File: ipx.h

package info (click to toggle)
ipgrab 0.8.2-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 540 kB
  • ctags: 555
  • sloc: ansic: 4,608; sh: 1,507; makefile: 120
file content (30 lines) | stat: -rw-r--r-- 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**************************************************************************** 
** File: ipx.h
**
** Author: Mike Borella
**
** Comments: IPX header format and such
**
** $Log: ipx.h,v $
** Revision 1.2  1998/06/12 20:48:24  mborella
** Added log tag
**
**
*****************************************************************************/

typedef struct _IPXhdr
{
  u_int16_t csum;
  u_int16_t len;
  u_int8_t  tc;
  u_int8_t  pt;
  u_int32_t dstnet;
  u_char    dstnode[6];
  u_int16_t dstport;
  u_int32_t srcnet;
  u_char    srcnode[6];
  u_int16_t srcport;
} IPXhdr;

#define IPXHDR_SIZE 30