FD.io VPP  v18.07-34-g55fbdb9
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
u8 is_ipv6
u8 is_add
u8 mask_length
u8 address [16]
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
mask_length- mask length for address entry
address- array of address bytes
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
To specify a single port set low_port and high_port entry the same

Definition at line 644 of file ip.api.

Field Documentation

u8 vl_api_ip_source_and_port_range_check_add_del_t::address[16]

Definition at line 651 of file ip.api.

u32 vl_api_ip_source_and_port_range_check_add_del_t::client_index

Definition at line 646 of file ip.api.

u32 vl_api_ip_source_and_port_range_check_add_del_t::context

Definition at line 647 of file ip.api.

u16 vl_api_ip_source_and_port_range_check_add_del_t::high_ports[32]

Definition at line 654 of file ip.api.

u8 vl_api_ip_source_and_port_range_check_add_del_t::is_add

Definition at line 649 of file ip.api.

u8 vl_api_ip_source_and_port_range_check_add_del_t::is_ipv6

Definition at line 648 of file ip.api.

u16 vl_api_ip_source_and_port_range_check_add_del_t::low_ports[32]

Definition at line 653 of file ip.api.

u8 vl_api_ip_source_and_port_range_check_add_del_t::mask_length

Definition at line 650 of file ip.api.

u8 vl_api_ip_source_and_port_range_check_add_del_t::number_of_ranges

Definition at line 652 of file ip.api.

u32 vl_api_ip_source_and_port_range_check_add_del_t::vrf_id

Definition at line 655 of file ip.api.

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