Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
nf_conntrack_proto_tcp.c File Reference
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/module.h>
#include <linux/in.h>
#include <linux/tcp.h>
#include <linux/spinlock.h>
#include <linux/skbuff.h>
#include <linux/ipv6.h>
#include <net/ip6_checksum.h>
#include <asm/unaligned.h>
#include <net/tcp.h>
#include <linux/netfilter.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv6.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_l4proto.h>
#include <net/netfilter/nf_conntrack_ecache.h>
#include <net/netfilter/nf_log.h>
#include <net/netfilter/ipv4/nf_conntrack_ipv4.h>
#include <net/netfilter/ipv6/nf_conntrack_ipv6.h>

Go to the source code of this file.

Macros

#define SECS   * HZ
 
#define MINS   * 60 SECS
 
#define HOURS   * 60 MINS
 
#define DAYS   * 24 HOURS
 
#define sNO   TCP_CONNTRACK_NONE
 
#define sSS   TCP_CONNTRACK_SYN_SENT
 
#define sSR   TCP_CONNTRACK_SYN_RECV
 
#define sES   TCP_CONNTRACK_ESTABLISHED
 
#define sFW   TCP_CONNTRACK_FIN_WAIT
 
#define sCW   TCP_CONNTRACK_CLOSE_WAIT
 
#define sLA   TCP_CONNTRACK_LAST_ACK
 
#define sTW   TCP_CONNTRACK_TIME_WAIT
 
#define sCL   TCP_CONNTRACK_CLOSE
 
#define sS2   TCP_CONNTRACK_SYN_SENT2
 
#define sIV   TCP_CONNTRACK_MAX
 
#define sIG   TCP_CONNTRACK_IGNORE
 
#define MAXACKWINCONST   66000
 
#define MAXACKWINDOW(sender)
 
#define NAT_OFFSET(ct, dir, seq)   0
 

Enumerations

enum  tcp_bit_set {
  TCP_SYN_SET, TCP_SYNACK_SET, TCP_FIN_SET, TCP_ACK_SET,
  TCP_RST_SET, TCP_NONE_SET
}
 

Functions

 EXPORT_SYMBOL_GPL (nf_conntrack_l4proto_tcp4)
 
 EXPORT_SYMBOL_GPL (nf_conntrack_l4proto_tcp6)
 

Macro Definition Documentation

#define DAYS   * 24 HOURS

Definition at line 65 of file nf_conntrack_proto_tcp.c.

#define HOURS   * 60 MINS

Definition at line 64 of file nf_conntrack_proto_tcp.c.

#define MAXACKWINCONST   66000

Definition at line 371 of file nf_conntrack_proto_tcp.c.

#define MAXACKWINDOW (   sender)
Value:
((sender)->td_maxwin > MAXACKWINCONST ? (sender)->td_maxwin \

Definition at line 372 of file nf_conntrack_proto_tcp.c.

#define MINS   * 60 SECS

Definition at line 63 of file nf_conntrack_proto_tcp.c.

#define NAT_OFFSET (   ct,
  dir,
  seq 
)    0

Definition at line 508 of file nf_conntrack_proto_tcp.c.

#define sCL   TCP_CONNTRACK_CLOSE

Definition at line 92 of file nf_conntrack_proto_tcp.c.

#define sCW   TCP_CONNTRACK_CLOSE_WAIT

Definition at line 89 of file nf_conntrack_proto_tcp.c.

#define SECS   * HZ

Definition at line 62 of file nf_conntrack_proto_tcp.c.

#define sES   TCP_CONNTRACK_ESTABLISHED

Definition at line 87 of file nf_conntrack_proto_tcp.c.

#define sFW   TCP_CONNTRACK_FIN_WAIT

Definition at line 88 of file nf_conntrack_proto_tcp.c.

#define sIG   TCP_CONNTRACK_IGNORE

Definition at line 95 of file nf_conntrack_proto_tcp.c.

#define sIV   TCP_CONNTRACK_MAX

Definition at line 94 of file nf_conntrack_proto_tcp.c.

#define sLA   TCP_CONNTRACK_LAST_ACK

Definition at line 90 of file nf_conntrack_proto_tcp.c.

#define sNO   TCP_CONNTRACK_NONE

Definition at line 84 of file nf_conntrack_proto_tcp.c.

#define sS2   TCP_CONNTRACK_SYN_SENT2

Definition at line 93 of file nf_conntrack_proto_tcp.c.

#define sSR   TCP_CONNTRACK_SYN_RECV

Definition at line 86 of file nf_conntrack_proto_tcp.c.

#define sSS   TCP_CONNTRACK_SYN_SENT

Definition at line 85 of file nf_conntrack_proto_tcp.c.

#define sTW   TCP_CONNTRACK_TIME_WAIT

Definition at line 91 of file nf_conntrack_proto_tcp.c.

Enumeration Type Documentation

Enumerator:
TCP_SYN_SET 
TCP_SYNACK_SET 
TCP_FIN_SET 
TCP_ACK_SET 
TCP_RST_SET 
TCP_NONE_SET 

Definition at line 98 of file nf_conntrack_proto_tcp.c.

Function Documentation

EXPORT_SYMBOL_GPL ( nf_conntrack_l4proto_tcp4  )
EXPORT_SYMBOL_GPL ( nf_conntrack_l4proto_tcp6  )