]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/net/flowcache.h
netlink: pass extended ACK struct to parsing functions
[mirror_ubuntu-bionic-kernel.git] / include / net / flowcache.h
CommitLineData
ca925cf1
FD
1#ifndef _NET_FLOWCACHE_H
2#define _NET_FLOWCACHE_H
3
4#include <linux/interrupt.h>
5#include <linux/types.h>
6#include <linux/timer.h>
7#include <linux/notifier.h>
8
9struct flow_cache_percpu {
10 struct hlist_head *hash_table;
ec2e45a9 11 unsigned int hash_count;
ca925cf1
FD
12 u32 hash_rnd;
13 int hash_rnd_recalc;
14 struct tasklet_struct flush_tasklet;
15};
16
17struct flow_cache {
18 u32 hash_shift;
19 struct flow_cache_percpu __percpu *percpu;
a4fc1bfc 20 struct hlist_node node;
ec2e45a9
AD
21 unsigned int low_watermark;
22 unsigned int high_watermark;
ca925cf1
FD
23 struct timer_list rnd_timer;
24};
25#endif /* _NET_FLOWCACHE_H */