]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/linux-26-headers/include/linux/tc_act/tc_pedit.h
update
[l4.git] / l4 / pkg / linux-26-headers / include / linux / tc_act / tc_pedit.h
index 83e56e32e8e050d6733527bb3329abb1807d362e..716cfabcd5b2fa6064588b118b7721f29477bf30 100644 (file)
@@ -1,12 +1,12 @@
 #ifndef __LINUX_TC_PED_H
 #define __LINUX_TC_PED_H
 
+#include <linux/types.h>
 #include <linux/pkt_cls.h>
 
 #define TCA_ACT_PEDIT 7
 
-enum
-{
+enum {
        TCA_PEDIT_UNSPEC,
        TCA_PEDIT_TM,
        TCA_PEDIT_PARMS,
@@ -14,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 */
@@ -24,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;