FD.io VPP  v20.01-48-g3e0dafb74
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 481 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 483 of file ip.api.

◆ context

u32 vl_api_ip_source_and_port_range_check_add_del_t::context

Definition at line 484 of file ip.api.

◆ high_ports

u16 vl_api_ip_source_and_port_range_check_add_del_t::high_ports[32]

Definition at line 489 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 485 of file ip.api.

◆ low_ports

u16 vl_api_ip_source_and_port_range_check_add_del_t::low_ports[32]

Definition at line 488 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 487 of file ip.api.

◆ prefix

vl_api_prefix_t vl_api_ip_source_and_port_range_check_add_del_t::prefix

Definition at line 486 of file ip.api.

◆ vrf_id

u32 vl_api_ip_source_and_port_range_check_add_del_t::vrf_id

Definition at line 490 of file ip.api.


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