FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Go to the source code of this file.
Typedefs | |
typedef struct _session_lookup | session_lookup_t |
typedef struct _session_lookup session_lookup_t |
void session_lookup_init | ( | void | ) |
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.
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.
void stream_session_half_open_table_add | ( | transport_connection_t * | tc, |
u64 | value | ||
) |
Definition at line 226 of file session_lookup.c.
void stream_session_half_open_table_del | ( | transport_connection_t * | tc | ) |
Definition at line 249 of file session_lookup.c.
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.
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.
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.
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.
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.
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.
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.
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 | thread_index | ||
) |
Definition at line 447 of file session_lookup.c.
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 | thread_index | ||
) |
Definition at line 510 of file session_lookup.c.
void stream_session_table_add_for_tc | ( | transport_connection_t * | tc, |
u64 | value | ||
) |
Definition at line 161 of file session_lookup.c.
int stream_session_table_del | ( | stream_session_t * | s | ) |
Definition at line 216 of file session_lookup.c.
int stream_session_table_del_for_tc | ( | transport_connection_t * | tc | ) |
Definition at line 193 of file session_lookup.c.