summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-06-06 04:06:41 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-18 04:29:39 (GMT)
commit6d7416535097ed0943bdae8e69c14ba43061cab1 (patch)
treef71792b9ac32edd8016900067b55dff8f3941cf3 /include/net
parent338fcf9886df9ad2873772197a73a57818973316 (diff)
downloadlinux-6d7416535097ed0943bdae8e69c14ba43061cab1.tar.xz
[IPV4]: Right prototype of __raw_v4_lookup()
All users pass 32-bit values as addresses and internally they're compared with 32-bit entities. So, change "laddr" and "raddr" types to __be32. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/raw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/raw.h b/include/net/raw.h
index e67b28a..d83571f 100644
--- a/include/net/raw.h
+++ b/include/net/raw.h
@@ -36,7 +36,7 @@ extern rwlock_t raw_v4_lock;
extern struct sock *__raw_v4_lookup(struct sock *sk, unsigned short num,
- unsigned long raddr, unsigned long laddr,
+ __be32 raddr, __be32 laddr,
int dif);
extern int raw_v4_input(struct sk_buff *skb, struct iphdr *iph, int hash);