FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
vl_api_connect_sock_t Struct Reference

Connect to a remote peer. More...

Data Fields

u32 client_index
 
u32 context
 
u64 client_queue_address
 
u64 options [16]
 
u32 vrf
 
u8 is_ip4
 
u8 ip [16]
 
u16 port
 
u8 proto
 
u8 hostname_len
 
u8 hostname [hostname_len]
 

Detailed Description

Connect to a remote peer.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
client_queue_address- client's API queue address. Non-zero when used to perform redirects
options- socket options, fifo sizes, etc. when doing redirects
vrf- connection namespace
is_ip4- flag that is 1 if ip address family is IPv4
ip- ip address
port- port
proto- protocol 0 - TCP 1 - UDP
hostname-len- length of hostname
hostname- destination's hostname. If present, used by protocols like tls.

Definition at line 311 of file session.api.

Field Documentation

u32 vl_api_connect_sock_t::client_index

Definition at line 312 of file session.api.

u64 vl_api_connect_sock_t::client_queue_address

Definition at line 314 of file session.api.

u32 vl_api_connect_sock_t::context

Definition at line 313 of file session.api.

u8 vl_api_connect_sock_t::hostname[hostname_len]

Definition at line 322 of file session.api.

u8 vl_api_connect_sock_t::hostname_len

Definition at line 321 of file session.api.

u8 vl_api_connect_sock_t::ip[16]

Definition at line 318 of file session.api.

u8 vl_api_connect_sock_t::is_ip4

Definition at line 317 of file session.api.

u64 vl_api_connect_sock_t::options[16]

Definition at line 315 of file session.api.

u16 vl_api_connect_sock_t::port

Definition at line 319 of file session.api.

u8 vl_api_connect_sock_t::proto

Definition at line 320 of file session.api.

u32 vl_api_connect_sock_t::vrf

Definition at line 316 of file session.api.


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