aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-12 02:43:53 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-12 02:43:53 -0400
commite8599ff4b1d6b0d61e1074ae4ba9fca8dd0c41d0 (patch)
treec3e4a138fce1f57b8d4e4361be87eff85a14eef7 /include/net/ip6_route.h
parent30f2a5f379d0b4b4e733df138a49e054ebf75ff8 (diff)
ipv6: Move bulk of redirect handling into rt6_redirect().
This sets things up so that we can have the protocol error handlers call down into the ipv6 route code for redirects just as ipv4 already does. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r--include/net/ip6_route.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 58cb3fc3487..5cedbd7688c 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -133,12 +133,7 @@ extern int rt6_route_rcv(struct net_device *dev,
133 u8 *opt, int len, 133 u8 *opt, int len,
134 const struct in6_addr *gwaddr); 134 const struct in6_addr *gwaddr);
135 135
136extern void rt6_redirect(const struct in6_addr *dest, 136extern void rt6_redirect(struct sk_buff *skb);
137 const struct in6_addr *src,
138 const struct in6_addr *saddr,
139 struct neighbour *neigh,
140 u8 *lladdr,
141 int on_link);
142 137
143extern void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, 138extern void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu,
144 int oif, u32 mark); 139 int oif, u32 mark);