FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
llc.h File Reference
+ Include dependency graph for llc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  llc_header_t
 
struct  llc_protocol_info_t
 
struct  llc_main_t
 

Macros

#define foreach_llc_protocol
 
#define LLC_DST_SAP_IS_GROUP   (1 << 0)
 
#define LLC_SRC_SAP_IS_RESPONSE   (1 << 0)
 
#define foreach_llc_error
 

Enumerations

enum  llc_protocol_t { foreach_llc_protocol }
 
enum  llc_error_t { LLC_N_ERROR }
 

Functions

static u16 llc_header_get_control (llc_header_t *h)
 
static u8 llc_header_length (llc_header_t *h)
 
static llc_protocol_info_tllc_get_protocol_info (llc_main_t *m, llc_protocol_t protocol)
 
void llc_register_input_protocol (vlib_main_t *vm, llc_protocol_t protocol, u32 node_index)
 
static void llc_setup_node (vlib_main_t *vm, u32 node_index)
 

Variables

llc_main_t llc_main
 
format_function_t format_llc_protocol
 
format_function_t format_llc_header
 
format_function_t format_llc_header_with_length
 
unformat_function_t unformat_llc_protocol
 
unformat_function_t unformat_llc_header
 
unformat_function_t unformat_pg_llc_header
 

Macro Definition Documentation

#define foreach_llc_error
Value:
_ (NONE, "no error") \
_ (UNKNOWN_PROTOCOL, "unknown llc ssap/dsap") \
_ (UNKNOWN_CONTROL, "control != 0x3")

Definition at line 121 of file llc.h.

#define foreach_llc_protocol
Value:
_ (null, 0x0) \
_ (sublayer, 0x2) \
_ (sna_path_control, 0x4) \
_ (ip4, 0x6) \
_ (sna1, 0x8) \
_ (sna2, 0xc) \
_ (sna3, 0x40) \
_ (proway_lan, 0x0e) \
_ (netware1, 0x10) \
_ (netware2, 0xe0) \
_ (osi_layer1, 0x14) \
_ (osi_layer2, 0x20) \
_ (osi_layer3, 0x34) \
_ (osi_layer4, 0x54) \
_ (osi_layer5, 0xfe) \
_ (bpdu, 0x42) \
_ (arp, 0x98) \
_ (snap, 0xaa) \
_ (vines1, 0xba) \
_ (vines2, 0xbc) \
_ (netbios, 0xf0) \
_ (global_dsap, 0xff)
rpc memclnt_read_timeout returns null
Definition: memclnt.api:24

Definition at line 47 of file llc.h.

#define LLC_DST_SAP_IS_GROUP   (1 << 0)

Definition at line 80 of file llc.h.

#define LLC_SRC_SAP_IS_RESPONSE   (1 << 0)

Definition at line 81 of file llc.h.

Enumeration Type Documentation

Enumerator
LLC_N_ERROR 

Definition at line 126 of file llc.h.

Enumerator
foreach_llc_protocol 

Definition at line 71 of file llc.h.

Function Documentation

static llc_protocol_info_t* llc_get_protocol_info ( llc_main_t m,
llc_protocol_t  protocol 
)
inlinestatic

Definition at line 148 of file llc.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u16 llc_header_get_control ( llc_header_t h)
inlinestatic

Definition at line 94 of file llc.h.

+ Here is the caller graph for this function:

static u8 llc_header_length ( llc_header_t h)
inlinestatic

Definition at line 101 of file llc.h.

+ Here is the caller graph for this function:

void llc_register_input_protocol ( vlib_main_t vm,
llc_protocol_t  protocol,
u32  node_index 
)

Definition at line 302 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void llc_setup_node ( vlib_main_t vm,
u32  node_index 
)
inlinestatic

Definition at line 173 of file llc.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

format_function_t format_llc_header

Definition at line 162 of file llc.h.

format_function_t format_llc_header_with_length

Definition at line 163 of file llc.h.

format_function_t format_llc_protocol

Definition at line 161 of file llc.h.

llc_main_t llc_main

Definition at line 44 of file llc.c.

unformat_function_t unformat_llc_header

Definition at line 169 of file llc.h.

unformat_function_t unformat_llc_protocol

Definition at line 166 of file llc.h.

unformat_function_t unformat_pg_llc_header

Definition at line 170 of file llc.h.