ip.h (9e9fd65d1fa51d919d54d731be0e66492b5b6c5a) | ip.h (be9f4a44e7d41cee50ddb5f038fc2391cbbb4046) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Definitions for the IP module. 7 * 8 * Version: @(#)ip.h 1.0.2 05/07/93 --- 144 unchanged lines hidden (view full) --- 153 154#define IP_REPLY_ARG_NOSRCCHECK 1 155 156static inline __u8 ip_reply_arg_flowi_flags(const struct ip_reply_arg *arg) 157{ 158 return (arg->flags & IP_REPLY_ARG_NOSRCCHECK) ? FLOWI_FLAG_ANYSRC : 0; 159} 160 | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Definitions for the IP module. 7 * 8 * Version: @(#)ip.h 1.0.2 05/07/93 --- 144 unchanged lines hidden (view full) --- 153 154#define IP_REPLY_ARG_NOSRCCHECK 1 155 156static inline __u8 ip_reply_arg_flowi_flags(const struct ip_reply_arg *arg) 157{ 158 return (arg->flags & IP_REPLY_ARG_NOSRCCHECK) ? FLOWI_FLAG_ANYSRC : 0; 159} 160 |
161void ip_send_reply(struct sock *sk, struct sk_buff *skb, __be32 daddr, 162 const struct ip_reply_arg *arg, unsigned int len); | 161void ip_send_unicast_reply(struct net *net, struct sk_buff *skb, __be32 daddr, 162 __be32 saddr, const struct ip_reply_arg *arg, 163 unsigned int len); |
163 164struct ipv4_config { 165 int log_martians; 166 int no_pmtu_disc; 167}; 168 169extern struct ipv4_config ipv4_config; 170#define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field) --- 34 unchanged lines hidden (view full) --- 205 206extern int sysctl_ip_nonlocal_bind; 207 208/* From inetpeer.c */ 209extern int inet_peer_threshold; 210extern int inet_peer_minttl; 211extern int inet_peer_maxttl; 212 | 164 165struct ipv4_config { 166 int log_martians; 167 int no_pmtu_disc; 168}; 169 170extern struct ipv4_config ipv4_config; 171#define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field) --- 34 unchanged lines hidden (view full) --- 206 207extern int sysctl_ip_nonlocal_bind; 208 209/* From inetpeer.c */ 210extern int inet_peer_threshold; 211extern int inet_peer_minttl; 212extern int inet_peer_maxttl; 213 |
214/* From ip_input.c */ 215extern int sysctl_ip_early_demux; 216 |
|
213/* From ip_output.c */ 214extern int sysctl_ip_dynaddr; 215 216extern void ipfrag_init(void); 217 218extern void ip_static_sysctl_init(void); 219 220static inline bool ip_is_fragment(const struct iphdr *iph) --- 235 unchanged lines hidden --- | 217/* From ip_output.c */ 218extern int sysctl_ip_dynaddr; 219 220extern void ipfrag_init(void); 221 222extern void ip_static_sysctl_init(void); 223 224static inline bool ip_is_fragment(const struct iphdr *iph) --- 235 unchanged lines hidden --- |