Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
nf_conntrack_proto_sctp.c File Reference
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/netfilter.h>
#include <linux/module.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/sctp.h>
#include <linux/string.h>
#include <linux/seq_file.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_l4proto.h>
#include <net/netfilter/nf_conntrack_ecache.h>

Go to the source code of this file.

Data Structures

struct  sctp_net
 

Macros

#define SECS   * HZ
 
#define MINS   * 60 SECS
 
#define HOURS   * 60 MINS
 
#define DAYS   * 24 HOURS
 
#define sNO   SCTP_CONNTRACK_NONE
 
#define sCL   SCTP_CONNTRACK_CLOSED
 
#define sCW   SCTP_CONNTRACK_COOKIE_WAIT
 
#define sCE   SCTP_CONNTRACK_COOKIE_ECHOED
 
#define sES   SCTP_CONNTRACK_ESTABLISHED
 
#define sSS   SCTP_CONNTRACK_SHUTDOWN_SENT
 
#define sSR   SCTP_CONNTRACK_SHUTDOWN_RECD
 
#define sSA   SCTP_CONNTRACK_SHUTDOWN_ACK_SENT
 
#define sIV   SCTP_CONNTRACK_MAX
 
#define for_each_sctp_chunk(skb, sch, _sch, offset, dataoff, count)
 

Functions

 module_init (nf_conntrack_proto_sctp_init)
 
 module_exit (nf_conntrack_proto_sctp_fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Kiran Kumar Immidi")
 
 MODULE_DESCRIPTION ("Netfilter connection tracking protocol helper for SCTP")
 
 MODULE_ALIAS ("ip_conntrack_proto_sctp")
 

Macro Definition Documentation

#define DAYS   * 24 HOURS

Definition at line 47 of file nf_conntrack_proto_sctp.c.

#define for_each_sctp_chunk (   skb,
  sch,
  _sch,
  offset,
  dataoff,
  count 
)
Value:
for ((offset) = (dataoff) + sizeof(sctp_sctphdr_t), (count) = 0; \
(offset) < (skb)->len && \
((sch) = skb_header_pointer((skb), (offset), sizeof(_sch), &(_sch))); \
(offset) += (ntohs((sch)->length) + 3) & ~3, (count)++)

Definition at line 186 of file nf_conntrack_proto_sctp.c.

#define HOURS   * 60 MINS

Definition at line 46 of file nf_conntrack_proto_sctp.c.

#define MINS   * 60 SECS

Definition at line 45 of file nf_conntrack_proto_sctp.c.

#define sCE   SCTP_CONNTRACK_COOKIE_ECHOED

Definition at line 62 of file nf_conntrack_proto_sctp.c.

#define sCL   SCTP_CONNTRACK_CLOSED

Definition at line 60 of file nf_conntrack_proto_sctp.c.

#define sCW   SCTP_CONNTRACK_COOKIE_WAIT

Definition at line 61 of file nf_conntrack_proto_sctp.c.

#define SECS   * HZ

Definition at line 44 of file nf_conntrack_proto_sctp.c.

#define sES   SCTP_CONNTRACK_ESTABLISHED

Definition at line 63 of file nf_conntrack_proto_sctp.c.

#define sIV   SCTP_CONNTRACK_MAX

Definition at line 67 of file nf_conntrack_proto_sctp.c.

#define sNO   SCTP_CONNTRACK_NONE

Definition at line 59 of file nf_conntrack_proto_sctp.c.

Definition at line 66 of file nf_conntrack_proto_sctp.c.

#define sSR   SCTP_CONNTRACK_SHUTDOWN_RECD

Definition at line 65 of file nf_conntrack_proto_sctp.c.

#define sSS   SCTP_CONNTRACK_SHUTDOWN_SENT

Definition at line 64 of file nf_conntrack_proto_sctp.c.

Function Documentation

MODULE_ALIAS ( "ip_conntrack_proto_sctp"  )
MODULE_AUTHOR ( "Kiran Kumar Immidi"  )
MODULE_DESCRIPTION ( "Netfilter connection tracking protocol helper for SCTP )
module_exit ( nf_conntrack_proto_sctp_fini  )
module_init ( nf_conntrack_proto_sctp_init  )
MODULE_LICENSE ( "GPL"  )