summaryrefslogtreecommitdiff
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-12 11:08:07 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-12 11:08:07 +0400
commit3a5ad2ee5e2c5030d8a303d06f9148a2f893a369 (patch)
tree946aa295174ef8605d9e91eb44755aeebfc7a0da /include/net/ip6_route.h
parent6e157b6ac61aa7758ccd643d4aafdf3cc17b9f04 (diff)
downloadlinux-3a5ad2ee5e2c5030d8a303d06f9148a2f893a369.tar.xz
ipv6: Add ip6_redirect() and ip6_sk_redirect() helper functions.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r--include/net/ip6_route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 5cedbd7688c6..693940565d8a 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -139,6 +139,8 @@ extern void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu,
int oif, u32 mark);
extern void ip6_sk_update_pmtu(struct sk_buff *skb, struct sock *sk,
__be32 mtu);
+extern void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark);
+extern void ip6_sk_redirect(struct sk_buff *skb, struct sock *sk);
struct netlink_callback;