summaryrefslogtreecommitdiff
path: root/include/linux/pkt_cls.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-03-18 08:46:46 +0300
committerDavid S. Miller <davem@davemloft.net>2008-03-18 08:46:46 +0300
commit0382b9c35469be273ed10fa374496a924055a3c8 (patch)
treea71ff964e57ab8308bca073505aacfd7a3b4a764 /include/linux/pkt_cls.h
parente6f1cebf71c4e7aae7dfa43414ce2631291def9f (diff)
downloadlinux-0382b9c35469be273ed10fa374496a924055a3c8.tar.xz
[PKT_SCHED]: annotate cls_u32
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pkt_cls.h')
-rw-r--r--include/linux/pkt_cls.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/pkt_cls.h b/include/linux/pkt_cls.h
index 28dfc61cf79e..99efbed81fa2 100644
--- a/include/linux/pkt_cls.h
+++ b/include/linux/pkt_cls.h
@@ -201,8 +201,8 @@ enum
struct tc_u32_key
{
- __u32 mask;
- __u32 val;
+ __be32 mask;
+ __be32 val;
int off;
int offmask;
};
@@ -213,12 +213,12 @@ struct tc_u32_sel
unsigned char offshift;
unsigned char nkeys;
- __u16 offmask;
+ __be16 offmask;
__u16 off;
short offoff;
short hoff;
- __u32 hmask;
+ __be32 hmask;
struct tc_u32_key keys[0];
};