Go to the source code of this file.
|
u8 * | format_transport_proto (u8 *s, va_list *args) |
|
u8 * | format_transport_proto_short (u8 *s, va_list *args) |
|
u8 * | format_transport_connection (u8 *s, va_list *args) |
|
u8 * | format_transport_listen_connection (u8 *s, va_list *args) |
|
u8 * | format_transport_half_open_connection (u8 *s, va_list *args) |
|
uword | unformat_transport_proto (unformat_input_t *input, va_list *args) |
|
static u8 | transport_connection_fib_proto (transport_connection_t *tc) |
|
static u8 | transport_endpoint_fib_proto (transport_endpoint_t *tep) |
|
int | transport_alloc_local_port (u8 proto, ip46_address_t *ip) |
| Allocate local port and add if successful add entry to local endpoint table to mark the pair as used. More...
|
|
int | transport_alloc_local_endpoint (u8 proto, transport_endpoint_cfg_t *rmt, ip46_address_t *lcl_addr, u16 *lcl_port) |
|
void | transport_endpoint_cleanup (u8 proto, ip46_address_t *lcl_ip, u16 port) |
|
u8 | transport_protocol_is_cl (transport_proto_t tp) |
|
void | transport_init (void) |
|
◆ c_c_index
#define c_c_index connection.c_index |
◆ c_cc_stat_tstamp
#define c_cc_stat_tstamp connection.cc_stat_tstamp |
◆ c_elog_track
◆ c_fib_index
#define c_fib_index connection.fib_index |
◆ c_flags
◆ c_is_ip4
#define c_is_ip4 connection.is_ip4 |
◆ c_lcl_ip
#define c_lcl_ip connection.lcl_ip |
Macros for 'derived classes' where base is named "connection".
Definition at line 80 of file transport.h.
◆ c_lcl_ip4
#define c_lcl_ip4 connection.lcl_ip.ip4 |
◆ c_lcl_ip6
#define c_lcl_ip6 connection.lcl_ip.ip6 |
◆ c_lcl_port
#define c_lcl_port connection.lcl_port |
◆ c_opaque_id
#define c_opaque_id connection.opaque_conn_id |
◆ c_pacer
#define c_pacer connection.pacer |
◆ c_proto
#define c_proto connection.proto |
◆ c_rmt_dpo
#define c_rmt_dpo connection.rmt_dpo |
◆ c_rmt_fei
#define c_rmt_fei connection.rmt_fei |
◆ c_rmt_ip
#define c_rmt_ip connection.rmt_ip |
◆ c_rmt_ip4
#define c_rmt_ip4 connection.rmt_ip.ip4 |
◆ c_rmt_ip6
#define c_rmt_ip6 connection.rmt_ip.ip6 |
◆ c_rmt_port
#define c_rmt_port connection.rmt_port |
◆ c_s_index
#define c_s_index connection.s_index |
◆ c_stats
#define c_stats connection.stats |
◆ c_thread_index
#define c_thread_index connection.thread_index |
◆ ENDPOINT_INVALID_INDEX
#define ENDPOINT_INVALID_INDEX ((u32)~0) |
◆ foreach_transport_endpoint_cfg_fields
#define foreach_transport_endpoint_cfg_fields |
Value:foreach_transport_endpoint_fields \
Definition at line 140 of file transport.h.
◆ foreach_transport_endpoint_fields
#define foreach_transport_endpoint_fields |
Value:
fib table endpoint is associated with
Definition at line 125 of file transport.h.
◆ TRANSPORT_CONNECTION_F_IS_TX_PACED
#define TRANSPORT_CONNECTION_F_IS_TX_PACED 1 << 0 |
◆ spacer_t
◆ transport_connection_t
◆ transport_endpoint_cfg_t
◆ transport_endpoint_t
◆ transport_endpoint_table_t
◆ transport_proto_t
◆ transport_stats_t
◆ format_transport_connection()
u8* format_transport_connection |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_transport_half_open_connection()
u8* format_transport_half_open_connection |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_transport_listen_connection()
u8* format_transport_listen_connection |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_transport_proto()
u8* format_transport_proto |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_transport_proto_short()
u8* format_transport_proto_short |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ transport_alloc_local_endpoint()
◆ transport_alloc_local_port()
int transport_alloc_local_port |
( |
u8 |
proto, |
|
|
ip46_address_t * |
ip |
|
) |
| |
Allocate local port and add if successful add entry to local endpoint table to mark the pair as used.
Definition at line 334 of file transport.c.
◆ transport_connection_fib_proto()
◆ transport_endpoint_cleanup()
void transport_endpoint_cleanup |
( |
u8 |
proto, |
|
|
ip46_address_t * |
lcl_ip, |
|
|
u16 |
port |
|
) |
| |
◆ transport_endpoint_fib_proto()
◆ transport_init()
void transport_init |
( |
void |
| ) |
|
◆ transport_protocol_is_cl()
◆ unformat_transport_proto()