tcp.h (28be6e07e8bccee76b51bca8fdba52c1b28fc77c) tcp.h (b23a002fc6f0c19846ee0382f019429af54a27e9)
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

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

470int tcp_disconnect(struct sock *sk, int flags);
471
472void tcp_connect_init(struct sock *sk);
473void tcp_finish_connect(struct sock *sk, struct sk_buff *skb);
474int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size);
475void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb);
476
477/* From syncookies.c */
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

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

470int tcp_disconnect(struct sock *sk, int flags);
471
472void tcp_connect_init(struct sock *sk);
473void tcp_finish_connect(struct sock *sk, struct sk_buff *skb);
474int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size);
475void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb);
476
477/* From syncookies.c */
478extern __u32 syncookie_secret[2][16-4+SHA_DIGEST_WORDS];
479int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th,
480 u32 cookie);
481struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb,
482 struct ip_options *opt);
483#ifdef CONFIG_SYN_COOKIES
484#include <linux/ktime.h>
485
486/* Syncookies use a monotonic timer which increments every 64 seconds.

--- 1123 unchanged lines hidden ---
478int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th,
479 u32 cookie);
480struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb,
481 struct ip_options *opt);
482#ifdef CONFIG_SYN_COOKIES
483#include <linux/ktime.h>
484
485/* Syncookies use a monotonic timer which increments every 64 seconds.

--- 1123 unchanged lines hidden ---