1 #ifndef _IPX_H_ 2 #define _IPX_H_ 3 4 struct sockaddr_ipx 5 { 6 short sipx_family; 7 unsigned long sipx_network; 8 unsigned char sipx_node[6]; 9 short sipx_port; 10 unsigned char sipx_type; 11 }; 12 13 struct ipx_route_def 14 { 15 unsigned long ipx_network; 16 unsigned long ipx_router_network; 17 #define IPX_ROUTE_NO_ROUTER 0 18 unsigned char ipx_router_node[6]; 19 unsigned char ipx_device[16]; 20 unsigned short ipx_flags; 21 #define IPX_RT_SNAP 8 22 #define IPX_RT_8022 4 23 #define IPX_RT_BLUEBOOK 2 24 #define IPX_RT_ROUTED 1 25 }; 26 27 #define IPX_MTU 576 28 29 #endif 30