]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/linux/icmpv6.h
1 #ifndef _LINUX_ICMPV6_H
2 #define _LINUX_ICMPV6_H
4 #include <linux/skbuff.h>
5 #include <uapi/linux/icmpv6.h>
7 static inline struct icmp6hdr
*icmp6_hdr(const struct sk_buff
*skb
)
9 return (struct icmp6hdr
*)skb_transport_header(skb
);
12 #include <linux/netdevice.h>
14 extern void icmpv6_send(struct sk_buff
*skb
,
18 extern int icmpv6_init(void);
19 extern int icmpv6_err_convert(u8 type
, u8 code
,
21 extern void icmpv6_cleanup(void);
22 extern void icmpv6_param_prob(struct sk_buff
*skb
,
27 extern void icmpv6_flow_init(struct sock
*sk
,
30 const struct in6_addr
*saddr
,
31 const struct in6_addr
*daddr
,