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