diff options
Diffstat (limited to 'include/net/ip.h')
-rw-r--r-- | include/net/ip.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index 83e0619f59d0..bd5e444a19ce 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 net *net, 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; |
@@ -210,6 +211,9 @@ extern int inet_peer_threshold; | |||
210 | extern int inet_peer_minttl; | 211 | extern int inet_peer_minttl; |
211 | extern int inet_peer_maxttl; | 212 | extern int inet_peer_maxttl; |
212 | 213 | ||
214 | /* From ip_input.c */ | ||
215 | extern int sysctl_ip_early_demux; | ||
216 | |||
213 | /* From ip_output.c */ | 217 | /* From ip_output.c */ |
214 | extern int sysctl_ip_dynaddr; | 218 | extern int sysctl_ip_dynaddr; |
215 | 219 | ||