Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
xt_osf.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  xt_osf_info
 
struct  xt_osf_wc
 
struct  xt_osf_opt
 
struct  xt_osf_user_finger
 
struct  xt_osf_nlmsg
 

Macros

#define MAXGENRELEN   32
 
#define XT_OSF_GENRE   (1<<0)
 
#define XT_OSF_TTL   (1<<1)
 
#define XT_OSF_LOG   (1<<2)
 
#define XT_OSF_INVERT   (1<<3)
 
#define XT_OSF_LOGLEVEL_ALL   0 /* log all matched fingerprints */
 
#define XT_OSF_LOGLEVEL_FIRST   1 /* log only the first matced fingerprint */
 
#define XT_OSF_LOGLEVEL_ALL_KNOWN   2 /* do not log unknown packets */
 
#define XT_OSF_TTL_TRUE   0 /* True ip and fingerprint TTL comparison */
 
#define XT_OSF_TTL_LESS   1 /* Check if ip TTL is less than fingerprint one */
 
#define XT_OSF_TTL_NOCHECK   2 /* Do not compare ip and fingerprint TTL at all */
 

Enumerations

enum  iana_options {
  OSFOPT_EOL = 0, OSFOPT_NOP, OSFOPT_MSS, OSFOPT_WSO,
  OSFOPT_SACKP, OSFOPT_SACK, OSFOPT_ECHO, OSFOPT_ECHOREPLY,
  OSFOPT_TS, OSFOPT_POCP, OSFOPT_POSP, OSFOPT_EMPTY = 255
}
 
enum  xt_osf_window_size_options {
  OSF_WSS_PLAIN = 0, OSF_WSS_MSS, OSF_WSS_MTU, OSF_WSS_MODULO,
  OSF_WSS_MAX
}
 
enum  xt_osf_msg_types { OSF_MSG_ADD, OSF_MSG_REMOVE, OSF_MSG_MAX }
 
enum  xt_osf_attr_type { OSF_ATTR_UNSPEC, OSF_ATTR_FINGER, OSF_ATTR_MAX }
 

Macro Definition Documentation

#define MAXGENRELEN   32

Definition at line 25 of file xt_osf.h.

#define XT_OSF_GENRE   (1<<0)

Definition at line 27 of file xt_osf.h.

#define XT_OSF_INVERT   (1<<3)

Definition at line 30 of file xt_osf.h.

#define XT_OSF_LOG   (1<<2)

Definition at line 29 of file xt_osf.h.

#define XT_OSF_LOGLEVEL_ALL   0 /* log all matched fingerprints */

Definition at line 32 of file xt_osf.h.

#define XT_OSF_LOGLEVEL_ALL_KNOWN   2 /* do not log unknown packets */

Definition at line 34 of file xt_osf.h.

#define XT_OSF_LOGLEVEL_FIRST   1 /* log only the first matced fingerprint */

Definition at line 33 of file xt_osf.h.

#define XT_OSF_TTL   (1<<1)

Definition at line 28 of file xt_osf.h.

#define XT_OSF_TTL_LESS   1 /* Check if ip TTL is less than fingerprint one */

Definition at line 37 of file xt_osf.h.

#define XT_OSF_TTL_NOCHECK   2 /* Do not compare ip and fingerprint TTL at all */

Definition at line 38 of file xt_osf.h.

#define XT_OSF_TTL_TRUE   0 /* True ip and fingerprint TTL comparison */

Definition at line 36 of file xt_osf.h.

Enumeration Type Documentation

Enumerator:
OSFOPT_EOL 
OSFOPT_NOP 
OSFOPT_MSS 
OSFOPT_WSO 
OSFOPT_SACKP 
OSFOPT_SACK 
OSFOPT_ECHO 
OSFOPT_ECHOREPLY 
OSFOPT_TS 
OSFOPT_POCP 
OSFOPT_POSP 
OSFOPT_EMPTY 

Definition at line 90 of file xt_osf.h.

Enumerator:
OSF_ATTR_UNSPEC 
OSF_ATTR_FINGER 
OSF_ATTR_MAX 

Definition at line 129 of file xt_osf.h.

Enumerator:
OSF_MSG_ADD 
OSF_MSG_REMOVE 
OSF_MSG_MAX 

Definition at line 123 of file xt_osf.h.

Enumerator:
OSF_WSS_PLAIN 
OSF_WSS_MSS 
OSF_WSS_MTU 
OSF_WSS_MODULO 
OSF_WSS_MAX 

Definition at line 112 of file xt_osf.h.