Linux Kernel
3.7.1
|
#include <linux/tcp.h>
#include <linux/random.h>
#include <linux/cryptohash.h>
#include <linux/kernel.h>
#include <net/ipv6.h>
#include <net/tcp.h>
Go to the source code of this file.
Macros | |
#define | COOKIEBITS 24 /* Upper bits store count */ |
#define | COOKIEMASK (((__u32)1 << COOKIEBITS) - 1) |
#define | COUNTER_TRIES 4 |
Functions | |
__u32 | cookie_v6_init_sequence (struct sock *sk, const struct sk_buff *skb, __u16 *mssp) |
struct sock * | cookie_v6_check (struct sock *sk, struct sk_buff *skb) |
Definition at line 24 of file syncookies.c.
#define COOKIEMASK (((__u32)1 << COOKIEBITS) - 1) |
Definition at line 25 of file syncookies.c.
#define COUNTER_TRIES 4 |
Definition at line 45 of file syncookies.c.
Definition at line 149 of file syncookies.c.