Go to the source code of this file.
|
int | vnet_pppoe_add_del_session (vnet_pppoe_add_del_session_args_t *a, u32 *sw_if_indexp) |
|
static u64 | pppoe_make_key (u8 *mac_address, u16 session_id) |
|
static_always_inline void | pppoe_lookup_1 (BVT(clib_bihash)*session_table, pppoe_entry_key_t *cached_key, pppoe_entry_result_t *cached_result, u8 *mac0, u16 session_id0, pppoe_entry_key_t *key0, u32 *bucket0, pppoe_entry_result_t *result0) |
|
static_always_inline void | pppoe_update_1 (BVT(clib_bihash)*session_table, u8 *mac0, u16 session_id0, pppoe_entry_key_t *key0, u32 *bucket0, pppoe_entry_result_t *result0) |
|
#define foreach_pppoe_input_next |
Value:_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input" ) \
_(CP_INPUT, "pppoe-tap-dispatch" ) \
Definition at line 72 of file pppoe.h.
#define NUM_BUFFERS_TO_ALLOC 32 |
#define pppoe_error |
( |
|
n, |
|
|
|
s |
|
) |
| PPPOE_ERROR_##n, |
#define PPPOE_MEMORY_SIZE (16<<20) |
#define PPPOE_NUM_BUCKETS (128 * 1024) |
#define PPPOE_VER_TYPE 0x11 |
Enumerator |
---|
PPPOE_INPUT_N_NEXT |
|
Definition at line 78 of file pppoe.h.
static u64 pppoe_make_key |
( |
u8 * |
mac_address, |
|
|
u16 |
session_id |
|
) |
| |
|
inlinestatic |
(constructor) VLIB_REGISTER_NODE (pppoe_input_node)
Definition at line 401 of file pppoe_decap.c.
Initial value:= {
.name = "pppoe-tap-dispatch",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static uword pppoe_tap_dispatch(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static u8 * format_pppoe_tap_trace(u8 *s, va_list *args)
#define foreach_pppoe_tap_next
(constructor) VLIB_REGISTER_NODE (pppoe_tap_dispatch_node)
Definition at line 280 of file pppoe_tap_node.c.