FD.io VPP  v21.01.1
Vector Packet Processing
ppp.h File Reference
+ Include dependency graph for ppp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ppp_protocol_info_t
 
struct  ppp_main_t
 

Macros

#define ppp_error(n, s)   PPP_ERROR_##n,
 

Enumerations

enum  ppp_error_t { PPP_N_ERROR }
 

Functions

static ppp_protocol_info_tppp_get_protocol_info (ppp_main_t *em, ppp_protocol_t protocol)
 
void ppp_register_input_type (vlib_main_t *vm, ppp_protocol_t protocol, u32 node_index)
 
static void ppp_setup_node (vlib_main_t *vm, u32 node_index)
 
void ppp_register_input_protocol (vlib_main_t *vm, ppp_protocol_t protocol, u32 node_index)
 

Variables

vnet_hw_interface_class_t ppp_hw_interface_class
 
ppp_main_t ppp_main
 
format_function_t format_ppp_protocol
 
format_function_t format_ppp_header
 
format_function_t format_ppp_header_with_length
 
unformat_function_t unformat_ppp_protocol_host_byte_order
 
unformat_function_t unformat_ppp_protocol_net_byte_order
 
unformat_function_t unformat_ppp_header
 
unformat_function_t unformat_pg_ppp_header
 

Macro Definition Documentation

◆ ppp_error

#define ppp_error (   n,
 
)    PPP_ERROR_##n,

Definition at line 51 of file ppp.h.

Enumeration Type Documentation

◆ ppp_error_t

Enumerator
PPP_N_ERROR 

Definition at line 49 of file ppp.h.

Function Documentation

◆ ppp_get_protocol_info()

static ppp_protocol_info_t* ppp_get_protocol_info ( ppp_main_t em,
ppp_protocol_t  protocol 
)
inlinestatic

Definition at line 83 of file ppp.h.

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

◆ ppp_register_input_protocol()

void ppp_register_input_protocol ( vlib_main_t vm,
ppp_protocol_t  protocol,
u32  node_index 
)

Definition at line 334 of file node.c.

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

◆ ppp_register_input_type()

void ppp_register_input_type ( vlib_main_t vm,
ppp_protocol_t  protocol,
u32  node_index 
)
+ Here is the caller graph for this function:

◆ ppp_setup_node()

static void ppp_setup_node ( vlib_main_t vm,
u32  node_index 
)
inlinestatic

Definition at line 110 of file ppp.h.

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

Variable Documentation

◆ format_ppp_header

format_function_t format_ppp_header

Definition at line 97 of file ppp.h.

◆ format_ppp_header_with_length

format_function_t format_ppp_header_with_length

Definition at line 98 of file ppp.h.

◆ format_ppp_protocol

format_function_t format_ppp_protocol

Definition at line 96 of file ppp.h.

◆ ppp_hw_interface_class

vnet_hw_interface_class_t ppp_hw_interface_class

◆ ppp_main

ppp_main_t ppp_main

Definition at line 44 of file ppp.c.

◆ unformat_pg_ppp_header

unformat_function_t unformat_pg_ppp_header

Definition at line 107 of file ppp.h.

◆ unformat_ppp_header

unformat_function_t unformat_ppp_header

Definition at line 106 of file ppp.h.

◆ unformat_ppp_protocol_host_byte_order

unformat_function_t unformat_ppp_protocol_host_byte_order

Definition at line 102 of file ppp.h.

◆ unformat_ppp_protocol_net_byte_order

unformat_function_t unformat_ppp_protocol_net_byte_order

Definition at line 103 of file ppp.h.