Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: ax25.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 AX.25 code. A similar
[2] Fix | Delete
* file netrom.h exists for the NET/ROM protocol.
[3] Fix | Delete
*/
[4] Fix | Delete
[5] Fix | Delete
#ifndef AX25_KERNEL_H
[6] Fix | Delete
#define AX25_KERNEL_H
[7] Fix | Delete
[8] Fix | Delete
#include <linux/socket.h>
[9] Fix | Delete
[10] Fix | Delete
#define AX25_MTU 256
[11] Fix | Delete
#define AX25_MAX_DIGIS 8
[12] Fix | Delete
[13] Fix | Delete
#define AX25_WINDOW 1
[14] Fix | Delete
#define AX25_T1 2
[15] Fix | Delete
#define AX25_N2 3
[16] Fix | Delete
#define AX25_T3 4
[17] Fix | Delete
#define AX25_T2 5
[18] Fix | Delete
#define AX25_BACKOFF 6
[19] Fix | Delete
#define AX25_EXTSEQ 7
[20] Fix | Delete
#define AX25_PIDINCL 8
[21] Fix | Delete
#define AX25_IDLE 9
[22] Fix | Delete
#define AX25_PACLEN 10
[23] Fix | Delete
#define AX25_IAMDIGI 12
[24] Fix | Delete
[25] Fix | Delete
#define AX25_KILL 99
[26] Fix | Delete
[27] Fix | Delete
#define SIOCAX25GETUID (SIOCPROTOPRIVATE+0)
[28] Fix | Delete
#define SIOCAX25ADDUID (SIOCPROTOPRIVATE+1)
[29] Fix | Delete
#define SIOCAX25DELUID (SIOCPROTOPRIVATE+2)
[30] Fix | Delete
#define SIOCAX25NOUID (SIOCPROTOPRIVATE+3)
[31] Fix | Delete
#define SIOCAX25OPTRT (SIOCPROTOPRIVATE+7)
[32] Fix | Delete
#define SIOCAX25CTLCON (SIOCPROTOPRIVATE+8)
[33] Fix | Delete
#define SIOCAX25GETINFOOLD (SIOCPROTOPRIVATE+9)
[34] Fix | Delete
#define SIOCAX25ADDFWD (SIOCPROTOPRIVATE+10)
[35] Fix | Delete
#define SIOCAX25DELFWD (SIOCPROTOPRIVATE+11)
[36] Fix | Delete
#define SIOCAX25DEVCTL (SIOCPROTOPRIVATE+12)
[37] Fix | Delete
#define SIOCAX25GETINFO (SIOCPROTOPRIVATE+13)
[38] Fix | Delete
[39] Fix | Delete
#define AX25_SET_RT_IPMODE 2
[40] Fix | Delete
[41] Fix | Delete
#define AX25_NOUID_DEFAULT 0
[42] Fix | Delete
#define AX25_NOUID_BLOCK 1
[43] Fix | Delete
[44] Fix | Delete
typedef struct {
[45] Fix | Delete
char ax25_call[7]; /* 6 call + SSID (shifted ascii!) */
[46] Fix | Delete
} ax25_address;
[47] Fix | Delete
[48] Fix | Delete
struct sockaddr_ax25 {
[49] Fix | Delete
__kernel_sa_family_t sax25_family;
[50] Fix | Delete
ax25_address sax25_call;
[51] Fix | Delete
int sax25_ndigis;
[52] Fix | Delete
/* Digipeater ax25_address sets follow */
[53] Fix | Delete
};
[54] Fix | Delete
[55] Fix | Delete
#define sax25_uid sax25_ndigis
[56] Fix | Delete
[57] Fix | Delete
struct full_sockaddr_ax25 {
[58] Fix | Delete
struct sockaddr_ax25 fsa_ax25;
[59] Fix | Delete
ax25_address fsa_digipeater[AX25_MAX_DIGIS];
[60] Fix | Delete
};
[61] Fix | Delete
[62] Fix | Delete
struct ax25_routes_struct {
[63] Fix | Delete
ax25_address port_addr;
[64] Fix | Delete
ax25_address dest_addr;
[65] Fix | Delete
unsigned char digi_count;
[66] Fix | Delete
ax25_address digi_addr[AX25_MAX_DIGIS];
[67] Fix | Delete
};
[68] Fix | Delete
[69] Fix | Delete
struct ax25_route_opt_struct {
[70] Fix | Delete
ax25_address port_addr;
[71] Fix | Delete
ax25_address dest_addr;
[72] Fix | Delete
int cmd;
[73] Fix | Delete
int arg;
[74] Fix | Delete
};
[75] Fix | Delete
[76] Fix | Delete
struct ax25_ctl_struct {
[77] Fix | Delete
ax25_address port_addr;
[78] Fix | Delete
ax25_address source_addr;
[79] Fix | Delete
ax25_address dest_addr;
[80] Fix | Delete
unsigned int cmd;
[81] Fix | Delete
unsigned long arg;
[82] Fix | Delete
unsigned char digi_count;
[83] Fix | Delete
ax25_address digi_addr[AX25_MAX_DIGIS];
[84] Fix | Delete
};
[85] Fix | Delete
[86] Fix | Delete
/* this will go away. Please do not export to user land */
[87] Fix | Delete
struct ax25_info_struct_deprecated {
[88] Fix | Delete
unsigned int n2, n2count;
[89] Fix | Delete
unsigned int t1, t1timer;
[90] Fix | Delete
unsigned int t2, t2timer;
[91] Fix | Delete
unsigned int t3, t3timer;
[92] Fix | Delete
unsigned int idle, idletimer;
[93] Fix | Delete
unsigned int state;
[94] Fix | Delete
unsigned int rcv_q, snd_q;
[95] Fix | Delete
};
[96] Fix | Delete
[97] Fix | Delete
struct ax25_info_struct {
[98] Fix | Delete
unsigned int n2, n2count;
[99] Fix | Delete
unsigned int t1, t1timer;
[100] Fix | Delete
unsigned int t2, t2timer;
[101] Fix | Delete
unsigned int t3, t3timer;
[102] Fix | Delete
unsigned int idle, idletimer;
[103] Fix | Delete
unsigned int state;
[104] Fix | Delete
unsigned int rcv_q, snd_q;
[105] Fix | Delete
unsigned int vs, vr, va, vs_max;
[106] Fix | Delete
unsigned int paclen;
[107] Fix | Delete
unsigned int window;
[108] Fix | Delete
};
[109] Fix | Delete
[110] Fix | Delete
struct ax25_fwd_struct {
[111] Fix | Delete
ax25_address port_from;
[112] Fix | Delete
ax25_address port_to;
[113] Fix | Delete
};
[114] Fix | Delete
[115] Fix | Delete
#endif
[116] Fix | Delete
[117] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function