tcp.h (eed29f17f09ad7f400bc245f209acad6a8214fac) tcp.h (f930103421f6579719b8252285c94c1195f6e032)
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 TCP module.
7 *
8 * Version: @(#)tcp.h 1.0.5 05/23/93

--- 225 unchanged lines hidden (view full) ---

234 * TCP_FASTOPEN socket option.
235 */
236#define TFO_SERVER_WO_SOCKOPT1 0x400
237
238
239/* sysctl variables for tcp */
240extern int sysctl_tcp_timestamps;
241extern int sysctl_tcp_window_scaling;
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 TCP module.
7 *
8 * Version: @(#)tcp.h 1.0.5 05/23/93

--- 225 unchanged lines hidden (view full) ---

234 * TCP_FASTOPEN socket option.
235 */
236#define TFO_SERVER_WO_SOCKOPT1 0x400
237
238
239/* sysctl variables for tcp */
240extern int sysctl_tcp_timestamps;
241extern int sysctl_tcp_window_scaling;
242extern int sysctl_tcp_sack;
243extern int sysctl_tcp_fastopen;
244extern int sysctl_tcp_retrans_collapse;
245extern int sysctl_tcp_stdurg;
246extern int sysctl_tcp_rfc1337;
247extern int sysctl_tcp_abort_on_overflow;
248extern int sysctl_tcp_max_orphans;
249extern int sysctl_tcp_fack;
250extern int sysctl_tcp_reordering;

--- 264 unchanged lines hidden (view full) ---

515 do_div(val, TCP_SYNCOOKIE_PERIOD);
516 return val;
517}
518
519u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
520 u16 *mssp);
521__u32 cookie_v4_init_sequence(const struct sk_buff *skb, __u16 *mss);
522u64 cookie_init_timestamp(struct request_sock *req);
242extern int sysctl_tcp_fastopen;
243extern int sysctl_tcp_retrans_collapse;
244extern int sysctl_tcp_stdurg;
245extern int sysctl_tcp_rfc1337;
246extern int sysctl_tcp_abort_on_overflow;
247extern int sysctl_tcp_max_orphans;
248extern int sysctl_tcp_fack;
249extern int sysctl_tcp_reordering;

--- 264 unchanged lines hidden (view full) ---

514 do_div(val, TCP_SYNCOOKIE_PERIOD);
515 return val;
516}
517
518u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
519 u16 *mssp);
520__u32 cookie_v4_init_sequence(const struct sk_buff *skb, __u16 *mss);
521u64 cookie_init_timestamp(struct request_sock *req);
523bool cookie_timestamp_decode(struct tcp_options_received *opt);
522bool cookie_timestamp_decode(const struct net *net,
523 struct tcp_options_received *opt);
524bool cookie_ecn_ok(const struct tcp_options_received *opt,
525 const struct net *net, const struct dst_entry *dst);
526
527/* From net/ipv6/syncookies.c */
528int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th,
529 u32 cookie);
530struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
531

--- 1464 unchanged lines hidden ---
524bool cookie_ecn_ok(const struct tcp_options_received *opt,
525 const struct net *net, const struct dst_entry *dst);
526
527/* From net/ipv6/syncookies.c */
528int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th,
529 u32 cookie);
530struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
531

--- 1464 unchanged lines hidden ---