tcp.h (f1673381b1481a409238d4552a0700d490c5b36c) tcp.h (f7b3bec6f5167efaf56b756abfafb924cb1d3050)
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

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

488
489u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
490 u16 *mssp);
491__u32 cookie_v4_init_sequence(struct sock *sk, const struct sk_buff *skb,
492 __u16 *mss);
493__u32 cookie_init_timestamp(struct request_sock *req);
494bool cookie_timestamp_decode(struct tcp_options_received *opt);
495bool cookie_ecn_ok(const struct tcp_options_received *opt,
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

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

488
489u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
490 u16 *mssp);
491__u32 cookie_v4_init_sequence(struct sock *sk, const struct sk_buff *skb,
492 __u16 *mss);
493__u32 cookie_init_timestamp(struct request_sock *req);
494bool cookie_timestamp_decode(struct tcp_options_received *opt);
495bool cookie_ecn_ok(const struct tcp_options_received *opt,
496 const struct net *net);
496 const struct net *net, const struct dst_entry *dst);
497
498/* From net/ipv6/syncookies.c */
499int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th,
500 u32 cookie);
501struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
502
503u32 __cookie_v6_init_sequence(const struct ipv6hdr *iph,
504 const struct tcphdr *th, u16 *mssp);

--- 1192 unchanged lines hidden ---
497
498/* From net/ipv6/syncookies.c */
499int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th,
500 u32 cookie);
501struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
502
503u32 __cookie_v6_init_sequence(const struct ipv6hdr *iph,
504 const struct tcphdr *th, u16 *mssp);

--- 1192 unchanged lines hidden ---