#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <doca_flow.h>
#include <doca_log.h>
#include "simple_fwd.h"
#include "simple_fwd_ft.h"
Go to the source code of this file.
|
| | DOCA_LOG_REGISTER (SIMPLE_FWD_FT) |
| |
| void | simple_fwd_ft_update_age_sec (struct simple_fwd_ft_entry *e, uint32_t age_sec) |
| |
| void | simple_fwd_ft_update_expiration (struct simple_fwd_ft_entry *e) |
| |
| static bool | simple_fwd_ft_update_counter (struct simple_fwd_ft_entry *e) |
| |
| static void | _ft_destroy_entry (struct simple_fwd_ft *ft, struct simple_fwd_ft_entry *ft_entry) |
| |
| void | simple_fwd_ft_destroy_entry (struct simple_fwd_ft *ft, struct simple_fwd_ft_entry *ft_entry) |
| |
| static bool | simple_fwd_ft_aging_ft_entry (struct simple_fwd_ft *ft, unsigned int i) |
| |
| static void * | simple_fwd_ft_aging_main (void *void_ptr) |
| |
| static int | simple_fwd_ft_aging_thread_start (struct simple_fwd_ft *ft, pthread_t *thread_id) |
| |
| static int | simple_fwd_ft_key_fill (struct simple_fwd_pkt_info *pinfo, struct simple_fwd_ft_key *key) |
| |
| static bool | simple_fwd_ft_key_equal (struct simple_fwd_ft_key *key1, struct simple_fwd_ft_key *key2) |
| |
| struct simple_fwd_ft * | simple_fwd_ft_create (int nb_flows, uint32_t user_data_size, void(*simple_fwd_aging_cb)(struct simple_fwd_ft_user_ctx *ctx), void(*simple_fwd_aging_hw_cb)(void), bool age_thread) |
| |
| static struct simple_fwd_ft_entry * | _simple_fwd_ft_find (struct simple_fwd_ft *ft, struct simple_fwd_ft_key *key) |
| |
| doca_error_t | simple_fwd_ft_find (struct simple_fwd_ft *ft, struct simple_fwd_pkt_info *pinfo, struct simple_fwd_ft_user_ctx **ctx) |
| |
| doca_error_t | simple_fwd_ft_add_new (struct simple_fwd_ft *ft, struct simple_fwd_pkt_info *pinfo, struct simple_fwd_ft_user_ctx **ctx) |
| |
| doca_error_t | simple_fwd_ft_destroy (struct simple_fwd_ft *ft) |
| |
◆ _ft_destroy_entry()
◆ _simple_fwd_ft_find()
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
SIMPLE_FWD_FT |
| ) |
|
◆ simple_fwd_ft_add_new()
◆ simple_fwd_ft_aging_ft_entry()
| static bool simple_fwd_ft_aging_ft_entry |
( |
struct simple_fwd_ft * |
ft, |
|
|
unsigned int |
i |
|
) |
| |
|
static |
◆ simple_fwd_ft_aging_main()
| static void* simple_fwd_ft_aging_main |
( |
void * |
void_ptr | ) |
|
|
static |
◆ simple_fwd_ft_aging_thread_start()
| static int simple_fwd_ft_aging_thread_start |
( |
struct simple_fwd_ft * |
ft, |
|
|
pthread_t * |
thread_id |
|
) |
| |
|
static |
◆ simple_fwd_ft_create()
◆ simple_fwd_ft_destroy()
◆ simple_fwd_ft_destroy_entry()
◆ simple_fwd_ft_find()
◆ simple_fwd_ft_key_equal()
◆ simple_fwd_ft_key_fill()
◆ simple_fwd_ft_update_age_sec()
◆ simple_fwd_ft_update_counter()
◆ simple_fwd_ft_update_expiration()