OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [linux-headers/] [include/] [linux/] [netrom.h] - Blame information for rev 13

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.