1 #ifndef __LINUX_ICMP_WRAPPER_H
2 #define __LINUX_ICMP_WRAPPER_H 1
4 #include_next <linux/icmp.h>
6 #ifndef HAVE_SKBUFF_HEADER_HELPERS
7 static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb)
9 return (struct icmphdr *)skb_transport_header(skb);