tc_gact.h 331 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5
#ifndef __NET_TC_GACT_H
#define __NET_TC_GACT_H

#include <net/act_api.h>

6 7
struct tcf_gact {
	struct tcf_common	common;
L
Linus Torvalds 已提交
8
#ifdef CONFIG_GACT_PROB
9 10 11 12
	u16			tcfg_ptype;
	u16			tcfg_pval;
	int			tcfg_paction;
	atomic_t		packets;
L
Linus Torvalds 已提交
13 14
#endif
};
15 16
#define to_gact(a) \
	container_of(a->priv, struct tcf_gact, common)
17 18

#endif /* __NET_TC_GACT_H */