summaryrefslogtreecommitdiffstats
path: root/include/linux/icmpv6.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-12-06 15:43:30 -0800
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-03-04 15:18:24 +0900
commit95e41e93e18d8e1e272ce23d96bae4f17ce11d42 (patch)
treec3b138bc03f3cb04396b3326b4fed13689b0366d /include/linux/icmpv6.h
parent5e5f3f0f801321078c897a5de0b4b4304f234da0 (diff)
downloadlinux-95e41e93e18d8e1e272ce23d96bae4f17ce11d42.tar.gz
linux-95e41e93e18d8e1e272ce23d96bae4f17ce11d42.tar.bz2
linux-95e41e93e18d8e1e272ce23d96bae4f17ce11d42.zip
[IPV6]: Make ndisc_flow_init() common for later use.
For later use, this patch is renaming ndisc_flow_init() to icmpv6_flow_init() and putting it in common place. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/linux/icmpv6.h')
-rw-r--r--include/linux/icmpv6.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h
index 8f86d6b621c8..e4d4300d768f 100644
--- a/include/linux/icmpv6.h
+++ b/include/linux/icmpv6.h
@@ -182,6 +182,14 @@ extern int icmpv6_err_convert(int type, int code,
extern void icmpv6_cleanup(void);
extern void icmpv6_param_prob(struct sk_buff *skb,
int code, int pos);
+
+struct flowi;
+extern void icmpv6_flow_init(struct sock *sk,
+ struct flowi *fl,
+ u8 type,
+ const struct in6_addr *saddr,
+ const struct in6_addr *daddr,
+ int oif);
#endif
#endif