~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/rose.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/rose.h (Version linux-6.12-rc7) and /include/uapi/linux/rose.h (Version linux-3.10.108)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux << 
  2 /*                                                  1 /*
  3  * These are the public elements of the Linux       2  * These are the public elements of the Linux kernel Rose implementation.
  4  * For kernel AX.25 see the file ax25.h. This       3  * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
  5  * definition of the ax25_address structure.        4  * definition of the ax25_address structure.
  6  */                                                 5  */
  7                                                     6 
  8 #ifndef ROSE_KERNEL_H                               7 #ifndef ROSE_KERNEL_H
  9 #define ROSE_KERNEL_H                               8 #define ROSE_KERNEL_H
 10                                                     9 
 11 #include <linux/socket.h>                          10 #include <linux/socket.h>
 12 #include <linux/ax25.h>                            11 #include <linux/ax25.h>
 13                                                    12 
 14 #define ROSE_MTU        251                        13 #define ROSE_MTU        251
 15                                                    14 
 16 #define ROSE_MAX_DIGIS 6                           15 #define ROSE_MAX_DIGIS 6
 17                                                    16 
 18 #define ROSE_DEFER      1                          17 #define ROSE_DEFER      1
 19 #define ROSE_T1         2                          18 #define ROSE_T1         2
 20 #define ROSE_T2         3                          19 #define ROSE_T2         3
 21 #define ROSE_T3         4                          20 #define ROSE_T3         4
 22 #define ROSE_IDLE       5                          21 #define ROSE_IDLE       5
 23 #define ROSE_QBITINCL   6                          22 #define ROSE_QBITINCL   6
 24 #define ROSE_HOLDBACK   7                          23 #define ROSE_HOLDBACK   7
 25                                                    24 
 26 #define SIOCRSGCAUSE            (SIOCPROTOPRIV     25 #define SIOCRSGCAUSE            (SIOCPROTOPRIVATE+0)
 27 #define SIOCRSSCAUSE            (SIOCPROTOPRIV     26 #define SIOCRSSCAUSE            (SIOCPROTOPRIVATE+1)
 28 #define SIOCRSL2CALL            (SIOCPROTOPRIV     27 #define SIOCRSL2CALL            (SIOCPROTOPRIVATE+2)
 29 #define SIOCRSSL2CALL           (SIOCPROTOPRIV     28 #define SIOCRSSL2CALL           (SIOCPROTOPRIVATE+2)
 30 #define SIOCRSACCEPT            (SIOCPROTOPRIV     29 #define SIOCRSACCEPT            (SIOCPROTOPRIVATE+3)
 31 #define SIOCRSCLRRT             (SIOCPROTOPRIV     30 #define SIOCRSCLRRT             (SIOCPROTOPRIVATE+4)
 32 #define SIOCRSGL2CALL           (SIOCPROTOPRIV     31 #define SIOCRSGL2CALL           (SIOCPROTOPRIVATE+5)
 33 #define SIOCRSGFACILITIES       (SIOCPROTOPRIV     32 #define SIOCRSGFACILITIES       (SIOCPROTOPRIVATE+6)
 34                                                    33 
 35 #define ROSE_DTE_ORIGINATED     0x00               34 #define ROSE_DTE_ORIGINATED     0x00
 36 #define ROSE_NUMBER_BUSY        0x01               35 #define ROSE_NUMBER_BUSY        0x01
 37 #define ROSE_INVALID_FACILITY   0x03               36 #define ROSE_INVALID_FACILITY   0x03
 38 #define ROSE_NETWORK_CONGESTION 0x05               37 #define ROSE_NETWORK_CONGESTION 0x05
 39 #define ROSE_OUT_OF_ORDER       0x09               38 #define ROSE_OUT_OF_ORDER       0x09
 40 #define ROSE_ACCESS_BARRED      0x0B               39 #define ROSE_ACCESS_BARRED      0x0B
 41 #define ROSE_NOT_OBTAINABLE     0x0D               40 #define ROSE_NOT_OBTAINABLE     0x0D
 42 #define ROSE_REMOTE_PROCEDURE   0x11               41 #define ROSE_REMOTE_PROCEDURE   0x11
 43 #define ROSE_LOCAL_PROCEDURE    0x13               42 #define ROSE_LOCAL_PROCEDURE    0x13
 44 #define ROSE_SHIP_ABSENT        0x39               43 #define ROSE_SHIP_ABSENT        0x39
 45                                                    44 
 46 typedef struct {                                   45 typedef struct {
 47         char            rose_addr[5];              46         char            rose_addr[5];
 48 } rose_address;                                    47 } rose_address;
 49                                                    48 
 50 struct sockaddr_rose {                             49 struct sockaddr_rose {
 51         __kernel_sa_family_t srose_family;         50         __kernel_sa_family_t srose_family;
 52         rose_address    srose_addr;                51         rose_address    srose_addr;
 53         ax25_address    srose_call;                52         ax25_address    srose_call;
 54         int             srose_ndigis;              53         int             srose_ndigis;
 55         ax25_address    srose_digi;                54         ax25_address    srose_digi;
 56 };                                                 55 };
 57                                                    56 
 58 struct full_sockaddr_rose {                        57 struct full_sockaddr_rose {
 59         __kernel_sa_family_t srose_family;         58         __kernel_sa_family_t srose_family;
 60         rose_address    srose_addr;                59         rose_address    srose_addr;
 61         ax25_address    srose_call;                60         ax25_address    srose_call;
 62         unsigned int    srose_ndigis;              61         unsigned int    srose_ndigis;
 63         ax25_address    srose_digis[ROSE_MAX_D     62         ax25_address    srose_digis[ROSE_MAX_DIGIS];
 64 };                                                 63 };
 65                                                    64 
 66 struct rose_route_struct {                         65 struct rose_route_struct {
 67         rose_address    address;                   66         rose_address    address;
 68         unsigned short  mask;                      67         unsigned short  mask;
 69         ax25_address    neighbour;                 68         ax25_address    neighbour;
 70         char            device[16];                69         char            device[16];
 71         unsigned char   ndigis;                    70         unsigned char   ndigis;
 72         ax25_address    digipeaters[AX25_MAX_D     71         ax25_address    digipeaters[AX25_MAX_DIGIS];
 73 };                                                 72 };
 74                                                    73 
 75 struct rose_cause_struct {                         74 struct rose_cause_struct {
 76         unsigned char   cause;                     75         unsigned char   cause;
 77         unsigned char   diagnostic;                76         unsigned char   diagnostic;
 78 };                                                 77 };
 79                                                    78 
 80 struct rose_facilities_struct {                    79 struct rose_facilities_struct {
 81         rose_address    source_addr,   dest_ad     80         rose_address    source_addr,   dest_addr;
 82         ax25_address    source_call,   dest_ca     81         ax25_address    source_call,   dest_call;
 83         unsigned char   source_ndigis, dest_nd     82         unsigned char   source_ndigis, dest_ndigis;
 84         ax25_address    source_digis[ROSE_MAX_     83         ax25_address    source_digis[ROSE_MAX_DIGIS];
 85         ax25_address    dest_digis[ROSE_MAX_DI     84         ax25_address    dest_digis[ROSE_MAX_DIGIS];
 86         unsigned int    rand;                      85         unsigned int    rand;
 87         rose_address    fail_addr;                 86         rose_address    fail_addr;
 88         ax25_address    fail_call;                 87         ax25_address    fail_call;
 89 };                                                 88 };
 90                                                    89 
 91 #endif                                             90 #endif
 92                                                    91 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php