![]() |
FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Include dependency graph for session_lookup.c:Go to the source code of this file.
Macros | |
| #define | foreach_hash_table_parameter |
Typedefs | |
| typedef clib_bihash_kv_16_8_t | session_kv4_t |
| typedef clib_bihash_kv_48_8_t | session_kv6_t |
Variables | |
| static session_lookup_t | session_lookup |
| Generate typed init functions for multiple hash table styles... More... | |
| transport_proto_vft_t * | tp_vfts |
| Per-type vector of transport protocol virtual function tables. More... | |
| v6_connection_key_t | |
| #define foreach_hash_table_parameter |
Definition at line 572 of file session_lookup.c.
| typedef clib_bihash_kv_16_8_t session_kv4_t |
Definition at line 73 of file session_lookup.c.
| typedef clib_bihash_kv_48_8_t session_kv6_t |
Definition at line 74 of file session_lookup.c.
| typedef CLIB_PACKED | ( | struct{union{struct{ip4_address_t src;ip4_address_t dst;u16 src_port;u16 dst_port;u32 proto;};u64 as_u64[2];};} | ) |
Definition at line 36 of file session_lookup.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 107 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 150 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void session_lookup_init | ( | void | ) |
|
inlinestatic |
| transport_connection_t* stream_session_half_open_lookup | ( | ip46_address_t * | lcl, |
| ip46_address_t * | rmt, | ||
| u16 | lcl_port, | ||
| u16 | rmt_port, | ||
| u8 | proto | ||
| ) |
Definition at line 426 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u64 stream_session_half_open_lookup_handle | ( | ip46_address_t * | lcl, |
| ip46_address_t * | rmt, | ||
| u16 | lcl_port, | ||
| u16 | rmt_port, | ||
| u8 | proto | ||
| ) |
Definition at line 390 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void stream_session_half_open_table_add | ( | transport_connection_t * | tc, |
| u64 | value | ||
| ) |
Definition at line 226 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void stream_session_half_open_table_del | ( | transport_connection_t * | tc | ) |
Definition at line 249 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| stream_session_t* stream_session_lookup4 | ( | ip4_address_t * | lcl, |
| ip4_address_t * | rmt, | ||
| u16 | lcl_port, | ||
| u16 | rmt_port, | ||
| u8 | proto | ||
| ) |
Looks up a session based on the 5-tuple passed as argument.
First it tries to find an established session, if this fails, it tries finding a listener session if this fails, it tries a lookup with a wildcarded local source (listener bound to all interfaces)
Definition at line 297 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| stream_session_t* stream_session_lookup6 | ( | ip6_address_t * | lcl, |
| ip6_address_t * | rmt, | ||
| u16 | lcl_port, | ||
| u16 | rmt_port, | ||
| u8 | proto | ||
| ) |
Definition at line 348 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| stream_session_t* stream_session_lookup_listener | ( | ip46_address_t * | lcl, |
| u16 | lcl_port, | ||
| u8 | proto | ||
| ) |
Definition at line 373 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| stream_session_t* stream_session_lookup_listener4 | ( | ip4_address_t * | lcl, |
| u16 | lcl_port, | ||
| u8 | proto | ||
| ) |
Definition at line 270 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| stream_session_t* stream_session_lookup_listener6 | ( | ip6_address_t * | lcl, |
| u16 | lcl_port, | ||
| u8 | proto | ||
| ) |
Definition at line 323 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| transport_connection_t* stream_session_lookup_transport4 | ( | ip4_address_t * | lcl, |
| ip4_address_t * | rmt, | ||
| u16 | lcl_port, | ||
| u16 | rmt_port, | ||
| u8 | proto | ||
| ) |
Definition at line 479 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| transport_connection_t* stream_session_lookup_transport6 | ( | ip6_address_t * | lcl, |
| ip6_address_t * | rmt, | ||
| u16 | lcl_port, | ||
| u16 | rmt_port, | ||
| u8 | proto | ||
| ) |
Definition at line 542 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| transport_connection_t* stream_session_lookup_transport_wt4 | ( | ip4_address_t * | lcl, |
| ip4_address_t * | rmt, | ||
| u16 | lcl_port, | ||
| u16 | rmt_port, | ||
| u8 | proto, | ||
| u32 | my_thread_index | ||
| ) |
Definition at line 447 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| transport_connection_t* stream_session_lookup_transport_wt6 | ( | ip6_address_t * | lcl, |
| ip6_address_t * | rmt, | ||
| u16 | lcl_port, | ||
| u16 | rmt_port, | ||
| u8 | proto, | ||
| u32 | my_thread_index | ||
| ) |
Definition at line 510 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void stream_session_table_add | ( | session_manager_main_t * | smm, |
| stream_session_t * | s, | ||
| u64 | value | ||
| ) |
| void stream_session_table_add_for_tc | ( | transport_connection_t * | tc, |
| u64 | value | ||
| ) |
Definition at line 161 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int stream_session_table_del | ( | stream_session_t * | s | ) |
Definition at line 216 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int stream_session_table_del_for_tc | ( | transport_connection_t * | tc | ) |
Definition at line 193 of file session_lookup.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Generate typed init functions for multiple hash table styles...
Definition at line 31 of file session_lookup.c.
| transport_proto_vft_t* tp_vfts |
Per-type vector of transport protocol virtual function tables.
Definition at line 22 of file transport_interface.c.
| v6_connection_key_t |
Definition at line 70 of file session_lookup.c.