FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
transport_interface.h File Reference
+ Include dependency graph for transport_interface.h:
+ This graph shows which files directly or indirectly include this file:

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_tsession_get_transport_vft (u8 session_type)
 Get transport virtual function table. More...
 

Macro Definition Documentation

#define TRANSPORT_ENDPOINT_INVALID_INDEX   ((u32)~0)

Definition at line 61 of file transport_interface.h.

Typedef Documentation

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

Function Documentation

transport_proto_vft_t* session_get_transport_vft ( u8  session_type)

Get transport virtual function table.

Parameters
type- session type (not protocol type)

Definition at line 96 of file transport_interface.c.

+ Here is the caller graph for this function:

void session_register_transport ( transport_proto_t  transport_proto,
u8  is_ip4,
const transport_proto_vft_t vft 
)

Register transport virtual function table.

Parameters
type- session type (not protocol type)
vft- virtual function table

Definition at line 76 of file transport_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 transport_endpoint_lookup ( transport_endpoint_table_t ht,
ip46_address_t *  ip,
u16  port 
)

Definition at line 25 of file transport_interface.c.

+ Here is the caller graph for this function:

void transport_endpoint_table_add ( transport_endpoint_table_t ht,
transport_endpoint_t te,
u32  value 
)

Definition at line 43 of file transport_interface.c.

+ Here is the caller graph for this function:

void transport_endpoint_table_del ( transport_endpoint_table_t ht,
transport_endpoint_t te 
)

Definition at line 57 of file transport_interface.c.

+ Here is the caller graph for this function: