mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
25
include/net/flowcache.h
Normal file
25
include/net/flowcache.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef _NET_FLOWCACHE_H
|
||||
#define _NET_FLOWCACHE_H
|
||||
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/timer.h>
|
||||
#include <linux/notifier.h>
|
||||
|
||||
struct flow_cache_percpu {
|
||||
struct hlist_head *hash_table;
|
||||
int hash_count;
|
||||
u32 hash_rnd;
|
||||
int hash_rnd_recalc;
|
||||
struct tasklet_struct flush_tasklet;
|
||||
};
|
||||
|
||||
struct flow_cache {
|
||||
u32 hash_shift;
|
||||
struct flow_cache_percpu __percpu *percpu;
|
||||
struct notifier_block hotcpu_notifier;
|
||||
int low_watermark;
|
||||
int high_watermark;
|
||||
struct timer_list rnd_timer;
|
||||
};
|
||||
#endif /* _NET_FLOWCACHE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue