38 lines · c
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 the5 * definition of the ax25_address structure.6 */7 8#ifndef NETROM_KERNEL_H9#define NETROM_KERNEL_H10 11#include <linux/ax25.h>12 13#define NETROM_MTU 23614 15#define NETROM_T1 116#define NETROM_T2 217#define NETROM_N2 318#define NETROM_T4 619#define NETROM_IDLE 720 21#define SIOCNRDECOBS (SIOCPROTOPRIVATE+2)22 23struct nr_route_struct {24#define NETROM_NEIGH 025#define NETROM_NODE 126 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#endif38