3 #include <linux/sockios.h>
4 #include <linux/socket.h>
10 sa_family_t sipx_family
;
13 unsigned char sipx_node
[IPX_NODE_LEN
];
15 unsigned char sipx_zero
; /* 16 byte fill */
19 * So we can fit the extra info for SIOCSIFADDR into the address nicely
22 #define sipx_special sipx_port
23 #define sipx_action sipx_zero
27 typedef struct ipx_route_definition
30 __u32 ipx_router_network
;
31 unsigned char ipx_router_node
[IPX_NODE_LEN
];
32 } ipx_route_definition
;
34 typedef struct ipx_interface_definition
37 unsigned char ipx_device
[16];
38 unsigned char ipx_dlink_type
;
39 #define IPX_FRAME_NONE 0
40 #define IPX_FRAME_SNAP 1
41 #define IPX_FRAME_8022 2
42 #define IPX_FRAME_ETHERII 3
43 #define IPX_FRAME_8023 4
44 #define IPX_FRAME_TR_8022 5 /* obsolete */
45 unsigned char ipx_special
;
46 #define IPX_SPECIAL_NONE 0
48 #define IPX_INTERNAL 2
49 unsigned char ipx_node
[IPX_NODE_LEN
];
50 } ipx_interface_definition
;
52 typedef struct ipx_config_data
54 unsigned char ipxcfg_auto_select_primary
;
55 unsigned char ipxcfg_auto_create_interfaces
;
59 * OLD Route Definition for backward compatibility.
65 __u32 ipx_router_network
;
66 #define IPX_ROUTE_NO_ROUTER 0
67 unsigned char ipx_router_node
[IPX_NODE_LEN
];
68 unsigned char ipx_device
[16];
69 unsigned short ipx_flags
;
72 #define IPX_RT_BLUEBOOK 2
73 #define IPX_RT_ROUTED 1
76 #define SIOCAIPXITFCRT (SIOCPROTOPRIVATE)
77 #define SIOCAIPXPRISLT (SIOCPROTOPRIVATE+1)
78 #define SIOCIPXCFGDATA (SIOCPROTOPRIVATE+2)
79 #define SIOCIPXNCPCONN (SIOCPROTOPRIVATE+3)
82 #include <linux/skbuff.h>
84 extern int ipxrtr_route_skb(struct sk_buff
*);
85 extern int ipx_if_offset(unsigned long ipx_net_number
);
86 extern void ipx_remove_socket(struct sock
*sk
);
87 #endif /* def __KERNEL__ */
89 #endif /* def _IPX_H_ */