diff options
author | David S. Miller <davem@davemloft.net> | 2012-06-28 06:21:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-28 06:21:41 -0400 |
commit | 70e7341673a47fb1525cfc7d6651cc98b5348928 (patch) | |
tree | dfab978a554b6badff83381bf03c42543cd37eb6 /include/net/ip.h | |
parent | 160eb5a6b14ca2eab5c598bdbbb24c24624bad34 (diff) |
ipv4: Show that ip_send_reply() is purely unicast routine.
Rename it to ip_send_unicast_reply() and add explicit 'saddr'
argument.
This removed one of the few users of rt->rt_spec_dst.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r-- | include/net/ip.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index 50841bd6f10e..ec5cfde85e9a 100644 --- a/include/net/ip.h +++ b/include/net/ip.h | |||
@@ -158,8 +158,9 @@ static inline __u8 ip_reply_arg_flowi_flags(const struct ip_reply_arg *arg) | |||
158 | return (arg->flags & IP_REPLY_ARG_NOSRCCHECK) ? FLOWI_FLAG_ANYSRC : 0; | 158 | return (arg->flags & IP_REPLY_ARG_NOSRCCHECK) ? FLOWI_FLAG_ANYSRC : 0; |
159 | } | 159 | } |
160 | 160 | ||
161 | void ip_send_reply(struct sock *sk, struct sk_buff *skb, __be32 daddr, | 161 | void ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb, __be32 daddr, |
162 | const struct ip_reply_arg *arg, unsigned int len); | 162 | __be32 saddr, const struct ip_reply_arg *arg, |
163 | unsigned int len); | ||
163 | 164 | ||
164 | struct ipv4_config { | 165 | struct ipv4_config { |
165 | int log_martians; | 166 | int log_martians; |