Root/
1 | #ifndef _LINUX_ICMPV6_H |
2 | #define _LINUX_ICMPV6_H |
3 | |
4 | #include <linux/skbuff.h> |
5 | #include <uapi/linux/icmpv6.h> |
6 | |
7 | static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) |
8 | { |
9 | return (struct icmp6hdr *)skb_transport_header(skb); |
10 | } |
11 | |
12 | #include <linux/netdevice.h> |
13 | |
14 | #if IS_ENABLED(CONFIG_IPV6) |
15 | extern void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info); |
16 | |
17 | typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info); |
18 | extern int inet6_register_icmp_sender(ip6_icmp_send_t *fn); |
19 | extern int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn); |
20 | |
21 | #else |
22 | |
23 | static inline void icmpv6_send(struct sk_buff *skb, |
24 | u8 type, u8 code, __u32 info) |
25 | { |
26 | |
27 | } |
28 | #endif |
29 | |
30 | extern int icmpv6_init(void); |
31 | extern int icmpv6_err_convert(u8 type, u8 code, |
32 | int *err); |
33 | extern void icmpv6_cleanup(void); |
34 | extern void icmpv6_param_prob(struct sk_buff *skb, |
35 | u8 code, int pos); |
36 | |
37 | struct flowi6; |
38 | struct in6_addr; |
39 | extern void icmpv6_flow_init(struct sock *sk, |
40 | struct flowi6 *fl6, |
41 | u8 type, |
42 | const struct in6_addr *saddr, |
43 | const struct in6_addr *daddr, |
44 | int oif); |
45 | #endif |
46 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9