diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-15 02:00:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-15 02:05:13 -0400 |
commit | 0388b0042624714e6f8db8cc7994101a0a02d392 (patch) | |
tree | 597834169ca3cab001e2ad3094590c1c076e3736 /include | |
parent | 61362766d769c934a9d12d5516323c544c161908 (diff) |
icmp: add struct net argument to icmp_out_count
This routine deals with ICMP statistics, but doesn't have a
struct net at hands, so add one.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/icmp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/icmp.h b/include/net/icmp.h index dddb839ff4b5..38ca2f39db70 100644 --- a/include/net/icmp.h +++ b/include/net/icmp.h | |||
@@ -44,12 +44,13 @@ DECLARE_SNMP_STAT(struct icmpmsg_mib, icmpmsg_statistics); | |||
44 | struct dst_entry; | 44 | struct dst_entry; |
45 | struct net_proto_family; | 45 | struct net_proto_family; |
46 | struct sk_buff; | 46 | struct sk_buff; |
47 | struct net; | ||
47 | 48 | ||
48 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); | 49 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); |
49 | extern int icmp_rcv(struct sk_buff *skb); | 50 | extern int icmp_rcv(struct sk_buff *skb); |
50 | extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); | 51 | extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
51 | extern int icmp_init(void); | 52 | extern int icmp_init(void); |
52 | extern void icmp_out_count(unsigned char type); | 53 | extern void icmp_out_count(struct net *net, unsigned char type); |
53 | 54 | ||
54 | /* Move into dst.h ? */ | 55 | /* Move into dst.h ? */ |
55 | extern int xrlim_allow(struct dst_entry *dst, int timeout); | 56 | extern int xrlim_allow(struct dst_entry *dst, int timeout); |