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 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
17 ****************************************************************************
18 ****************************************************************************/
21 #include <linux/types.h>
22 #include <linux/sockios.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #include <linux/socket.h>
25 #define IPX_NODE_LEN 6
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 __kernel_sa_family_t sipx_family
;
32 unsigned char sipx_node
[IPX_NODE_LEN
];
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
35 unsigned char sipx_zero
;
37 #define sipx_special sipx_port
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define sipx_action sipx_zero
42 struct ipx_route_definition
{
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
45 __be32 ipx_router_network
;
46 unsigned char ipx_router_node
[IPX_NODE_LEN
];
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 struct ipx_interface_definition
{
51 unsigned char ipx_device
[16];
52 unsigned char ipx_dlink_type
;
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define IPX_FRAME_NONE 0
55 #define IPX_FRAME_SNAP 1
56 #define IPX_FRAME_8022 2
57 #define IPX_FRAME_ETHERII 3
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define IPX_FRAME_8023 4
60 #define IPX_FRAME_TR_8022 5
61 unsigned char ipx_special
;
62 #define IPX_SPECIAL_NONE 0
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
65 #define IPX_INTERNAL 2
66 unsigned char ipx_node
[IPX_NODE_LEN
];
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 struct ipx_config_data
{
70 unsigned char ipxcfg_auto_select_primary
;
71 unsigned char ipxcfg_auto_create_interfaces
;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 struct ipx_route_def
{
76 __be32 ipx_router_network
;
77 #define IPX_ROUTE_NO_ROUTER 0
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 unsigned char ipx_router_node
[IPX_NODE_LEN
];
80 unsigned char ipx_device
[16];
81 unsigned short ipx_flags
;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
85 #define IPX_RT_BLUEBOOK 2
86 #define IPX_RT_ROUTED 1
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 #define SIOCAIPXITFCRT (SIOCPROTOPRIVATE)
90 #define SIOCAIPXPRISLT (SIOCPROTOPRIVATE + 1)
91 #define SIOCIPXCFGDATA (SIOCPROTOPRIVATE + 2)
92 #define SIOCIPXNCPCONN (SIOCPROTOPRIVATE + 3)
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */