netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
xt_osf.h File Reference
#include <linux/types.h>
Include dependency graph for xt_osf.h:
This graph shows which files directly or indirectly include 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
#define XT_OSF_GENRE   (1<<0)
#define XT_OSF_INVERT   (1<<3)
#define XT_OSF_LOG   (1<<2)
#define XT_OSF_LOGLEVEL_ALL   0 /* log all matched fingerprints */
#define XT_OSF_LOGLEVEL_ALL_KNOWN   2 /* do not log unknown packets */
#define XT_OSF_LOGLEVEL_FIRST   1 /* log only the first matced fingerprint */
#define XT_OSF_TTL   (1<<1)
#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 */
#define XT_OSF_TTL_TRUE   0 /* True ip and fingerprint TTL comparison */

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 
Enumerator
OSF_ATTR_UNSPEC 
OSF_ATTR_FINGER 
OSF_ATTR_MAX 
Enumerator
OSF_MSG_ADD 
OSF_MSG_REMOVE 
OSF_MSG_MAX 
Enumerator
OSF_WSS_PLAIN 
OSF_WSS_MSS 
OSF_WSS_MTU 
OSF_WSS_MODULO 
OSF_WSS_MAX