aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tc_act/tc_pedit.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_pedit.h
parentb8883a65be2d925ea82b14ca0068ce9a6c8bac1f (diff)
downloadkernel_samsung_smdk4412-d94d9fee9fa4e66a0b91640a694b8b10177075b3.zip
kernel_samsung_smdk4412-d94d9fee9fa4e66a0b91640a694b8b10177075b3.tar.gz
kernel_samsung_smdk4412-d94d9fee9fa4e66a0b91640a694b8b10177075b3.tar.bz2
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_pedit.h')
-rw-r--r--include/linux/tc_act/tc_pedit.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/tc_act/tc_pedit.h b/include/linux/tc_act/tc_pedit.h
index 54ce906..716cfab 100644
--- a/include/linux/tc_act/tc_pedit.h
+++ b/include/linux/tc_act/tc_pedit.h
@@ -6,8 +6,7 @@
#define TCA_ACT_PEDIT 7
-enum
-{
+enum {
TCA_PEDIT_UNSPEC,
TCA_PEDIT_TM,
TCA_PEDIT_PARMS,
@@ -15,8 +14,7 @@ enum
};
#define TCA_PEDIT_MAX (__TCA_PEDIT_MAX - 1)
-struct tc_pedit_key
-{
+struct tc_pedit_key {
__u32 mask; /* AND */
__u32 val; /*XOR */
__u32 off; /*offset */
@@ -25,8 +23,7 @@ struct tc_pedit_key
__u32 shift;
};
-struct tc_pedit_sel
-{
+struct tc_pedit_sel {
tc_gen;
unsigned char nkeys;
unsigned char flags;