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

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

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/atmlec.h (Architecture alpha) and /include/uapi/linux/atmlec.h (Architecture mips)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2 /*                                                  2 /*
  3  * ATM Lan Emulation Daemon driver interface        3  * ATM Lan Emulation Daemon driver interface
  4  *                                                  4  *
  5  * Marko Kiiskila <mkiiskila@yahoo.com>             5  * Marko Kiiskila <mkiiskila@yahoo.com>
  6  */                                                 6  */
  7                                                     7 
  8 #ifndef _ATMLEC_H_                                  8 #ifndef _ATMLEC_H_
  9 #define _ATMLEC_H_                                  9 #define _ATMLEC_H_
 10                                                    10 
 11 #include <linux/atmapi.h>                          11 #include <linux/atmapi.h>
 12 #include <linux/atmioc.h>                          12 #include <linux/atmioc.h>
 13 #include <linux/atm.h>                             13 #include <linux/atm.h>
 14 #include <linux/if_ether.h>                        14 #include <linux/if_ether.h>
 15 #include <linux/types.h>                           15 #include <linux/types.h>
 16                                                    16 
 17 /* ATM lec daemon control socket */                17 /* ATM lec daemon control socket */
 18 #define ATMLEC_CTRL     _IO('a', ATMIOC_LANE)      18 #define ATMLEC_CTRL     _IO('a', ATMIOC_LANE)
 19 #define ATMLEC_DATA     _IO('a', ATMIOC_LANE+1     19 #define ATMLEC_DATA     _IO('a', ATMIOC_LANE+1)
 20 #define ATMLEC_MCAST    _IO('a', ATMIOC_LANE+2     20 #define ATMLEC_MCAST    _IO('a', ATMIOC_LANE+2)
 21                                                    21 
 22 /* Maximum number of LEC interfaces (tweakable     22 /* Maximum number of LEC interfaces (tweakable) */
 23 #define MAX_LEC_ITF 48                             23 #define MAX_LEC_ITF 48
 24                                                    24 
 25 typedef enum {                                     25 typedef enum {
 26         l_set_mac_addr,                            26         l_set_mac_addr,
 27         l_del_mac_addr,                            27         l_del_mac_addr,
 28         l_svc_setup,                               28         l_svc_setup,
 29         l_addr_delete,                             29         l_addr_delete,
 30         l_topology_change,                         30         l_topology_change,
 31         l_flush_complete,                          31         l_flush_complete,
 32         l_arp_update,                              32         l_arp_update,
 33         l_narp_req,             /* LANE2 manda     33         l_narp_req,             /* LANE2 mandates the use of this */
 34         l_config,                                  34         l_config,
 35         l_flush_tran_id,                           35         l_flush_tran_id,
 36         l_set_lecid,                               36         l_set_lecid,
 37         l_arp_xmt,                                 37         l_arp_xmt,
 38         l_rdesc_arp_xmt,                           38         l_rdesc_arp_xmt,
 39         l_associate_req,                           39         l_associate_req,
 40         l_should_bridge         /* should we b     40         l_should_bridge         /* should we bridge this MAC? */
 41 } atmlec_msg_type;                                 41 } atmlec_msg_type;
 42                                                    42 
 43 #define ATMLEC_MSG_TYPE_MAX l_should_bridge        43 #define ATMLEC_MSG_TYPE_MAX l_should_bridge
 44                                                    44 
 45 struct atmlec_config_msg {                         45 struct atmlec_config_msg {
 46         unsigned int maximum_unknown_frame_cou     46         unsigned int maximum_unknown_frame_count;
 47         unsigned int max_unknown_frame_time;       47         unsigned int max_unknown_frame_time;
 48         unsigned short max_retry_count;            48         unsigned short max_retry_count;
 49         unsigned int aging_time;                   49         unsigned int aging_time;
 50         unsigned int forward_delay_time;           50         unsigned int forward_delay_time;
 51         unsigned int arp_response_time;            51         unsigned int arp_response_time;
 52         unsigned int flush_timeout;                52         unsigned int flush_timeout;
 53         unsigned int path_switching_delay;         53         unsigned int path_switching_delay;
 54         unsigned int lane_version;      /* LAN     54         unsigned int lane_version;      /* LANE2: 1 for LANEv1, 2 for LANEv2 */
 55         int mtu;                                   55         int mtu;
 56         int is_proxy;                              56         int is_proxy;
 57 };                                                 57 };
 58                                                    58 
 59 struct atmlec_msg {                                59 struct atmlec_msg {
 60         atmlec_msg_type type;                      60         atmlec_msg_type type;
 61         int sizeoftlvs;         /* LANE2: if !     61         int sizeoftlvs;         /* LANE2: if != 0, tlvs follow */
 62         union {                                    62         union {
 63                 struct {                           63                 struct {
 64                         unsigned char mac_addr     64                         unsigned char mac_addr[ETH_ALEN];
 65                         unsigned char atm_addr     65                         unsigned char atm_addr[ATM_ESA_LEN];
 66                         unsigned int flag;         66                         unsigned int flag;      /*
 67                                                    67                                                  * Topology_change flag,
 68                                                    68                                                  * remoteflag, permanent flag,
 69                                                    69                                                  * lecid, transaction id
 70                                                    70                                                  */
 71                         unsigned int targetles     71                         unsigned int targetless_le_arp; /* LANE2 */
 72                         unsigned int no_source     72                         unsigned int no_source_le_narp; /* LANE2 */
 73                 } normal;                          73                 } normal;
 74                 struct atmlec_config_msg confi     74                 struct atmlec_config_msg config;
 75                 struct {                           75                 struct {
 76                         __u16 lec_id;              76                         __u16 lec_id;                           /* requestor lec_id  */
 77                         __u32 tran_id;             77                         __u32 tran_id;                          /* transaction id    */
 78                         unsigned char mac_addr     78                         unsigned char mac_addr[ETH_ALEN];       /* dst mac addr      */
 79                         unsigned char atm_addr     79                         unsigned char atm_addr[ATM_ESA_LEN];    /* reqestor ATM addr */
 80                 } proxy;        /*                 80                 } proxy;        /*
 81                                  * For mapping     81                                  * For mapping LE_ARP requests to responses. Filled by
 82                                  * zeppelin, r     82                                  * zeppelin, returned by kernel. Used only when proxying
 83                                  */                83                                  */
 84         } content;                                 84         } content;
 85 } __ATM_API_ALIGN;                                 85 } __ATM_API_ALIGN;
 86                                                    86 
 87 struct atmlec_ioc {                                87 struct atmlec_ioc {
 88         int dev_num;                               88         int dev_num;
 89         unsigned char atm_addr[ATM_ESA_LEN];       89         unsigned char atm_addr[ATM_ESA_LEN];
 90         unsigned char receive;  /* 1= receive      90         unsigned char receive;  /* 1= receive vcc, 0 = send vcc */
 91 };                                                 91 };
 92 #endif /* _ATMLEC_H_ */                            92 #endif /* _ATMLEC_H_ */
 93                                                    93 

~ [ 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