Go to the source code of this file.
#define transport_proto_foreach |
( |
|
VAR, |
|
|
|
BODY |
|
) |
| |
Value:do { \
if (
tp_vfts[VAR].push_header != 0) \
do { BODY; } while (0); \
} while (0)
transport_proto_vft_t * tp_vfts
Per-type vector of transport protocol virtual function tables.
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
Definition at line 63 of file transport_interface.h.
Get transport virtual function table.
- Parameters
-
type | - session type (not protocol type) |
Definition at line 167 of file transport.c.
Register transport virtual function table.
- Parameters
-
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 149 of file transport.c.
void transport_update_time |
( |
f64 |
time_now, |
|
|
u8 |
thread_index |
|
) |
| |
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.