Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/netipx
File: ipx.h
/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef __NETIPX_IPX_H
[17] Fix | Delete
#define __NETIPX_IPX_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <sys/types.h>
[20] Fix | Delete
#include <stdint.h>
[21] Fix | Delete
#include <bits/sockaddr.h>
[22] Fix | Delete
[23] Fix | Delete
__BEGIN_DECLS
[24] Fix | Delete
[25] Fix | Delete
#define SOL_IPX 256 /* sockopt level */
[26] Fix | Delete
[27] Fix | Delete
#define IPX_TYPE 1
[28] Fix | Delete
#define IPX_NODE_LEN 6
[29] Fix | Delete
#define IPX_MTU 576
[30] Fix | Delete
[31] Fix | Delete
struct sockaddr_ipx
[32] Fix | Delete
{
[33] Fix | Delete
sa_family_t sipx_family;
[34] Fix | Delete
uint16_t sipx_port;
[35] Fix | Delete
uint32_t sipx_network;
[36] Fix | Delete
unsigned char sipx_node[IPX_NODE_LEN];
[37] Fix | Delete
uint8_t sipx_type;
[38] Fix | Delete
unsigned char sipx_zero; /* 16 byte fill */
[39] Fix | Delete
};
[40] Fix | Delete
[41] Fix | Delete
/*
[42] Fix | Delete
* So we can fit the extra info for SIOCSIFADDR into the address nicely
[43] Fix | Delete
*/
[44] Fix | Delete
[45] Fix | Delete
#define sipx_special sipx_port
[46] Fix | Delete
#define sipx_action sipx_zero
[47] Fix | Delete
#define IPX_DLTITF 0
[48] Fix | Delete
#define IPX_CRTITF 1
[49] Fix | Delete
[50] Fix | Delete
typedef struct ipx_route_definition
[51] Fix | Delete
{
[52] Fix | Delete
unsigned long ipx_network;
[53] Fix | Delete
unsigned long ipx_router_network;
[54] Fix | Delete
unsigned char ipx_router_node[IPX_NODE_LEN];
[55] Fix | Delete
}
[56] Fix | Delete
ipx_route_definition;
[57] Fix | Delete
[58] Fix | Delete
typedef struct ipx_interface_definition
[59] Fix | Delete
{
[60] Fix | Delete
unsigned long ipx_network;
[61] Fix | Delete
unsigned char ipx_device[16];
[62] Fix | Delete
unsigned char ipx_dlink_type;
[63] Fix | Delete
#define IPX_FRAME_NONE 0
[64] Fix | Delete
#define IPX_FRAME_SNAP 1
[65] Fix | Delete
#define IPX_FRAME_8022 2
[66] Fix | Delete
#define IPX_FRAME_ETHERII 3
[67] Fix | Delete
#define IPX_FRAME_8023 4
[68] Fix | Delete
#define IPX_FRAME_TR_8022 5
[69] Fix | Delete
unsigned char ipx_special;
[70] Fix | Delete
#define IPX_SPECIAL_NONE 0
[71] Fix | Delete
#define IPX_PRIMARY 1
[72] Fix | Delete
#define IPX_INTERNAL 2
[73] Fix | Delete
unsigned char ipx_node[IPX_NODE_LEN];
[74] Fix | Delete
}
[75] Fix | Delete
ipx_interface_definition;
[76] Fix | Delete
[77] Fix | Delete
typedef struct ipx_config_data
[78] Fix | Delete
{
[79] Fix | Delete
unsigned char ipxcfg_auto_select_primary;
[80] Fix | Delete
unsigned char ipxcfg_auto_create_interfaces;
[81] Fix | Delete
}
[82] Fix | Delete
ipx_config_data;
[83] Fix | Delete
[84] Fix | Delete
/*
[85] Fix | Delete
* OLD Route Definition for backward compatibility.
[86] Fix | Delete
*/
[87] Fix | Delete
[88] Fix | Delete
struct ipx_route_def
[89] Fix | Delete
{
[90] Fix | Delete
unsigned long ipx_network;
[91] Fix | Delete
unsigned long ipx_router_network;
[92] Fix | Delete
#define IPX_ROUTE_NO_ROUTER 0
[93] Fix | Delete
unsigned char ipx_router_node[IPX_NODE_LEN];
[94] Fix | Delete
unsigned char ipx_device[16];
[95] Fix | Delete
unsigned short ipx_flags;
[96] Fix | Delete
#define IPX_RT_SNAP 8
[97] Fix | Delete
#define IPX_RT_8022 4
[98] Fix | Delete
#define IPX_RT_BLUEBOOK 2
[99] Fix | Delete
#define IPX_RT_ROUTED 1
[100] Fix | Delete
};
[101] Fix | Delete
[102] Fix | Delete
#define SIOCAIPXITFCRT (SIOCPROTOPRIVATE)
[103] Fix | Delete
#define SIOCAIPXPRISLT (SIOCPROTOPRIVATE + 1)
[104] Fix | Delete
#define SIOCIPXCFGDATA (SIOCPROTOPRIVATE + 2)
[105] Fix | Delete
#define SIOCIPXNCPCONN (SIOCPROTOPRIVATE + 3)
[106] Fix | Delete
[107] Fix | Delete
__END_DECLS
[108] Fix | Delete
[109] Fix | Delete
#endif /* netipx/ipx.h */
[110] Fix | Delete
[111] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function