diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-12 00:25:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 00:25:45 -0400 |
commit | b42597e2f36e2043756aa7462faddf630962f061 (patch) | |
tree | 67264d31f7bf3cf2f0771260a3c7fc871423231a /include/net/route.h | |
parent | e47a185b31dd2acd424fac7dc0efb96fc5b31a33 (diff) |
ipv4: Add ipv4_redirect() and ipv4_sk_redirect() helper functions.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/route.h')
-rw-r--r-- | include/net/route.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/route.h b/include/net/route.h index b1402787aecb..6ab93eeb8660 100644 --- a/include/net/route.h +++ b/include/net/route.h | |||
@@ -180,6 +180,9 @@ static inline int ip_route_input_noref(struct sk_buff *skb, __be32 dst, __be32 s | |||
180 | extern void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, | 180 | extern void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, |
181 | int oif, u32 mark, u8 protocol, int flow_flags); | 181 | int oif, u32 mark, u8 protocol, int flow_flags); |
182 | extern void ipv4_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, u32 mtu); | 182 | extern void ipv4_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, u32 mtu); |
183 | extern void ipv4_redirect(struct sk_buff *skb, struct net *net, | ||
184 | int oif, u32 mark, u8 protocol, int flow_flags); | ||
185 | extern void ipv4_sk_redirect(struct sk_buff *skb, struct sock *sk); | ||
183 | extern void ip_rt_send_redirect(struct sk_buff *skb); | 186 | extern void ip_rt_send_redirect(struct sk_buff *skb); |
184 | 187 | ||
185 | extern unsigned int inet_addr_type(struct net *net, __be32 addr); | 188 | extern unsigned int inet_addr_type(struct net *net, __be32 addr); |