diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-04-29 21:13:14 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1997-04-29 21:13:14 +0000 |
commit | 19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch) | |
tree | 40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/linux/rose.h | |
parent | 7206675c40394c78a90e74812bbdbf8cf3cca1be (diff) |
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/linux/rose.h')
-rw-r--r-- | include/linux/rose.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/include/linux/rose.h b/include/linux/rose.h index ca69e1e8b..c38788c7e 100644 --- a/include/linux/rose.h +++ b/include/linux/rose.h @@ -3,26 +3,27 @@ * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the * definition of the ax25_address structure. */ - + #ifndef ROSE_KERNEL_H #define ROSE_KERNEL_H #define PF_ROSE AF_ROSE #define ROSE_MTU 128 -#define ROSE_T0 1 #define ROSE_T1 2 #define ROSE_T2 3 #define ROSE_T3 4 #define ROSE_IDLE 5 #define ROSE_HDRINCL 6 +#define ROSE_HOLDBACK 7 #define ROSE_KILL 99 -#define SIOCRSCTLCON (SIOCPROTOPRIVATE+0) +#define SIOCRSCTLCON (SIOCPROTOPRIVATE+1) +#define SIOCRSL2CALL (SIOCPROTOPRIVATE+2) typedef struct { - char rose_addr[5]; + char rose_addr[5]; } rose_address; struct sockaddr_rose { @@ -34,18 +35,19 @@ struct sockaddr_rose { }; struct rose_route_struct { - rose_address address; - ax25_address neighbour; - char device[16]; - unsigned char ndigis; - ax25_address digipeaters[AX25_MAX_DIGIS]; + rose_address address; + unsigned short mask; + ax25_address neighbour; + char device[16]; + unsigned char ndigis; + ax25_address digipeaters[AX25_MAX_DIGIS]; }; struct rose_ctl_struct { - unsigned int lci; - char dev[20]; - unsigned int cmd; - unsigned long arg; + unsigned int lci; + char dev[20]; + unsigned int cmd; + unsigned long arg; }; #endif |