FD.io VPP  v16.06
Vector Packet Processing
ip.h File Reference
+ Include dependency graph for ip.h:

Go to the source code of this file.

Data Structures

struct  ip_protocol_info_t
 
struct  tcp_udp_port_info_t
 
struct  ip_main_t
 

Functions

clib_error_tip_main_init (vlib_main_t *vm)
 
static ip_protocol_info_tip_get_protocol_info (ip_main_t *im, u32 protocol)
 
static tcp_udp_port_info_tip_get_tcp_udp_port_info (ip_main_t *im, u32 port)
 
always_inline ip_csum_t ip_incremental_checksum_buffer (vlib_main_t *vm, vlib_buffer_t *first_buffer, u32 first_buffer_offset, u32 n_bytes_to_checksum, ip_csum_t sum)
 
void ip_del_all_interface_addresses (vlib_main_t *vm, u32 sw_if_index)
 

Variables

ip_main_t ip_main
 
vlib_node_registration_t ip4_inacl_node
 (constructor) VLIB_REGISTER_NODE (ip4_inacl_node) More...
 
vlib_node_registration_t ip6_inacl_node
 (constructor) VLIB_REGISTER_NODE (ip6_inacl_node) More...
 

Function Documentation

void ip_del_all_interface_addresses ( vlib_main_t vm,
u32  sw_if_index 
)

Definition at line 62 of file ip46_cli.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ip_protocol_info_t* ip_get_protocol_info ( ip_main_t im,
u32  protocol 
)
inlinestatic

Definition at line 135 of file ip.h.

+ Here is the caller graph for this function:

static tcp_udp_port_info_t* ip_get_tcp_udp_port_info ( ip_main_t im,
u32  port 
)
inlinestatic

Definition at line 144 of file ip.h.

+ Here is the caller graph for this function:

always_inline ip_csum_t ip_incremental_checksum_buffer ( vlib_main_t vm,
vlib_buffer_t first_buffer,
u32  first_buffer_offset,
u32  n_bytes_to_checksum,
ip_csum_t  sum 
)

Definition at line 153 of file ip.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* ip_main_init ( vlib_main_t vm)

Definition at line 45 of file ip_init.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_node_registration_t ip4_inacl_node
Initial value:
= {
.function = ip4_inacl,
.name = "ip4-inacl",
.vector_size = sizeof (u32),
.format_trace = format_ip_inacl_trace,
.error_strings = ip_inacl_error_strings,
.n_next_nodes = ACL_NEXT_INDEX_N_NEXT,
.next_nodes = {
[ACL_NEXT_INDEX_DENY] = "error-drop",
},
}
static u8 * format_ip_inacl_trace(u8 *s, va_list *args)
Definition: ip_input_acl.c:27
static char * ip_inacl_error_strings[]
Definition: ip_input_acl.c:53
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
static uword ip4_inacl(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: ip_input_acl.c:350

(constructor) VLIB_REGISTER_NODE (ip4_inacl_node)

Definition at line 358 of file ip_input_acl.c.

vlib_node_registration_t ip6_inacl_node
Initial value:
= {
.function = ip6_inacl,
.name = "ip6-inacl",
.vector_size = sizeof (u32),
.format_trace = format_ip_inacl_trace,
.error_strings = ip_inacl_error_strings,
.n_next_nodes = ACL_NEXT_INDEX_N_NEXT,
.next_nodes = {
[ACL_NEXT_INDEX_DENY] = "error-drop",
},
}
static u8 * format_ip_inacl_trace(u8 *s, va_list *args)
Definition: ip_input_acl.c:27
static char * ip_inacl_error_strings[]
Definition: ip_input_acl.c:53
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
static uword ip6_inacl(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: ip_input_acl.c:373

(constructor) VLIB_REGISTER_NODE (ip6_inacl_node)

Definition at line 381 of file ip_input_acl.c.

ip_main_t ip_main

Definition at line 42 of file ip_init.c.