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 9 #define SIOCNRGETPARMS (SIOCPROTOPRIVATE+0) 10 #define SIOCNRSETPARMS (SIOCPROTOPRIVATE+1) 11 #define SIOCNRDECOBS (SIOCPROTOPRIVATE+2) 12 #define SIOCNRRTCTL (SIOCPROTOPRIVATE+3) 13 14 struct nr_route_struct { 15 #define NETROM_NEIGH 0 16 #define NETROM_NODE 1 17 int type; 18 ax25_address callsign; 19 char device[16]; 20 unsigned int quality; 21 char mnemonic[7]; 22 ax25_address neighbour; 23 unsigned int obs_count; 24 }; 25 26 struct nr_parms_struct { 27 unsigned int quality; 28 unsigned int obs_count; 29 unsigned int ttl; 30 unsigned int timeout; 31 unsigned int ack_delay; 32 unsigned int busy_delay; 33 unsigned int tries; 34 unsigned int window; 35 };