3 #include <linux/sockios.h>
4 #include <linux/socket.h>
9 sa_family_t sipx_family;
12 unsigned char sipx_node[IPX_NODE_LEN];
14 unsigned char sipx_zero; /* 16 byte fill */
18 * So we can fit the extra info for SIOCSIFADDR into the address nicely
20 #define sipx_special sipx_port
21 #define sipx_action sipx_zero
25 struct ipx_route_definition {
27 __be32 ipx_router_network;
28 unsigned char ipx_router_node[IPX_NODE_LEN];
31 struct ipx_interface_definition {
33 unsigned char ipx_device[16];
34 unsigned char ipx_dlink_type;
35 #define IPX_FRAME_NONE 0
36 #define IPX_FRAME_SNAP 1
37 #define IPX_FRAME_8022 2
38 #define IPX_FRAME_ETHERII 3
39 #define IPX_FRAME_8023 4
40 #define IPX_FRAME_TR_8022 5 /* obsolete */
41 unsigned char ipx_special;
42 #define IPX_SPECIAL_NONE 0
44 #define IPX_INTERNAL 2
45 unsigned char ipx_node[IPX_NODE_LEN];
48 struct ipx_config_data {
49 unsigned char ipxcfg_auto_select_primary;
50 unsigned char ipxcfg_auto_create_interfaces;
54 * OLD Route Definition for backward compatibility.
57 struct ipx_route_def {
59 __be32 ipx_router_network;
60 #define IPX_ROUTE_NO_ROUTER 0
61 unsigned char ipx_router_node[IPX_NODE_LEN];
62 unsigned char ipx_device[16];
63 unsigned short ipx_flags;
66 #define IPX_RT_BLUEBOOK 2
67 #define IPX_RT_ROUTED 1
70 #define SIOCAIPXITFCRT (SIOCPROTOPRIVATE)
71 #define SIOCAIPXPRISLT (SIOCPROTOPRIVATE + 1)
72 #define SIOCIPXCFGDATA (SIOCPROTOPRIVATE + 2)
73 #define SIOCIPXNCPCONN (SIOCPROTOPRIVATE + 3)