Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
llc.h File Reference
#include <linux/socket.h>

Go to the source code of this file.

Data Structures

struct  sockaddr_llc
 
struct  llc_pktinfo
 

Macros

#define __LLC_SOCK_SIZE__   16 /* sizeof(sockaddr_llc), word align. */
 
#define LLC_OPT_MAX_RETRY   100
 
#define LLC_OPT_MAX_SIZE   4196
 
#define LLC_OPT_MAX_WIN   127
 
#define LLC_OPT_MAX_ACK_TMR_EXP   60
 
#define LLC_OPT_MAX_P_TMR_EXP   60
 
#define LLC_OPT_MAX_REJ_TMR_EXP   60
 
#define LLC_OPT_MAX_BUSY_TMR_EXP   60
 
#define LLC_SAP_NULL   0x00 /* NULL SAP. */
 
#define LLC_SAP_LLC   0x02 /* LLC Sublayer Management. */
 
#define LLC_SAP_SNA   0x04 /* SNA Path Control. */
 
#define LLC_SAP_PNM   0x0E /* Proway Network Management. */
 
#define LLC_SAP_IP   0x06 /* TCP/IP. */
 
#define LLC_SAP_BSPAN   0x42 /* Bridge Spanning Tree Proto */
 
#define LLC_SAP_MMS   0x4E /* Manufacturing Message Srv. */
 
#define LLC_SAP_8208   0x7E /* ISO 8208 */
 
#define LLC_SAP_3COM   0x80 /* 3COM. */
 
#define LLC_SAP_PRO   0x8E /* Proway Active Station List */
 
#define LLC_SAP_SNAP   0xAA /* SNAP. */
 
#define LLC_SAP_BANYAN   0xBC /* Banyan. */
 
#define LLC_SAP_IPX   0xE0 /* IPX/SPX. */
 
#define LLC_SAP_NETBEUI   0xF0 /* NetBEUI. */
 
#define LLC_SAP_LANMGR   0xF4 /* LanManager. */
 
#define LLC_SAP_IMPL   0xF8 /* IMPL */
 
#define LLC_SAP_DISC   0xFC /* Discovery */
 
#define LLC_SAP_OSI   0xFE /* OSI Network Layers. */
 
#define LLC_SAP_LAR   0xDC /* LAN Address Resolution */
 
#define LLC_SAP_RM   0xD4 /* Resource Management */
 
#define LLC_SAP_GLOBAL   0xFF /* Global SAP. */
 

Enumerations

enum  llc_sockopts {
  LLC_OPT_UNKNOWN = 0, LLC_OPT_RETRY, LLC_OPT_SIZE, LLC_OPT_ACK_TMR_EXP,
  LLC_OPT_P_TMR_EXP, LLC_OPT_REJ_TMR_EXP, LLC_OPT_BUSY_TMR_EXP, LLC_OPT_TX_WIN,
  LLC_OPT_RX_WIN, LLC_OPT_PKTINFO, LLC_OPT_MAX
}
 

Macro Definition Documentation

#define __LLC_SOCK_SIZE__   16 /* sizeof(sockaddr_llc), word align. */

Definition at line 18 of file llc.h.

#define LLC_OPT_MAX_ACK_TMR_EXP   60

Definition at line 50 of file llc.h.

#define LLC_OPT_MAX_BUSY_TMR_EXP   60

Definition at line 53 of file llc.h.

#define LLC_OPT_MAX_P_TMR_EXP   60

Definition at line 51 of file llc.h.

#define LLC_OPT_MAX_REJ_TMR_EXP   60

Definition at line 52 of file llc.h.

#define LLC_OPT_MAX_RETRY   100

Definition at line 47 of file llc.h.

#define LLC_OPT_MAX_SIZE   4196

Definition at line 48 of file llc.h.

#define LLC_OPT_MAX_WIN   127

Definition at line 49 of file llc.h.

#define LLC_SAP_3COM   0x80 /* 3COM. */

Definition at line 64 of file llc.h.

#define LLC_SAP_8208   0x7E /* ISO 8208 */

Definition at line 63 of file llc.h.

#define LLC_SAP_BANYAN   0xBC /* Banyan. */

Definition at line 67 of file llc.h.

#define LLC_SAP_BSPAN   0x42 /* Bridge Spanning Tree Proto */

Definition at line 61 of file llc.h.

#define LLC_SAP_DISC   0xFC /* Discovery */

Definition at line 72 of file llc.h.

#define LLC_SAP_GLOBAL   0xFF /* Global SAP. */

Definition at line 76 of file llc.h.

#define LLC_SAP_IMPL   0xF8 /* IMPL */

Definition at line 71 of file llc.h.

#define LLC_SAP_IP   0x06 /* TCP/IP. */

Definition at line 60 of file llc.h.

#define LLC_SAP_IPX   0xE0 /* IPX/SPX. */

Definition at line 68 of file llc.h.

#define LLC_SAP_LANMGR   0xF4 /* LanManager. */

Definition at line 70 of file llc.h.

#define LLC_SAP_LAR   0xDC /* LAN Address Resolution */

Definition at line 74 of file llc.h.

#define LLC_SAP_LLC   0x02 /* LLC Sublayer Management. */

Definition at line 57 of file llc.h.

#define LLC_SAP_MMS   0x4E /* Manufacturing Message Srv. */

Definition at line 62 of file llc.h.

#define LLC_SAP_NETBEUI   0xF0 /* NetBEUI. */

Definition at line 69 of file llc.h.

#define LLC_SAP_NULL   0x00 /* NULL SAP. */

Definition at line 56 of file llc.h.

#define LLC_SAP_OSI   0xFE /* OSI Network Layers. */

Definition at line 73 of file llc.h.

#define LLC_SAP_PNM   0x0E /* Proway Network Management. */

Definition at line 59 of file llc.h.

#define LLC_SAP_PRO   0x8E /* Proway Active Station List */

Definition at line 65 of file llc.h.

#define LLC_SAP_RM   0xD4 /* Resource Management */

Definition at line 75 of file llc.h.

#define LLC_SAP_SNA   0x04 /* SNA Path Control. */

Definition at line 58 of file llc.h.

#define LLC_SAP_SNAP   0xAA /* SNAP. */

Definition at line 66 of file llc.h.

Enumeration Type Documentation

Enumerator:
LLC_OPT_UNKNOWN 
LLC_OPT_RETRY 
LLC_OPT_SIZE 
LLC_OPT_ACK_TMR_EXP 
LLC_OPT_P_TMR_EXP 
LLC_OPT_REJ_TMR_EXP 
LLC_OPT_BUSY_TMR_EXP 
LLC_OPT_TX_WIN 
LLC_OPT_RX_WIN 
LLC_OPT_PKTINFO 
LLC_OPT_MAX 

Definition at line 33 of file llc.h.