mirror of https://gitee.com/openkylin/linux.git
netfilter: nfnetlink_osf: rename nf_osf header file to nfnetlink_osf
The first client of the nf_osf.h userspace header is nft_osf, coming in this batch, rename it to nfnetlink_osf.h as there are no userspace clients for this yet, hence this looks consistent with other nfnetlink subsystem. Suggested-by: Jan Engelhardt <jengelh@inai.de> Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
7cca1ed0bb
commit
ddba40be59
|
@ -2,7 +2,7 @@
|
|||
#ifndef _NFOSF_H
|
||||
#define _NFOSF_H
|
||||
|
||||
#include <uapi/linux/netfilter/nf_osf.h>
|
||||
#include <uapi/linux/netfilter/nfnetlink_osf.h>
|
||||
|
||||
/* Initial window size option state machine: multiple of mss, mtu or
|
||||
* plain numeric value. Can also be made as plain numeric value which
|
|
@ -23,7 +23,7 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/ip.h>
|
||||
#include <linux/tcp.h>
|
||||
#include <linux/netfilter/nf_osf.h>
|
||||
#include <linux/netfilter/nfnetlink_osf.h>
|
||||
|
||||
#define XT_OSF_GENRE NF_OSF_GENRE
|
||||
#define XT_OSF_INVERT NF_OSF_INVERT
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <linux/netfilter/nfnetlink.h>
|
||||
#include <linux/netfilter/x_tables.h>
|
||||
#include <net/netfilter/nf_log.h>
|
||||
#include <linux/netfilter/nf_osf.h>
|
||||
#include <linux/netfilter/nfnetlink_osf.h>
|
||||
|
||||
/*
|
||||
* Indexed by dont-fragment bit.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include <net/tcp.h>
|
||||
|
||||
#include <net/netfilter/nf_tables.h>
|
||||
#include <linux/netfilter/nf_osf.h>
|
||||
#include <linux/netfilter/nfnetlink_osf.h>
|
||||
|
||||
#define OSF_GENRE_SIZE 32
|
||||
|
||||
|
|
Loading…
Reference in New Issue