Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
xt_osf.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/if.h>
#include <linux/inetdevice.h>
#include <linux/ip.h>
#include <linux/list.h>
#include <linux/rculist.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/tcp.h>
#include <net/ip.h>
#include <net/tcp.h>
#include <linux/netfilter/nfnetlink.h>
#include <linux/netfilter/x_tables.h>
#include <net/netfilter/nf_log.h>
#include <linux/netfilter/xt_osf.h>

Go to the source code of this file.

Data Structures

struct  xt_osf_finger
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define SMART_MSS_1   1460
 
#define SMART_MSS_2   1448
 

Enumerations

enum  osf_fmatch_states { FMATCH_WRONG = 0, FMATCH_OK, FMATCH_OPT_WRONG }
 

Functions

 module_init (xt_osf_init)
 
 module_exit (xt_osf_fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Evgeniy Polyakov <[email protected]>")
 
 MODULE_DESCRIPTION ("Passive OS fingerprint matching.")
 
 MODULE_ALIAS_NFNL_SUBSYS (NFNL_SUBSYS_OSF)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 19 of file xt_osf.c.

#define SMART_MSS_1   1460
#define SMART_MSS_2   1448

Enumeration Type Documentation

Enumerator:
FMATCH_WRONG 
FMATCH_OK 
FMATCH_OPT_WRONG 

Definition at line 46 of file xt_osf.c.

Function Documentation

MODULE_ALIAS_NFNL_SUBSYS ( NFNL_SUBSYS_OSF  )
MODULE_AUTHOR ( "Evgeniy Polyakov <[email protected]>"  )
MODULE_DESCRIPTION ( "Passive OS fingerprint matching."  )
module_exit ( xt_osf_fini  )
module_init ( xt_osf_init  )
MODULE_LICENSE ( "GPL"  )