FD.io VPP  v20.05-21-gb1500e9ff
Vector Packet Processing
vl_api_ip_source_and_port_range_check_add_del_t Struct Reference

Configure IP source and L4 port-range check. More...

Data Fields

u32 client_index
 
u32 context
 
bool is_add [default=true]
 
vl_api_prefix_t prefix
 
u8 number_of_ranges
 
u16 low_ports [32]
 
u16 high_ports [32]
 
u32 vrf_id
 

Detailed Description

Configure IP source and L4 port-range check.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_ip6- 1 if source address type is IPv6
is_add- 1 if add, 0 if delete
ip- prefix to match
number_of_ranges- length of low_port and high_port arrays (must match)
low_ports[32]- up to 32 low end of port range entries (must have corresponding high_ports entry)
high_ports[32]- up to 32 high end of port range entries (must have corresponding low_ports entry)
vrf_id- fib table/vrf id to associate the source and port-range check with
Note
To specify a single port set low_port and high_port entry the same

Definition at line 507 of file ip.api.

Field Documentation

◆ client_index

u32 vl_api_ip_source_and_port_range_check_add_del_t::client_index

Definition at line 509 of file ip.api.

◆ context

u32 vl_api_ip_source_and_port_range_check_add_del_t::context

Definition at line 510 of file ip.api.

◆ high_ports

u16 vl_api_ip_source_and_port_range_check_add_del_t::high_ports[32]

Definition at line 515 of file ip.api.

◆ is_add

bool vl_api_ip_source_and_port_range_check_add_del_t::is_add[default=true]

Definition at line 511 of file ip.api.

◆ low_ports

u16 vl_api_ip_source_and_port_range_check_add_del_t::low_ports[32]

Definition at line 514 of file ip.api.

◆ number_of_ranges

u8 vl_api_ip_source_and_port_range_check_add_del_t::number_of_ranges

Definition at line 513 of file ip.api.

◆ prefix

vl_api_prefix_t vl_api_ip_source_and_port_range_check_add_del_t::prefix

Definition at line 512 of file ip.api.

◆ vrf_id

u32 vl_api_ip_source_and_port_range_check_add_del_t::vrf_id

Definition at line 516 of file ip.api.


The documentation for this struct was generated from the following file: