FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
vl_api_tcp_configure_src_addresses_t Struct Reference

Configure TCP source addresses, for active-open TCP sessions. More...

Data Fields

u32 client_index
u32 context
u8 is_ipv6
u32 vrf_id
u8 first_address [16]
u8 last_address [16]

Detailed Description

Configure TCP source addresses, for active-open TCP sessions.

TCP src/dst ports are 16 bits, with the low-order 1024 ports reserved. So, it's necessary to provide a considerable number of source IP addresses if one wishes to initiate a large number of connections.

Each of those addresses needs to have a receive adjacency - either a /32 or a /128 - and vpp needs to answer (proxy) arps or neighbor discovery requests for the addresses.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
is_ipv6- 1 for ipv6, 0 for ipv4
vrf_id- fib table / vrf id for local adjacencies
first_address- first address that TCP will use
last_address- last address that TCP will use

Definition at line 34 of file tcp.api.

Field Documentation

u32 vl_api_tcp_configure_src_addresses_t::client_index

Definition at line 35 of file tcp.api.

u32 vl_api_tcp_configure_src_addresses_t::context

Definition at line 36 of file tcp.api.

u8 vl_api_tcp_configure_src_addresses_t::first_address[16]

Definition at line 39 of file tcp.api.

u8 vl_api_tcp_configure_src_addresses_t::is_ipv6

Definition at line 37 of file tcp.api.

u8 vl_api_tcp_configure_src_addresses_t::last_address[16]

Definition at line 40 of file tcp.api.

u32 vl_api_tcp_configure_src_addresses_t::vrf_id

Definition at line 38 of file tcp.api.

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