cregit-Linux how code gets into the kernel

Release 4.7 include/net/netfilter/xt_rateest.h

#ifndef _XT_RATEEST_H

#define _XT_RATEEST_H


struct xt_rateest {
	/* keep lock and bstats on same cache line to speedup xt_rateest_tg() */
	
struct gnet_stats_basic_packed	bstats;
	
spinlock_t			lock;
	/* keep rstats and lock on same cache line to speedup xt_rateest_mt() */
	
struct gnet_stats_rate_est64	rstats;

	/* following fields not accessed in hot path */
	
struct hlist_node		list;
	
char				name[IFNAMSIZ];
	
unsigned int			refcnt;
	
struct gnet_estimator		params;
	
struct rcu_head			rcu;
};

struct xt_rateest *xt_rateest_lookup(const char *name);
void xt_rateest_put(struct xt_rateest *est);

#endif /* _XT_RATEEST_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
patrick mchardypatrick mchardy5274.29%125.00%
eric dumazeteric dumazet1825.71%375.00%
Total70100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}