icmp.h (f2cbb4f01936a3e4225692e03b084b78c56d386d) icmp.h (20380731bc2897f2952ae055420972ded4cd786e)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Definitions for the ICMP module.
7 *
8 * Version: @(#)icmp.h 1.0.4 05/13/93

--- 43 unchanged lines hidden (view full) ---

52 struct icmp_filter filter;
53};
54
55static inline struct raw_sock *raw_sk(const struct sock *sk)
56{
57 return (struct raw_sock *)sk;
58}
59
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Definitions for the ICMP module.
7 *
8 * Version: @(#)icmp.h 1.0.4 05/13/93

--- 43 unchanged lines hidden (view full) ---

52 struct icmp_filter filter;
53};
54
55static inline struct raw_sock *raw_sk(const struct sock *sk)
56{
57 return (struct raw_sock *)sk;
58}
59
60extern int sysctl_icmp_echo_ignore_all;
61extern int sysctl_icmp_echo_ignore_broadcasts;
62extern int sysctl_icmp_ignore_bogus_error_responses;
63extern int sysctl_icmp_errors_use_inbound_ifaddr;
64extern int sysctl_icmp_ratelimit;
65extern int sysctl_icmp_ratemask;
66
60#endif /* _ICMP_H */
67#endif /* _ICMP_H */