FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | TRANSPORT_ENDPOINT_INVALID_INDEX ((u32)~0) |
Typedefs | |
typedef struct _transport_proto_vft | transport_proto_vft_t |
typedef clib_bihash_24_8_t | transport_endpoint_table_t |
Functions | |
u32 | transport_endpoint_lookup (transport_endpoint_table_t *ht, ip46_address_t *ip, u16 port) |
void | transport_endpoint_table_add (transport_endpoint_table_t *ht, transport_endpoint_t *te, u32 value) |
void | transport_endpoint_table_del (transport_endpoint_table_t *ht, transport_endpoint_t *te) |
void | session_register_transport (transport_proto_t transport_proto, u8 is_ip4, const transport_proto_vft_t *vft) |
Register transport virtual function table. More... | |
transport_proto_vft_t * | session_get_transport_vft (u8 session_type) |
Get transport virtual function table. More... | |
#define TRANSPORT_ENDPOINT_INVALID_INDEX ((u32)~0) |
Definition at line 61 of file transport_interface.h.
typedef clib_bihash_24_8_t transport_endpoint_table_t |
Definition at line 59 of file transport_interface.h.
typedef struct _transport_proto_vft transport_proto_vft_t |
transport_proto_vft_t* session_get_transport_vft | ( | u8 | session_type | ) |
Get transport virtual function table.
type | - session type (not protocol type) |
Definition at line 96 of file transport_interface.c.
void session_register_transport | ( | transport_proto_t | transport_proto, |
u8 | is_ip4, | ||
const transport_proto_vft_t * | vft | ||
) |
Register transport virtual function table.
type | - session type (not protocol type) |
vft | - virtual function table |
Definition at line 76 of file transport_interface.c.
u32 transport_endpoint_lookup | ( | transport_endpoint_table_t * | ht, |
ip46_address_t * | ip, | ||
u16 | port | ||
) |
void transport_endpoint_table_add | ( | transport_endpoint_table_t * | ht, |
transport_endpoint_t * | te, | ||
u32 | value | ||
) |
void transport_endpoint_table_del | ( | transport_endpoint_table_t * | ht, |
transport_endpoint_t * | te | ||
) |