cregit-Linux how code gets into the kernel

Release 4.18 include/uapi/linux/netfilter/xt_osf.h

/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/*
 * Copyright (c) 2003+ Evgeniy Polyakov <johnpol@2ka.mxt.ru>
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _XT_OSF_H

#define _XT_OSF_H

#include <linux/types.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/netfilter/nf_osf.h>


#define XT_OSF_GENRE		NF_OSF_GENRE

#define XT_OSF_INVERT		NF_OSF_INVERT


#define XT_OSF_TTL		NF_OSF_TTL

#define XT_OSF_LOG		NF_OSF_LOG


#define XT_OSF_LOGLEVEL_ALL		NF_OSF_LOGLEVEL_ALL

#define XT_OSF_LOGLEVEL_FIRST		NF_OSF_LOGLEVEL_FIRST

#define XT_OSF_LOGLEVEL_ALL_KNOWN	NF_OSF_LOGLEVEL_ALL_KNOWN


#define XT_OSF_TTL_TRUE		NF_OSF_TTL_TRUE

#define XT_OSF_TTL_NOCHECK	NF_OSF_TTL_NOCHECK


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


#define xt_osf_wc		nf_osf_wc

#define xt_osf_opt		nf_osf_opt

#define xt_osf_info		nf_osf_info

#define xt_osf_user_finger	nf_osf_user_finger

#define xt_osf_finger		nf_osf_finger

#define xt_osf_nlmsg		nf_osf_nlmsg

/*
 * Add/remove fingerprint from the kernel.
 */

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,
};

#endif				/* _XT_OSF_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Evgeniy Polyakov6256.88%116.67%
Fernando Fernandez Mancera3633.03%116.67%
Mikko Rapeli65.50%116.67%
Jaswinder Singh Rajput32.75%116.67%
Greg Kroah-Hartman10.92%116.67%
Jeff Kirsher10.92%116.67%
Total109100.00%6100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.