Creation of Cybook 2416 (actually Gen4) repository
This commit is contained in:
14
include/net/tc_act/tc_defact.h
Normal file
14
include/net/tc_act/tc_defact.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef __NET_TC_DEF_H
|
||||
#define __NET_TC_DEF_H
|
||||
|
||||
#include <net/act_api.h>
|
||||
|
||||
struct tcf_defact {
|
||||
struct tcf_common common;
|
||||
u32 tcfd_datalen;
|
||||
void *tcfd_defdata;
|
||||
};
|
||||
#define to_defact(pc) \
|
||||
container_of(pc, struct tcf_defact, common)
|
||||
|
||||
#endif /* __NET_TC_DEF_H */
|
||||
17
include/net/tc_act/tc_gact.h
Normal file
17
include/net/tc_act/tc_gact.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __NET_TC_GACT_H
|
||||
#define __NET_TC_GACT_H
|
||||
|
||||
#include <net/act_api.h>
|
||||
|
||||
struct tcf_gact {
|
||||
struct tcf_common common;
|
||||
#ifdef CONFIG_GACT_PROB
|
||||
u16 tcfg_ptype;
|
||||
u16 tcfg_pval;
|
||||
int tcfg_paction;
|
||||
#endif
|
||||
};
|
||||
#define to_gact(pc) \
|
||||
container_of(pc, struct tcf_gact, common)
|
||||
|
||||
#endif /* __NET_TC_GACT_H */
|
||||
17
include/net/tc_act/tc_ipt.h
Normal file
17
include/net/tc_act/tc_ipt.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __NET_TC_IPT_H
|
||||
#define __NET_TC_IPT_H
|
||||
|
||||
#include <net/act_api.h>
|
||||
|
||||
struct xt_entry_target;
|
||||
|
||||
struct tcf_ipt {
|
||||
struct tcf_common common;
|
||||
u32 tcfi_hook;
|
||||
char *tcfi_tname;
|
||||
struct xt_entry_target *tcfi_t;
|
||||
};
|
||||
#define to_ipt(pc) \
|
||||
container_of(pc, struct tcf_ipt, common)
|
||||
|
||||
#endif /* __NET_TC_IPT_H */
|
||||
16
include/net/tc_act/tc_mirred.h
Normal file
16
include/net/tc_act/tc_mirred.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __NET_TC_MIR_H
|
||||
#define __NET_TC_MIR_H
|
||||
|
||||
#include <net/act_api.h>
|
||||
|
||||
struct tcf_mirred {
|
||||
struct tcf_common common;
|
||||
int tcfm_eaction;
|
||||
int tcfm_ifindex;
|
||||
int tcfm_ok_push;
|
||||
struct net_device *tcfm_dev;
|
||||
};
|
||||
#define to_mirred(pc) \
|
||||
container_of(pc, struct tcf_mirred, common)
|
||||
|
||||
#endif /* __NET_TC_MIR_H */
|
||||
15
include/net/tc_act/tc_pedit.h
Normal file
15
include/net/tc_act/tc_pedit.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __NET_TC_PED_H
|
||||
#define __NET_TC_PED_H
|
||||
|
||||
#include <net/act_api.h>
|
||||
|
||||
struct tcf_pedit {
|
||||
struct tcf_common common;
|
||||
unsigned char tcfp_nkeys;
|
||||
unsigned char tcfp_flags;
|
||||
struct tc_pedit_key *tcfp_keys;
|
||||
};
|
||||
#define to_pedit(pc) \
|
||||
container_of(pc, struct tcf_pedit, common)
|
||||
|
||||
#endif /* __NET_TC_PED_H */
|
||||
Reference in New Issue
Block a user