![]() |
FD.io VPP
v18.04-17-g3a0d853
Vector Packet Processing
|
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_proto_foreach(VAR, BODY) |
Typedefs | |
| typedef enum transport_dequeue_type_ | transport_tx_fn_type_t |
| typedef enum transport_service_type_ | transport_service_type_t |
| typedef struct _transport_proto_vft | transport_proto_vft_t |
Functions | |
| void | transport_register_protocol (transport_proto_t transport_proto, const transport_proto_vft_t *vft, fib_protocol_t fib_proto, u32 output_node) |
| Register transport virtual function table. More... | |
| transport_proto_vft_t * | transport_protocol_get_vft (transport_proto_t tp) |
| Get transport virtual function table. More... | |
| void | transport_update_time (f64 time_now, u8 thread_index) |
| void | transport_enable_disable (vlib_main_t *vm, u8 is_en) |
Variables | |
| transport_proto_vft_t * | tp_vfts |
| Per-type vector of transport protocol virtual function tables. More... | |
| #define transport_proto_foreach | ( | VAR, | |
| BODY | |||
| ) |
Definition at line 88 of file transport_interface.h.
| typedef struct _transport_proto_vft transport_proto_vft_t |
| typedef enum transport_service_type_ transport_service_type_t |
| typedef enum transport_dequeue_type_ transport_tx_fn_type_t |
| Enumerator | |
|---|---|
| TRANSPORT_TX_PEEK |
reliable transport protos |
| TRANSPORT_TX_DEQUEUE |
unreliable transport protos |
| TRANSPORT_TX_INTERNAL |
apps acting as transports |
| TRANSPORT_TX_N_FNS | |
Definition at line 22 of file transport_interface.h.
| Enumerator | |
|---|---|
| TRANSPORT_SERVICE_VC |
virtual circuit service |
| TRANSPORT_SERVICE_CL |
connectionless service |
| TRANSPORT_SERVICE_APP |
app transport service |
| TRANSPORT_N_SERVICES | |
Definition at line 30 of file transport_interface.h.
| void transport_enable_disable | ( | vlib_main_t * | vm, |
| u8 | is_en | ||
| ) |
| transport_proto_vft_t* transport_protocol_get_vft | ( | transport_proto_t | transport_proto | ) |
Get transport virtual function table.
| type | - session type (not protocol type) |
Definition at line 181 of file transport.c.
Here is the caller graph for this function:| void transport_register_protocol | ( | transport_proto_t | transport_proto, |
| const transport_proto_vft_t * | vft, | ||
| fib_protocol_t | fib_proto, | ||
| u32 | output_node | ||
| ) |
Register transport virtual function table.
| transport_proto | - transport protocol type (i.e., TCP, UDP ..) |
| vft | - virtual function table for transport proto |
| fib_proto | - network layer protocol |
| output_node | - output node index that session layer will hand off buffers to, for requested fib proto |
Definition at line 163 of file transport.c.
Here is the call graph for this function:
Here is the caller graph for this function:| transport_proto_vft_t* tp_vfts |
Per-type vector of transport protocol virtual function tables.
Generate typed init functions for multiple hash table styles...
Definition at line 23 of file transport.c.