Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ffad83d authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Pablo Neira Ayuso
Browse files

netfilter: fix include files for compilation



Add missing header dependencies and other small changes so that each file
compiles alone in userspace.

Signed-off-by: default avatarMikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent dad15819
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
#ifndef _UAPI__IP_SET_BITMAP_H
#define _UAPI__IP_SET_BITMAP_H

#include <linux/netfilter/ipset/ip_set.h>

/* Bitmap type specific error codes */
enum {
	/* The element is out of the range of the set */
+2 −0
Original line number Diff line number Diff line
#ifndef _UAPI__IP_SET_HASH_H
#define _UAPI__IP_SET_HASH_H

#include <linux/netfilter/ipset/ip_set.h>

/* Hash type specific error codes */
enum {
	/* Hash is full */
+2 −0
Original line number Diff line number Diff line
#ifndef _UAPI__IP_SET_LIST_H
#define _UAPI__IP_SET_LIST_H

#include <linux/netfilter/ipset/ip_set.h>

/* List type specific error codes */
enum {
	/* Set name to be added/deleted/tested does not exist. */
+3 −0
Original line number Diff line number Diff line
#ifndef _NF_CONNTRACK_TUPLE_COMMON_H
#define _NF_CONNTRACK_TUPLE_COMMON_H

#include <linux/types.h>
#include <linux/netfilter.h>

enum ip_conntrack_dir {
	IP_CT_DIR_ORIGINAL,
	IP_CT_DIR_REPLY,
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
#define XT_HMARK_H_

#include <linux/types.h>
#include <linux/netfilter.h>

enum {
	XT_HMARK_SADDR_MASK,
Loading