NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
tcp_session_table.h File Reference
#include <stdint.h>
#include <rte_common.h>
#include <rte_byteorder.h>
#include <rte_hash.h>
Include dependency graph for tcp_session_table.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tcp_session_key
 
struct  tcp_session_entry
 

Macros

#define TCP_SESSION_MAX_ENTRIES   4096
 

Functions

uint32_t tcp_session_table_crc (const void *data, uint32_t data_len, uint32_t init_val)
 
struct tcp_session_entrytcp_session_table_find (struct tcp_session_key *key)
 
void tcp_session_table_delete (struct tcp_session_entry *entry)
 
struct tcp_session_entrytcp_session_table_new (struct tcp_session_key *key)
 

Variables

struct rte_hash_parameters tcp_session_ht_params
 
struct rte_hash * tcp_session_table
 

Macro Definition Documentation

◆ TCP_SESSION_MAX_ENTRIES

#define TCP_SESSION_MAX_ENTRIES   4096

Definition at line 34 of file tcp_session_table.h.

Function Documentation

◆ tcp_session_table_crc()

uint32_t tcp_session_table_crc ( const void *  data,
uint32_t  data_len,
uint32_t  init_val 
)

◆ tcp_session_table_delete()

void tcp_session_table_delete ( struct tcp_session_entry entry)

◆ tcp_session_table_find()

struct tcp_session_entry* tcp_session_table_find ( struct tcp_session_key key)

◆ tcp_session_table_new()

struct tcp_session_entry* tcp_session_table_new ( struct tcp_session_key key)

Variable Documentation

◆ tcp_session_ht_params

struct rte_hash_parameters tcp_session_ht_params
extern

Definition at line 1 of file tcp_session_table.c.

◆ tcp_session_table

struct rte_hash* tcp_session_table
extern

Definition at line 39 of file tcp_session_table.c.