![]() |
FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
Bind to an ip:port pair for a given transport protocol
Data Fields | |
| u32 | client_index |
| u32 | context |
| u32 | wrk_index |
| u32 | vrf |
| u8 | is_ip4 |
| u8 | ip [16] |
| u16 | port |
| u8 | proto |
| u64 | options [16] |
Bind to an ip:port pair for a given transport protocol
| client_index | - opaque cookie to identify the sender |
| context | - sender context, to match reply w/ request |
| wrk_index | - index of worker requesting the bind |
| vrf | - bind namespace |
| is_ip4 | - flag that is 1 if ip address family is IPv4 |
| ip | - ip address |
| port | - port |
| proto | - protocol 0 - TCP 1 - UDP |
| options | - socket options, fifo sizes, etc. |
Definition at line 268 of file session.api.
| u32 vl_api_bind_sock_t::client_index |
Definition at line 269 of file session.api.
| u32 vl_api_bind_sock_t::context |
Definition at line 270 of file session.api.
| u8 vl_api_bind_sock_t::ip[16] |
Definition at line 274 of file session.api.
| u8 vl_api_bind_sock_t::is_ip4 |
Definition at line 273 of file session.api.
| u64 vl_api_bind_sock_t::options[16] |
Definition at line 277 of file session.api.
| u16 vl_api_bind_sock_t::port |
Definition at line 275 of file session.api.
| u8 vl_api_bind_sock_t::proto |
Definition at line 276 of file session.api.
| u32 vl_api_bind_sock_t::vrf |
Definition at line 272 of file session.api.
| u32 vl_api_bind_sock_t::wrk_index |
Definition at line 271 of file session.api.