summaryrefslogtreecommitdiffstats
path: root/include/net/raw.h
diff options
context:
space:
mode:
authorPatrick McHardy2005-08-10 04:45:02 +0200
committerDavid S. Miller2005-08-30 00:37:22 +0200
commitd13964f4490157b8a290903362bfbc54f750a6bc (patch)
tree377297846b513224a30185fb279afd6640e361f5 /include/net/raw.h
parent[IPV6]: Check interface bindings on IPv6 raw socket reception (diff)
downloadkernel-qcow2-linux-d13964f4490157b8a290903362bfbc54f750a6bc.tar.gz
kernel-qcow2-linux-d13964f4490157b8a290903362bfbc54f750a6bc.tar.xz
kernel-qcow2-linux-d13964f4490157b8a290903362bfbc54f750a6bc.zip
[IPV4/6]: Check if packet was actually delivered to a raw socket to decide whether to send an ICMP unreachable
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/raw.h')
-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 1c411c45587a..1c4bc3e6809f 100644
--- a/include/net/raw.h
+++ b/include/net/raw.h
@@ -37,6 +37,6 @@ extern struct sock *__raw_v4_lookup(struct sock *sk, unsigned short num,
unsigned long raddr, unsigned long laddr,
int dif);
-extern void raw_v4_input(struct sk_buff *skb, struct iphdr *iph, int hash);
+extern int raw_v4_input(struct sk_buff *skb, struct iphdr *iph, int hash);
#endif /* _RAW_H */