-
Notifications
You must be signed in to change notification settings - Fork 78
/
flowipmanagermp.hh
45 lines (41 loc) · 1.11 KB
/
flowipmanagermp.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef CLICK_FLOWIPMANAGERMP_HH
#define CLICK_FLOWIPMANAGERMP_HH
#include <click/config.h>
#include <click/string.hh>
#include <click/timer.hh>
#include <click/vector.hh>
#include <click/multithread.hh>
#include <click/batchelement.hh>
#include <click/pair.hh>
#include <click/flow/common.hh>
#include <click/batchbuilder.hh>
#include "flowipmanager.hh"
CLICK_DECLS
class DPDKDevice;
struct rte_hash;
/**
* =c
* FlowIPManagerMP(...)
*
* =s flow
*
* FCB packet classifier, cuckoo thread-safe implementation of DPDK.
*
* =d
* Multi-thread equivalent of FlowIPManager. This version uses DPDK's
* thread-safe implementation of cuckoo hash table to ensure thread safeness.
*
* See @FlowIPManager documentation for usage.
*
* =a FlowIPManger
*/
class FlowIPManagerMP: public FlowIPManager {
public:
FlowIPManagerMP() CLICK_COLD;
~FlowIPManagerMP() CLICK_COLD;
const char *class_name() const override { return "FlowIPManagerMP"; }
const char *port_count() const override { return "1/1"; }
const char *processing() const override { return PUSH; }
};
CLICK_ENDDECLS
#endif