Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/netrose
File: rose.h
/* Definitions for Rose packet radio address family.
[0] Fix | Delete
Copyright (C) 1998-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
/* What follows is copied from the 2.1.93 <linux/rose.h>. */
[18] Fix | Delete
[19] Fix | Delete
#ifndef _NETROSE_ROSE_H
[20] Fix | Delete
#define _NETROSE_ROSE_H 1
[21] Fix | Delete
[22] Fix | Delete
#include <sys/socket.h>
[23] Fix | Delete
#include <netax25/ax25.h>
[24] Fix | Delete
[25] Fix | Delete
/* Socket level values. */
[26] Fix | Delete
#define SOL_ROSE 260
[27] Fix | Delete
[28] Fix | Delete
[29] Fix | Delete
/* These are the public elements of the Linux kernel Rose
[30] Fix | Delete
implementation. For kernel AX.25 see the file ax25.h. This file
[31] Fix | Delete
requires ax25.h for the definition of the ax25_address structure. */
[32] Fix | Delete
#define ROSE_MTU 251
[33] Fix | Delete
[34] Fix | Delete
#define ROSE_MAX_DIGIS 6
[35] Fix | Delete
[36] Fix | Delete
#define ROSE_DEFER 1
[37] Fix | Delete
#define ROSE_T1 2
[38] Fix | Delete
#define ROSE_T2 3
[39] Fix | Delete
#define ROSE_T3 4
[40] Fix | Delete
#define ROSE_IDLE 5
[41] Fix | Delete
#define ROSE_QBITINCL 6
[42] Fix | Delete
#define ROSE_HOLDBACK 7
[43] Fix | Delete
[44] Fix | Delete
#define SIOCRSGCAUSE (SIOCPROTOPRIVATE + 0)
[45] Fix | Delete
#define SIOCRSSCAUSE (SIOCPROTOPRIVATE + 1)
[46] Fix | Delete
#define SIOCRSL2CALL (SIOCPROTOPRIVATE + 2)
[47] Fix | Delete
#define SIOCRSSL2CALL (SIOCPROTOPRIVATE + 2)
[48] Fix | Delete
#define SIOCRSACCEPT (SIOCPROTOPRIVATE + 3)
[49] Fix | Delete
#define SIOCRSCLRRT (SIOCPROTOPRIVATE + 4)
[50] Fix | Delete
#define SIOCRSGL2CALL (SIOCPROTOPRIVATE + 5)
[51] Fix | Delete
#define SIOCRSGFACILITIES (SIOCPROTOPRIVATE + 6)
[52] Fix | Delete
[53] Fix | Delete
#define ROSE_DTE_ORIGINATED 0x00
[54] Fix | Delete
#define ROSE_NUMBER_BUSY 0x01
[55] Fix | Delete
#define ROSE_INVALID_FACILITY 0x03
[56] Fix | Delete
#define ROSE_NETWORK_CONGESTION 0x05
[57] Fix | Delete
#define ROSE_OUT_OF_ORDER 0x09
[58] Fix | Delete
#define ROSE_ACCESS_BARRED 0x0B
[59] Fix | Delete
#define ROSE_NOT_OBTAINABLE 0x0D
[60] Fix | Delete
#define ROSE_REMOTE_PROCEDURE 0x11
[61] Fix | Delete
#define ROSE_LOCAL_PROCEDURE 0x13
[62] Fix | Delete
#define ROSE_SHIP_ABSENT 0x39
[63] Fix | Delete
[64] Fix | Delete
[65] Fix | Delete
typedef struct
[66] Fix | Delete
{
[67] Fix | Delete
char rose_addr[5];
[68] Fix | Delete
} rose_address;
[69] Fix | Delete
[70] Fix | Delete
struct sockaddr_rose
[71] Fix | Delete
{
[72] Fix | Delete
sa_family_t srose_family;
[73] Fix | Delete
rose_address srose_addr;
[74] Fix | Delete
ax25_address srose_call;
[75] Fix | Delete
int srose_ndigis;
[76] Fix | Delete
ax25_address srose_digi;
[77] Fix | Delete
};
[78] Fix | Delete
[79] Fix | Delete
struct full_sockaddr_rose
[80] Fix | Delete
{
[81] Fix | Delete
sa_family_t srose_family;
[82] Fix | Delete
rose_address srose_addr;
[83] Fix | Delete
ax25_address srose_call;
[84] Fix | Delete
unsigned int srose_ndigis;
[85] Fix | Delete
ax25_address srose_digis[ROSE_MAX_DIGIS];
[86] Fix | Delete
};
[87] Fix | Delete
[88] Fix | Delete
struct rose_route_struct
[89] Fix | Delete
{
[90] Fix | Delete
rose_address address;
[91] Fix | Delete
unsigned short int mask;
[92] Fix | Delete
ax25_address neighbour;
[93] Fix | Delete
char device[16];
[94] Fix | Delete
unsigned char ndigis;
[95] Fix | Delete
ax25_address digipeaters[AX25_MAX_DIGIS];
[96] Fix | Delete
};
[97] Fix | Delete
[98] Fix | Delete
struct rose_cause_struct
[99] Fix | Delete
{
[100] Fix | Delete
unsigned char cause;
[101] Fix | Delete
unsigned char diagnostic;
[102] Fix | Delete
};
[103] Fix | Delete
[104] Fix | Delete
struct rose_facilities_struct
[105] Fix | Delete
{
[106] Fix | Delete
rose_address source_addr, dest_addr;
[107] Fix | Delete
ax25_address source_call, dest_call;
[108] Fix | Delete
unsigned char source_ndigis, dest_ndigis;
[109] Fix | Delete
ax25_address source_digis[ROSE_MAX_DIGIS];
[110] Fix | Delete
ax25_address dest_digis[ROSE_MAX_DIGIS];
[111] Fix | Delete
unsigned int rand;
[112] Fix | Delete
rose_address fail_addr;
[113] Fix | Delete
ax25_address fail_call;
[114] Fix | Delete
};
[115] Fix | Delete
[116] Fix | Delete
#endif /* netrose/rose.h */
[117] Fix | Delete
[118] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function