Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux
File: ipx.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _IPX_H_
[1] Fix | Delete
#define _IPX_H_
[2] Fix | Delete
#include <linux/libc-compat.h> /* for compatibility with glibc netipx/ipx.h */
[3] Fix | Delete
#include <linux/types.h>
[4] Fix | Delete
#include <linux/sockios.h>
[5] Fix | Delete
#include <linux/socket.h>
[6] Fix | Delete
#define IPX_NODE_LEN 6
[7] Fix | Delete
#define IPX_MTU 576
[8] Fix | Delete
[9] Fix | Delete
#if __UAPI_DEF_SOCKADDR_IPX
[10] Fix | Delete
struct sockaddr_ipx {
[11] Fix | Delete
__kernel_sa_family_t sipx_family;
[12] Fix | Delete
__be16 sipx_port;
[13] Fix | Delete
__be32 sipx_network;
[14] Fix | Delete
unsigned char sipx_node[IPX_NODE_LEN];
[15] Fix | Delete
__u8 sipx_type;
[16] Fix | Delete
unsigned char sipx_zero; /* 16 byte fill */
[17] Fix | Delete
};
[18] Fix | Delete
#endif /* __UAPI_DEF_SOCKADDR_IPX */
[19] Fix | Delete
[20] Fix | Delete
/*
[21] Fix | Delete
* So we can fit the extra info for SIOCSIFADDR into the address nicely
[22] Fix | Delete
*/
[23] Fix | Delete
#define sipx_special sipx_port
[24] Fix | Delete
#define sipx_action sipx_zero
[25] Fix | Delete
#define IPX_DLTITF 0
[26] Fix | Delete
#define IPX_CRTITF 1
[27] Fix | Delete
[28] Fix | Delete
#if __UAPI_DEF_IPX_ROUTE_DEFINITION
[29] Fix | Delete
struct ipx_route_definition {
[30] Fix | Delete
__be32 ipx_network;
[31] Fix | Delete
__be32 ipx_router_network;
[32] Fix | Delete
unsigned char ipx_router_node[IPX_NODE_LEN];
[33] Fix | Delete
};
[34] Fix | Delete
#endif /* __UAPI_DEF_IPX_ROUTE_DEFINITION */
[35] Fix | Delete
[36] Fix | Delete
#if __UAPI_DEF_IPX_INTERFACE_DEFINITION
[37] Fix | Delete
struct ipx_interface_definition {
[38] Fix | Delete
__be32 ipx_network;
[39] Fix | Delete
unsigned char ipx_device[16];
[40] Fix | Delete
unsigned char ipx_dlink_type;
[41] Fix | Delete
#define IPX_FRAME_NONE 0
[42] Fix | Delete
#define IPX_FRAME_SNAP 1
[43] Fix | Delete
#define IPX_FRAME_8022 2
[44] Fix | Delete
#define IPX_FRAME_ETHERII 3
[45] Fix | Delete
#define IPX_FRAME_8023 4
[46] Fix | Delete
#define IPX_FRAME_TR_8022 5 /* obsolete */
[47] Fix | Delete
unsigned char ipx_special;
[48] Fix | Delete
#define IPX_SPECIAL_NONE 0
[49] Fix | Delete
#define IPX_PRIMARY 1
[50] Fix | Delete
#define IPX_INTERNAL 2
[51] Fix | Delete
unsigned char ipx_node[IPX_NODE_LEN];
[52] Fix | Delete
};
[53] Fix | Delete
#endif /* __UAPI_DEF_IPX_INTERFACE_DEFINITION */
[54] Fix | Delete
[55] Fix | Delete
#if __UAPI_DEF_IPX_CONFIG_DATA
[56] Fix | Delete
struct ipx_config_data {
[57] Fix | Delete
unsigned char ipxcfg_auto_select_primary;
[58] Fix | Delete
unsigned char ipxcfg_auto_create_interfaces;
[59] Fix | Delete
};
[60] Fix | Delete
#endif /* __UAPI_DEF_IPX_CONFIG_DATA */
[61] Fix | Delete
[62] Fix | Delete
/*
[63] Fix | Delete
* OLD Route Definition for backward compatibility.
[64] Fix | Delete
*/
[65] Fix | Delete
[66] Fix | Delete
#if __UAPI_DEF_IPX_ROUTE_DEF
[67] Fix | Delete
struct ipx_route_def {
[68] Fix | Delete
__be32 ipx_network;
[69] Fix | Delete
__be32 ipx_router_network;
[70] Fix | Delete
#define IPX_ROUTE_NO_ROUTER 0
[71] Fix | Delete
unsigned char ipx_router_node[IPX_NODE_LEN];
[72] Fix | Delete
unsigned char ipx_device[16];
[73] Fix | Delete
unsigned short ipx_flags;
[74] Fix | Delete
#define IPX_RT_SNAP 8
[75] Fix | Delete
#define IPX_RT_8022 4
[76] Fix | Delete
#define IPX_RT_BLUEBOOK 2
[77] Fix | Delete
#define IPX_RT_ROUTED 1
[78] Fix | Delete
};
[79] Fix | Delete
#endif /* __UAPI_DEF_IPX_ROUTE_DEF */
[80] Fix | Delete
[81] Fix | Delete
#define SIOCAIPXITFCRT (SIOCPROTOPRIVATE)
[82] Fix | Delete
#define SIOCAIPXPRISLT (SIOCPROTOPRIVATE + 1)
[83] Fix | Delete
#define SIOCIPXCFGDATA (SIOCPROTOPRIVATE + 2)
[84] Fix | Delete
#define SIOCIPXNCPCONN (SIOCPROTOPRIVATE + 3)
[85] Fix | Delete
#endif /* _IPX_H_ */
[86] Fix | Delete
[87] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function