Go to the source code of this file.
#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)
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.
Enumerator |
---|
foreach_llc_protocol |
|
Definition at line 71 of file llc.h.
Definition at line 94 of file llc.h.
void llc_set_adjacency |
( |
vnet_rewrite_header_t * |
rw, |
|
|
uword |
max_data_bytes, |
|
|
llc_protocol_t |
protocol |
|
) |
| |
Definition at line 44 of file llc.c.