aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tc_act
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/net/tc_act
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/net/tc_act')
-rw-r--r--include/net/tc_act/tc_gact.h17
-rw-r--r--include/net/tc_act/tc_ipt.h16
-rw-r--r--include/net/tc_act/tc_mirred.h15
-rw-r--r--include/net/tc_act/tc_pedit.h14
4 files changed, 62 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_gact.h b/include/net/tc_act/tc_gact.h
new file mode 100644
index 000000000000..59f0d9628ad1
--- /dev/null
+++ b/include/net/tc_act/tc_gact.h
@@ -0,0 +1,17 @@
1#ifndef __NET_TC_GACT_H
2#define __NET_TC_GACT_H
3
4#include <net/act_api.h>
5
6struct tcf_gact
7{
8 tca_gen(gact);
9#ifdef CONFIG_GACT_PROB
10 u16 ptype;
11 u16 pval;
12 int paction;
13#endif
14
15};
16
17#endif
diff --git a/include/net/tc_act/tc_ipt.h b/include/net/tc_act/tc_ipt.h
new file mode 100644
index 000000000000..02eccebd55ae
--- /dev/null
+++ b/include/net/tc_act/tc_ipt.h
@@ -0,0 +1,16 @@
1#ifndef __NET_TC_IPT_H
2#define __NET_TC_IPT_H
3
4#include <net/act_api.h>
5
6struct ipt_entry_target;
7
8struct tcf_ipt
9{
10 tca_gen(ipt);
11 u32 hook;
12 char *tname;
13 struct ipt_entry_target *t;
14};
15
16#endif
diff --git a/include/net/tc_act/tc_mirred.h b/include/net/tc_act/tc_mirred.h
new file mode 100644
index 000000000000..b5c32f65c12c
--- /dev/null
+++ b/include/net/tc_act/tc_mirred.h
@@ -0,0 +1,15 @@
1#ifndef __NET_TC_MIR_H
2#define __NET_TC_MIR_H
3
4#include <net/act_api.h>
5
6struct tcf_mirred
7{
8 tca_gen(mirred);
9 int eaction;
10 int ifindex;
11 int ok_push;
12 struct net_device *dev;
13};
14
15#endif
diff --git a/include/net/tc_act/tc_pedit.h b/include/net/tc_act/tc_pedit.h
new file mode 100644
index 000000000000..eb21689d759d
--- /dev/null
+++ b/include/net/tc_act/tc_pedit.h
@@ -0,0 +1,14 @@
1#ifndef __NET_TC_PED_H
2#define __NET_TC_PED_H
3
4#include <net/act_api.h>
5
6struct tcf_pedit
7{
8 tca_gen(pedit);
9 unsigned char nkeys;
10 unsigned char flags;
11 struct tc_pedit_key *keys;
12};
13
14#endif