OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [include/] [linux/] [netrom.h] - Blame information for rev 199

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
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
#define NETROM_MTU      236
11
 
12
#define NETROM_T1       1
13
#define NETROM_T2       2
14
#define NETROM_N2       3
15
#define NETROM_T4       6
16
#define NETROM_IDLE     7
17
 
18
#define SIOCNRDECOBS            (SIOCPROTOPRIVATE+2)
19
 
20
struct nr_route_struct {
21
#define NETROM_NEIGH    0
22
#define NETROM_NODE     1
23
        int             type;
24
        ax25_address    callsign;
25
        char            device[16];
26
        unsigned int    quality;
27
        char            mnemonic[7];
28
        ax25_address    neighbour;
29
        unsigned int    obs_count;
30
        unsigned int    ndigis;
31
        ax25_address    digipeaters[AX25_MAX_DIGIS];
32
};
33
 
34
#endif

powered by: WebSVN 2.1.0

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