FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
ppp.c File Reference
+ Include dependency graph for ppp.c:

Go to the source code of this file.

Functions

u8format_ppp_protocol (u8 *s, va_list *args)
 
u8format_ppp_header_with_length (u8 *s, va_list *args)
 
u8format_ppp_header (u8 *s, va_list *args)
 
uword unformat_ppp_protocol_host_byte_order (unformat_input_t *input, va_list *args)
 
uword unformat_ppp_protocol_net_byte_order (unformat_input_t *input, va_list *args)
 
uword unformat_ppp_header (unformat_input_t *input, va_list *args)
 
static u8ppp_build_rewrite (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_hw_address)
 
 VNET_HW_INTERFACE_CLASS (ppp_hw_interface_class)
 
static void add_protocol (ppp_main_t *pm, ppp_protocol_t protocol, char *protocol_name)
 
static clib_error_tppp_init (vlib_main_t *vm)
 

Variables

ppp_main_t ppp_main
 

Function Documentation

◆ add_protocol()

static void add_protocol ( ppp_main_t pm,
ppp_protocol_t  protocol,
char *  protocol_name 
)
static

Definition at line 211 of file ppp.c.

◆ format_ppp_header()

u8* format_ppp_header ( u8 s,
va_list *  args 
)

Definition at line 98 of file ppp.c.

+ Here is the call graph for this function:

◆ format_ppp_header_with_length()

u8* format_ppp_header_with_length ( u8 s,
va_list *  args 
)

Definition at line 62 of file ppp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ppp_protocol()

u8* format_ppp_protocol ( u8 s,
va_list *  args 
)

Definition at line 47 of file ppp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ppp_build_rewrite()

static u8* ppp_build_rewrite ( vnet_main_t vnm,
u32  sw_if_index,
vnet_link_t  link_type,
const void *  dst_hw_address 
)
static

Definition at line 172 of file ppp.c.

◆ ppp_init()

static clib_error_t* ppp_init ( vlib_main_t vm)
static

Definition at line 228 of file ppp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unformat_ppp_header()

uword unformat_ppp_header ( unformat_input_t input,
va_list *  args 
)

Definition at line 146 of file ppp.c.

+ Here is the call graph for this function:

◆ unformat_ppp_protocol_host_byte_order()

uword unformat_ppp_protocol_host_byte_order ( unformat_input_t input,
va_list *  args 
)

Definition at line 106 of file ppp.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unformat_ppp_protocol_net_byte_order()

uword unformat_ppp_protocol_net_byte_order ( unformat_input_t input,
va_list *  args 
)

Definition at line 135 of file ppp.c.

+ Here is the call graph for this function:

◆ VNET_HW_INTERFACE_CLASS()

VNET_HW_INTERFACE_CLASS ( ppp_hw_interface_class  )

Variable Documentation

◆ ppp_main

ppp_main_t ppp_main

Definition at line 44 of file ppp.c.