Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: rose.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* These are the public elements of the Linux kernel Rose implementation.
[2] Fix | Delete
* For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
[3] Fix | Delete
* definition of the ax25_address structure.
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
#ifndef ROSE_KERNEL_H
[7] Fix | Delete
#define ROSE_KERNEL_H
[8] Fix | Delete
[9] Fix | Delete
#include <linux/socket.h>
[10] Fix | Delete
#include <linux/ax25.h>
[11] Fix | Delete
[12] Fix | Delete
#define ROSE_MTU 251
[13] Fix | Delete
[14] Fix | Delete
#define ROSE_MAX_DIGIS 6
[15] Fix | Delete
[16] Fix | Delete
#define ROSE_DEFER 1
[17] Fix | Delete
#define ROSE_T1 2
[18] Fix | Delete
#define ROSE_T2 3
[19] Fix | Delete
#define ROSE_T3 4
[20] Fix | Delete
#define ROSE_IDLE 5
[21] Fix | Delete
#define ROSE_QBITINCL 6
[22] Fix | Delete
#define ROSE_HOLDBACK 7
[23] Fix | Delete
[24] Fix | Delete
#define SIOCRSGCAUSE (SIOCPROTOPRIVATE+0)
[25] Fix | Delete
#define SIOCRSSCAUSE (SIOCPROTOPRIVATE+1)
[26] Fix | Delete
#define SIOCRSL2CALL (SIOCPROTOPRIVATE+2)
[27] Fix | Delete
#define SIOCRSSL2CALL (SIOCPROTOPRIVATE+2)
[28] Fix | Delete
#define SIOCRSACCEPT (SIOCPROTOPRIVATE+3)
[29] Fix | Delete
#define SIOCRSCLRRT (SIOCPROTOPRIVATE+4)
[30] Fix | Delete
#define SIOCRSGL2CALL (SIOCPROTOPRIVATE+5)
[31] Fix | Delete
#define SIOCRSGFACILITIES (SIOCPROTOPRIVATE+6)
[32] Fix | Delete
[33] Fix | Delete
#define ROSE_DTE_ORIGINATED 0x00
[34] Fix | Delete
#define ROSE_NUMBER_BUSY 0x01
[35] Fix | Delete
#define ROSE_INVALID_FACILITY 0x03
[36] Fix | Delete
#define ROSE_NETWORK_CONGESTION 0x05
[37] Fix | Delete
#define ROSE_OUT_OF_ORDER 0x09
[38] Fix | Delete
#define ROSE_ACCESS_BARRED 0x0B
[39] Fix | Delete
#define ROSE_NOT_OBTAINABLE 0x0D
[40] Fix | Delete
#define ROSE_REMOTE_PROCEDURE 0x11
[41] Fix | Delete
#define ROSE_LOCAL_PROCEDURE 0x13
[42] Fix | Delete
#define ROSE_SHIP_ABSENT 0x39
[43] Fix | Delete
[44] Fix | Delete
typedef struct {
[45] Fix | Delete
char rose_addr[5];
[46] Fix | Delete
} rose_address;
[47] Fix | Delete
[48] Fix | Delete
struct sockaddr_rose {
[49] Fix | Delete
__kernel_sa_family_t srose_family;
[50] Fix | Delete
rose_address srose_addr;
[51] Fix | Delete
ax25_address srose_call;
[52] Fix | Delete
int srose_ndigis;
[53] Fix | Delete
ax25_address srose_digi;
[54] Fix | Delete
};
[55] Fix | Delete
[56] Fix | Delete
struct full_sockaddr_rose {
[57] Fix | Delete
__kernel_sa_family_t srose_family;
[58] Fix | Delete
rose_address srose_addr;
[59] Fix | Delete
ax25_address srose_call;
[60] Fix | Delete
unsigned int srose_ndigis;
[61] Fix | Delete
ax25_address srose_digis[ROSE_MAX_DIGIS];
[62] Fix | Delete
};
[63] Fix | Delete
[64] Fix | Delete
struct rose_route_struct {
[65] Fix | Delete
rose_address address;
[66] Fix | Delete
unsigned short mask;
[67] Fix | Delete
ax25_address neighbour;
[68] Fix | Delete
char device[16];
[69] Fix | Delete
unsigned char ndigis;
[70] Fix | Delete
ax25_address digipeaters[AX25_MAX_DIGIS];
[71] Fix | Delete
};
[72] Fix | Delete
[73] Fix | Delete
struct rose_cause_struct {
[74] Fix | Delete
unsigned char cause;
[75] Fix | Delete
unsigned char diagnostic;
[76] Fix | Delete
};
[77] Fix | Delete
[78] Fix | Delete
struct rose_facilities_struct {
[79] Fix | Delete
rose_address source_addr, dest_addr;
[80] Fix | Delete
ax25_address source_call, dest_call;
[81] Fix | Delete
unsigned char source_ndigis, dest_ndigis;
[82] Fix | Delete
ax25_address source_digis[ROSE_MAX_DIGIS];
[83] Fix | Delete
ax25_address dest_digis[ROSE_MAX_DIGIS];
[84] Fix | Delete
unsigned int rand;
[85] Fix | Delete
rose_address fail_addr;
[86] Fix | Delete
ax25_address fail_call;
[87] Fix | Delete
};
[88] Fix | Delete
[89] Fix | Delete
#endif
[90] Fix | Delete
[91] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function