minor fix to return E_USAGE on -V instead of exit(0);
[oss-qm-packages.git] / include / ipx.h
blob7cfa8cf042c5db5773a6780e98f11508812e58cb
2 /* Sanitised ipx.h for net-tools. */
4 #ifndef _IPX_H_
5 #define _IPX_H_
7 #define IPX_NODE_LEN 6
8 #define IPX_MTU 576
10 struct sockaddr_ipx {
11 #if LINUX_VERSION_CODE > 131328 /* 2.1.0 or later */
12 sa_family_t sipx_family;
13 #else
14 short sipx_family;
15 #endif
16 unsigned short sipx_port;
17 unsigned int sipx_network;
18 unsigned char sipx_node[IPX_NODE_LEN];
19 unsigned char sipx_type;
20 unsigned char sipx_zero; /* 16 byte fill */
23 #define IPX_FRAME_NONE 0
24 #define IPX_FRAME_SNAP 1
25 #define IPX_FRAME_8022 2
26 #define IPX_FRAME_ETHERII 3
27 #define IPX_FRAME_8023 4
28 #define IPX_FRAME_TR_8022 5
30 #endif