root/include/uapi/linux/netrom.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2 /*
   3  * These are the public elements of the Linux kernel NET/ROM implementation.
   4  * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
   5  * definition of the ax25_address structure.
   6  */
   7 
   8 #ifndef NETROM_KERNEL_H
   9 #define NETROM_KERNEL_H
  10 
  11 #include <linux/ax25.h>
  12 
  13 #define NETROM_MTU      236
  14 
  15 #define NETROM_T1       1
  16 #define NETROM_T2       2
  17 #define NETROM_N2       3
  18 #define NETROM_T4       6
  19 #define NETROM_IDLE     7
  20 
  21 #define SIOCNRDECOBS            (SIOCPROTOPRIVATE+2)
  22 
  23 struct nr_route_struct {
  24 #define NETROM_NEIGH    0
  25 #define NETROM_NODE     1
  26         int             type;
  27         ax25_address    callsign;
  28         char            device[16];
  29         unsigned int    quality;
  30         char            mnemonic[7];
  31         ax25_address    neighbour;
  32         unsigned int    obs_count;
  33         unsigned int    ndigis;
  34         ax25_address    digipeaters[AX25_MAX_DIGIS];
  35 };
  36 
  37 #endif

/* [<][>][^][v][top][bottom][index][help] */