1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
14 #include <linux/sockios.h>
15 #include <linux/socket.h>
16 #define IPX_NODE_LEN 6
20 sa_family_t sipx_family;
23 unsigned char sipx_node[IPX_NODE_LEN];
25 unsigned char sipx_zero;
28 #define sipx_special sipx_port
29 #define sipx_action sipx_zero
33 struct ipx_route_definition {
35 __u32 ipx_router_network;
36 unsigned char ipx_router_node[IPX_NODE_LEN];
39 struct ipx_interface_definition {
41 unsigned char ipx_device[16];
42 unsigned char ipx_dlink_type;
43 #define IPX_FRAME_NONE 0
44 #define IPX_FRAME_SNAP 1
45 #define IPX_FRAME_8022 2
46 #define IPX_FRAME_ETHERII 3
47 #define IPX_FRAME_8023 4
48 #define IPX_FRAME_TR_8022 5
49 unsigned char ipx_special;
50 #define IPX_SPECIAL_NONE 0
52 #define IPX_INTERNAL 2
53 unsigned char ipx_node[IPX_NODE_LEN];
56 struct ipx_config_data {
57 unsigned char ipxcfg_auto_select_primary;
58 unsigned char ipxcfg_auto_create_interfaces;
61 struct ipx_route_def {
63 __u32 ipx_router_network;
64 #define IPX_ROUTE_NO_ROUTER 0
65 unsigned char ipx_router_node[IPX_NODE_LEN];
66 unsigned char ipx_device[16];
67 unsigned short ipx_flags;
70 #define IPX_RT_BLUEBOOK 2
71 #define IPX_RT_ROUTED 1
74 #define SIOCAIPXITFCRT (SIOCPROTOPRIVATE)
75 #define SIOCAIPXPRISLT (SIOCPROTOPRIVATE + 1)
76 #define SIOCIPXCFGDATA (SIOCPROTOPRIVATE + 2)
77 #define SIOCIPXNCPCONN (SIOCPROTOPRIVATE + 3)