diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-12 03:08:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 03:08:07 -0400 |
commit | 3a5ad2ee5e2c5030d8a303d06f9148a2f893a369 (patch) | |
tree | 946aa295174ef8605d9e91eb44755aeebfc7a0da /include | |
parent | 6e157b6ac61aa7758ccd643d4aafdf3cc17b9f04 (diff) |
ipv6: Add ip6_redirect() and ip6_sk_redirect() helper functions.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip6_route.h | 2 |
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, | |||
139 | int oif, u32 mark); | 139 | int oif, u32 mark); |
140 | extern void ip6_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, | 140 | extern void ip6_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, |
141 | __be32 mtu); | 141 | __be32 mtu); |
142 | extern void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark); | ||
143 | extern void ip6_sk_redirect(struct sk_buff *skb, struct sock *sk); | ||
142 | 144 | ||
143 | struct netlink_callback; | 145 | struct netlink_callback; |
144 | 146 | ||