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

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/llc.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/llc.h (Version linux-6.11.5) and /include/uapi/linux/llc.h (Version linux-2.4.37.11)


  1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linu      1 
  2 /*                                                
  3  * IEEE 802.2 User Interface SAPs for Linux, d    
  4  *                                                
  5  * Copyright (c) 2001 by Jay Schulist <jschlst    
  6  *                                                
  7  * This program can be redistributed or modifi    
  8  * GNU General Public License as published by     
  9  * This program is distributed without any war    
 10  * of merchantability or fitness for a particu    
 11  *                                                
 12  * See the GNU General Public License for more    
 13  */                                               
 14 #ifndef _UAPI__LINUX_LLC_H                        
 15 #define _UAPI__LINUX_LLC_H                        
 16                                                   
 17 #include <linux/socket.h>                         
 18 #include <linux/if.h>           /* For IFHWADD    
 19                                                   
 20 #define __LLC_SOCK_SIZE__ 16    /* sizeof(sock    
 21 struct sockaddr_llc {                             
 22         __kernel_sa_family_t sllc_family; /* A    
 23         __kernel_sa_family_t sllc_arphrd; /* A    
 24         unsigned char   sllc_test;                
 25         unsigned char   sllc_xid;                 
 26         unsigned char   sllc_ua;        /* UA     
 27         unsigned char   sllc_sap;                 
 28         unsigned char   sllc_mac[IFHWADDRLEN];    
 29         unsigned char   __pad[__LLC_SOCK_SIZE_    
 30                               sizeof(__kernel_    
 31                               sizeof(unsigned     
 32 };                                                
 33                                                   
 34 /* sockopt definitions. */                        
 35 enum llc_sockopts {                               
 36         LLC_OPT_UNKNOWN = 0,                      
 37         LLC_OPT_RETRY,          /* max retrans    
 38         LLC_OPT_SIZE,           /* max PDU siz    
 39         LLC_OPT_ACK_TMR_EXP,    /* ack expire     
 40         LLC_OPT_P_TMR_EXP,      /* pf cycle ex    
 41         LLC_OPT_REJ_TMR_EXP,    /* rej sent ex    
 42         LLC_OPT_BUSY_TMR_EXP,   /* busy state     
 43         LLC_OPT_TX_WIN,         /* tx window s    
 44         LLC_OPT_RX_WIN,         /* rx window s    
 45         LLC_OPT_PKTINFO,        /* ancillary p    
 46         LLC_OPT_MAX                               
 47 };                                                
 48                                                   
 49 #define LLC_OPT_MAX_RETRY        100              
 50 #define LLC_OPT_MAX_SIZE        4196              
 51 #define LLC_OPT_MAX_WIN          127              
 52 #define LLC_OPT_MAX_ACK_TMR_EXP   60              
 53 #define LLC_OPT_MAX_P_TMR_EXP     60              
 54 #define LLC_OPT_MAX_REJ_TMR_EXP   60              
 55 #define LLC_OPT_MAX_BUSY_TMR_EXP  60              
 56                                                   
 57 /* LLC SAP types. */                              
 58 #define LLC_SAP_NULL    0x00            /* NUL    
 59 #define LLC_SAP_LLC     0x02            /* LLC    
 60 #define LLC_SAP_SNA     0x04            /* SNA    
 61 #define LLC_SAP_PNM     0x0E            /* Pro    
 62 #define LLC_SAP_IP      0x06            /* TCP    
 63 #define LLC_SAP_BSPAN   0x42            /* Bri    
 64 #define LLC_SAP_MMS     0x4E            /* Man    
 65 #define LLC_SAP_8208    0x7E            /* ISO    
 66 #define LLC_SAP_3COM    0x80            /* 3CO    
 67 #define LLC_SAP_PRO     0x8E            /* Pro    
 68 #define LLC_SAP_SNAP    0xAA            /* SNA    
 69 #define LLC_SAP_BANYAN  0xBC            /* Ban    
 70 #define LLC_SAP_IPX     0xE0            /* IPX    
 71 #define LLC_SAP_NETBEUI 0xF0            /* Net    
 72 #define LLC_SAP_LANMGR  0xF4            /* Lan    
 73 #define LLC_SAP_IMPL    0xF8            /* IMP    
 74 #define LLC_SAP_DISC    0xFC            /* Dis    
 75 #define LLC_SAP_OSI     0xFE            /* OSI    
 76 #define LLC_SAP_LAR     0xDC            /* LAN    
 77 #define LLC_SAP_RM      0xD4            /* Res    
 78 #define LLC_SAP_GLOBAL  0xFF            /* Glo    
 79                                                   
 80 struct llc_pktinfo {                              
 81         int lpi_ifindex;                          
 82         unsigned char lpi_sap;                    
 83         unsigned char lpi_mac[IFHWADDRLEN];       
 84 };                                                
 85                                                   
 86 #endif /* _UAPI__LINUX_LLC_H */                   
 87                                                   

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