diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-14 21:11:51 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:22:56 -0800 |
commit | 47c183fa5ea7feebc356da8ccbd9105a41f8e534 (patch) | |
tree | 632e361178e7af9070c68ff0d7784a6a5d79c65e /net/bridge/netfilter/ebt_log.c | |
parent | 30d492da738a8d5f4ec884b3e1a13eef97714994 (diff) | |
download | kernel_samsung_smdk4412-47c183fa5ea7feebc356da8ccbd9105a41f8e534.zip kernel_samsung_smdk4412-47c183fa5ea7feebc356da8ccbd9105a41f8e534.tar.gz kernel_samsung_smdk4412-47c183fa5ea7feebc356da8ccbd9105a41f8e534.tar.bz2 |
[BRIDGE]: Annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/netfilter/ebt_log.c')
-rw-r--r-- | net/bridge/netfilter/ebt_log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bridge/netfilter/ebt_log.c b/net/bridge/netfilter/ebt_log.c index 466ed34..a184f87 100644 --- a/net/bridge/netfilter/ebt_log.c +++ b/net/bridge/netfilter/ebt_log.c @@ -38,8 +38,8 @@ static int ebt_log_check(const char *tablename, unsigned int hookmask, struct tcpudphdr { - uint16_t src; - uint16_t dst; + __be16 src; + __be16 dst; }; struct arppayload @@ -130,7 +130,7 @@ ebt_log_packet(unsigned int pf, unsigned int hooknum, * then log the ARP payload */ if (ah->ar_hrd == htons(1) && ah->ar_hln == ETH_ALEN && - ah->ar_pln == sizeof(uint32_t)) { + ah->ar_pln == sizeof(__be32)) { struct arppayload _arpp, *ap; ap = skb_header_pointer(skb, sizeof(_arph), |