1 #define PF_NETROM AF_NETROM 2 #define NETROM_MTU 236 3 4 #define NETROM_T1 1 5 #define NETROM_T2 2 6 #define NETROM_N2 3 7 #define NETROM_HDRINCL 4 8 #define NETROM_PACLEN 5 9 10 #define NETROM_KILL 99 11 12 #define SIOCNRGETPARMS (SIOCPROTOPRIVATE+0) 13 #define SIOCNRSETPARMS (SIOCPROTOPRIVATE+1) 14 #define SIOCNRDECOBS (SIOCPROTOPRIVATE+2) 15 #define SIOCNRRTCTL (SIOCPROTOPRIVATE+3) 16 #define SIOCNRCTLCON (SIOCPROTOPRIVATE+4) 17 18 struct nr_route_struct { 19 #define NETROM_NEIGH 0 20 #define NETROM_NODE 1 21 int type; 22 ax25_address callsign; 23 char device[16]; 24 unsigned int quality; 25 char mnemonic[7]; 26 ax25_address neighbour; 27 unsigned int obs_count; 28 }; 29 30 struct nr_parms_struct { 31 unsigned int quality; 32 unsigned int obs_count; 33 unsigned int ttl; 34 unsigned int timeout; 35 unsigned int ack_delay; 36 unsigned int busy_delay; 37 unsigned int tries; 38 unsigned int window; 39 unsigned int paclen; 40 }; 41 42 struct nr_ctl_struct { 43 unsigned char index; 44 unsigned char id; 45 unsigned int cmd; 46 unsigned long arg; 47 };