Merge tag 'for-usb-linus-2012-10-11' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / include / linux / icmpv6.h
CommitLineData
1da177e4
LT
1#ifndef _LINUX_ICMPV6_H
2#define _LINUX_ICMPV6_H
3
cc70ab26 4#include <linux/skbuff.h>
607ca46e 5#include <uapi/linux/icmpv6.h>
cc70ab26
ACM
6
7static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb)
8{
9c70220b 9 return (struct icmp6hdr *)skb_transport_header(skb);
cc70ab26 10}
1da177e4
LT
11
12#include <linux/netdevice.h>
1da177e4
LT
13
14extern void icmpv6_send(struct sk_buff *skb,
d5fdd6ba 15 u8 type, u8 code,
3ffe533c 16 __u32 info);
1da177e4 17
9b0f976f 18extern int icmpv6_init(void);
d5fdd6ba 19extern int icmpv6_err_convert(u8 type, u8 code,
1da177e4
LT
20 int *err);
21extern void icmpv6_cleanup(void);
22extern void icmpv6_param_prob(struct sk_buff *skb,
d5fdd6ba 23 u8 code, int pos);
95e41e93 24
4c9483b2 25struct flowi6;
f59d4389 26struct in6_addr;
95e41e93 27extern void icmpv6_flow_init(struct sock *sk,
4c9483b2 28 struct flowi6 *fl6,
95e41e93
YH
29 u8 type,
30 const struct in6_addr *saddr,
31 const struct in6_addr *daddr,
32 int oif);
1da177e4 33#endif
This page took 0.83753 seconds and 5 git commands to generate.