aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/route.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-12 00:25:45 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-12 00:25:45 -0400
commitb42597e2f36e2043756aa7462faddf630962f061 (patch)
tree67264d31f7bf3cf2f0771260a3c7fc871423231a /include/net/route.h
parente47a185b31dd2acd424fac7dc0efb96fc5b31a33 (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.h3
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
180extern void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, 180extern 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);
182extern void ipv4_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, u32 mtu); 182extern void ipv4_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, u32 mtu);
183extern void ipv4_redirect(struct sk_buff *skb, struct net *net,
184 int oif, u32 mark, u8 protocol, int flow_flags);
185extern void ipv4_sk_redirect(struct sk_buff *skb, struct sock *sk);
183extern void ip_rt_send_redirect(struct sk_buff *skb); 186extern void ip_rt_send_redirect(struct sk_buff *skb);
184 187
185extern unsigned int inet_addr_type(struct net *net, __be32 addr); 188extern unsigned int inet_addr_type(struct net *net, __be32 addr);