mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
61362766d7
commit
0388b00426
4 changed files with 7 additions and 4 deletions
|
|
@ -44,12 +44,13 @@ DECLARE_SNMP_STAT(struct icmpmsg_mib, icmpmsg_statistics);
|
|||
struct dst_entry;
|
||||
struct net_proto_family;
|
||||
struct sk_buff;
|
||||
struct net;
|
||||
|
||||
extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info);
|
||||
extern int icmp_rcv(struct sk_buff *skb);
|
||||
extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg);
|
||||
extern int icmp_init(void);
|
||||
extern void icmp_out_count(unsigned char type);
|
||||
extern void icmp_out_count(struct net *net, unsigned char type);
|
||||
|
||||
/* Move into dst.h ? */
|
||||
extern int xrlim_allow(struct dst_entry *dst, int timeout);
|
||||
|
|
|
|||
Loading…
Reference in a new issue