FD.io VPP  v16.09
Vector Packet Processing
ip_source_and_port_range_check.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  source_range_check_main_t
 
struct  ip_source_and_port_range_check_config_t
 
struct  u16x8vec_t
 
struct  protocol_port_range_t
 

Macros

#define IP_SOURCE_AND_PORT_RANGE_CHECK_RANGE_LIMIT   VLIB_BUFFER_PRE_DATA_SIZE/(2*sizeof(u16x8));
 

Enumerations

enum  ip_source_and_port_range_check_protocol_t {
  IP_SOURCE_AND_PORT_RANGE_CHECK_PROTOCOL_TCP_OUT, IP_SOURCE_AND_PORT_RANGE_CHECK_PROTOCOL_UDP_OUT, IP_SOURCE_AND_PORT_RANGE_CHECK_PROTOCOL_TCP_IN, IP_SOURCE_AND_PORT_RANGE_CHECK_PROTOCOL_UDP_IN,
  IP_SOURCE_AND_PORT_RANGE_CHECK_N_PROTOCOLS
}
 

Functions

int ip4_source_and_port_range_check_add_del (ip4_address_t *address, u32 length, u32 vrf_id, u16 *low_ports, u16 *hi_ports, int is_add)
 
int ip6_source_and_port_range_check_add_del (ip6_address_t *address, u32 length, u32 vrf_id, u16 *low_ports, u16 *hi_ports, int is_add)
 
int set_ip_source_and_port_range_check (vlib_main_t *vm, u32 *fib_index, u32 sw_if_index, u32 is_add)
 

Variables

source_range_check_main_t source_range_check_main
 

Macro Definition Documentation

#define IP_SOURCE_AND_PORT_RANGE_CHECK_RANGE_LIMIT   VLIB_BUFFER_PRE_DATA_SIZE/(2*sizeof(u16x8));

Definition at line 46 of file ip_source_and_port_range_check.h.

Enumeration Type Documentation

Enumerator
IP_SOURCE_AND_PORT_RANGE_CHECK_PROTOCOL_TCP_OUT 
IP_SOURCE_AND_PORT_RANGE_CHECK_PROTOCOL_UDP_OUT 
IP_SOURCE_AND_PORT_RANGE_CHECK_PROTOCOL_TCP_IN 
IP_SOURCE_AND_PORT_RANGE_CHECK_PROTOCOL_UDP_IN 
IP_SOURCE_AND_PORT_RANGE_CHECK_N_PROTOCOLS 

Definition at line 32 of file ip_source_and_port_range_check.h.

Function Documentation

int ip4_source_and_port_range_check_add_del ( ip4_address_t address,
u32  length,
u32  vrf_id,
u16 low_ports,
u16 hi_ports,
int  is_add 
)

Definition at line 864 of file ip4_source_and_port_range_check.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ip6_source_and_port_range_check_add_del ( ip6_address_t address,
u32  length,
u32  vrf_id,
u16 low_ports,
u16 hi_ports,
int  is_add 
)

Definition at line 854 of file ip4_source_and_port_range_check.c.

+ Here is the caller graph for this function:

int set_ip_source_and_port_range_check ( vlib_main_t vm,
u32 fib_index,
u32  sw_if_index,
u32  is_add 
)

Definition at line 508 of file ip4_source_and_port_range_check.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

source_range_check_main_t source_range_check_main

Definition at line 30 of file ip_source_and_port_range_check.h.