aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tc_act/tc_mirred.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-11-04 09:50:58 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-04 09:50:58 -0800
commitd94d9fee9fa4e66a0b91640a694b8b10177075b3 (patch)
tree330b2b19e63c92f1fef3d9dbe0733ddeb0109664 /include/linux/tc_act/tc_mirred.h
parentNET: sungem, use spin_trylock_irqsave (diff)
downloadlinux-dev-d94d9fee9fa4e66a0b91640a694b8b10177075b3.tar.xz
linux-dev-d94d9fee9fa4e66a0b91640a694b8b10177075b3.zip
net: cleanup include/linux
This cleanup patch puts struct/union/enum opening braces, in first line to ease grep games. struct something { becomes : struct something { Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tc_act/tc_mirred.h')
-rw-r--r--include/linux/tc_act/tc_mirred.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/tc_act/tc_mirred.h b/include/linux/tc_act/tc_mirred.h
index 0a99ab60d610..7561750e8fd6 100644
--- a/include/linux/tc_act/tc_mirred.h
+++ b/include/linux/tc_act/tc_mirred.h
@@ -10,15 +10,13 @@
#define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/
#define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */
-struct tc_mirred
-{
+struct tc_mirred {
tc_gen;
int eaction; /* one of IN/EGRESS_MIRROR/REDIR */
__u32 ifindex; /* ifindex of egress port */
};
-enum
-{
+enum {
TCA_MIRRED_UNSPEC,
TCA_MIRRED_TM,
TCA_MIRRED_PARMS,