⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢠⣴⣿⣿⣿⣷⣼⣿⠀⣴⠾⠷⠶⠦⡄⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⢠⡤⢶⣦⣾⣿⣿⣿⣿⣿⣿⣿⠀⣿⣶⣶⣦⣄⠳⣤⣤⠄⠀⠀⠀
⠀⠀⠀⢀⣼⣳⡿⢻⣿⣿⣿⣿⣿⣿⣿⣿⣶⣿⣿⣗⠈⠙⠻⣶⣄⡀⠀⠀⠀
⠀⠀⠀⣰⠿⠁⢀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠀⠀⠈⠳⣤⠀⠀
⠀⠀⢀⡟⠀⢰⣿⠟⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⠉⠁⠈⠻⣶⣄⠀⠀⠈⠛⢦   
⠀⣀⡼⠃⠀⣼⡟⠀⠀⢸⣿⡿⠉⣿⡿⠿⠛⣿⡄⠀⠀⠀⠙⠿⣆⠀⠀⠀⠈
⠈⠁⠀⠀⢸⡟⠀⠀⠀⢸⣿⠀⠀⣿⠁⠀⠀⠈⠃⠀⠀⠀⠀⠀⠘⢷⡄⠀⠀
⠀⠀⠀⠀⣼⠃⠀⠀⠀⢸⡟⠀⠀⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⡆⠀
⠀⠀⠀⣠⡏⠀⠀⠀⠀⣼⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠻⠃⠀⠀⠀⠀⣻⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ 
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

Current Dir: /usr/include/linux/netfilter/

[DIR] ipset [ delete | rename ]
[FILE] nf_conntrack_common.h [ edit | delete | rename | download ]
[FILE] nf_conntrack_ftp.h [ edit | delete | rename | download ]
[FILE] nf_conntrack_sctp.h [ edit | delete | rename | download ]
[FILE] nf_conntrack_tcp.h [ edit | delete | rename | download ]
[FILE] nf_conntrack_tuple_common.h [ edit | delete | rename | download ]
[FILE] nf_nat.h [ edit | delete | rename | download ]
[FILE] nf_tables.h [ edit | delete | rename | download ]
[FILE] nf_tables_compat.h [ edit | delete | rename | download ]
[FILE] nfnetlink.h [ edit | delete | rename | download ]
[FILE] nfnetlink_acct.h [ edit | delete | rename | download ]
[FILE] nfnetlink_compat.h [ edit | delete | rename | download ]
[FILE] nfnetlink_conntrack.h [ edit | delete | rename | download ]
[FILE] nfnetlink_cthelper.h [ edit | delete | rename | download ]
[FILE] nfnetlink_cttimeout.h [ edit | delete | rename | download ]
[FILE] nfnetlink_log.h [ edit | delete | rename | download ]
[FILE] nfnetlink_queue.h [ edit | delete | rename | download ]
[FILE] x_tables.h [ edit | delete | rename | download ]
[FILE] xt_AUDIT.h [ edit | delete | rename | download ]
[FILE] xt_CHECKSUM.h [ edit | delete | rename | download ]
[FILE] xt_CLASSIFY.h [ edit | delete | rename | download ]
[FILE] xt_CONNMARK.h [ edit | delete | rename | download ]
[FILE] xt_CONNSECMARK.h [ edit | delete | rename | download ]
[FILE] xt_CT.h [ edit | delete | rename | download ]
[FILE] xt_DSCP.h [ edit | delete | rename | download ]
[FILE] xt_HMARK.h [ edit | delete | rename | download ]
[FILE] xt_IDLETIMER.h [ edit | delete | rename | download ]
[FILE] xt_LED.h [ edit | delete | rename | download ]
[FILE] xt_LOG.h [ edit | delete | rename | download ]
[FILE] xt_MARK.h [ edit | delete | rename | download ]
[FILE] xt_NFLOG.h [ edit | delete | rename | download ]
[FILE] xt_NFQUEUE.h [ edit | delete | rename | download ]
[FILE] xt_RATEEST.h [ edit | delete | rename | download ]
[FILE] xt_SECMARK.h [ edit | delete | rename | download ]
[FILE] xt_TCPMSS.h [ edit | delete | rename | download ]
[FILE] xt_TCPOPTSTRIP.h [ edit | delete | rename | download ]
[FILE] xt_TEE.h [ edit | delete | rename | download ]
[FILE] xt_TPROXY.h [ edit | delete | rename | download ]
[FILE] xt_addrtype.h [ edit | delete | rename | download ]
[FILE] xt_bpf.h [ edit | delete | rename | download ]
[FILE] xt_cgroup.h [ edit | delete | rename | download ]
[FILE] xt_cluster.h [ edit | delete | rename | download ]
[FILE] xt_comment.h [ edit | delete | rename | download ]
[FILE] xt_connbytes.h [ edit | delete | rename | download ]
[FILE] xt_connlabel.h [ edit | delete | rename | download ]
[FILE] xt_connlimit.h [ edit | delete | rename | download ]
[FILE] xt_connmark.h [ edit | delete | rename | download ]
[FILE] xt_conntrack.h [ edit | delete | rename | download ]
[FILE] xt_cpu.h [ edit | delete | rename | download ]
[FILE] xt_dccp.h [ edit | delete | rename | download ]
[FILE] xt_devgroup.h [ edit | delete | rename | download ]
[FILE] xt_dscp.h [ edit | delete | rename | download ]
[FILE] xt_ecn.h [ edit | delete | rename | download ]
[FILE] xt_esp.h [ edit | delete | rename | download ]
[FILE] xt_hashlimit.h [ edit | delete | rename | download ]
[FILE] xt_helper.h [ edit | delete | rename | download ]
[FILE] xt_iprange.h [ edit | delete | rename | download ]
[FILE] xt_ipvs.h [ edit | delete | rename | download ]
[FILE] xt_length.h [ edit | delete | rename | download ]
[FILE] xt_limit.h [ edit | delete | rename | download ]
[FILE] xt_mac.h [ edit | delete | rename | download ]
[FILE] xt_mark.h [ edit | delete | rename | download ]
[FILE] xt_multiport.h [ edit | delete | rename | download ]
[FILE] xt_nfacct.h [ edit | delete | rename | download ]
[FILE] xt_osf.h [ edit | delete | rename | download ]
[FILE] xt_owner.h [ edit | delete | rename | download ]
[FILE] xt_physdev.h [ edit | delete | rename | download ]
[FILE] xt_pkttype.h [ edit | delete | rename | download ]
[FILE] xt_policy.h [ edit | delete | rename | download ]
[FILE] xt_quota.h [ edit | delete | rename | download ]
[FILE] xt_rateest.h [ edit | delete | rename | download ]
[FILE] xt_realm.h [ edit | delete | rename | download ]
[FILE] xt_recent.h [ edit | delete | rename | download ]
[FILE] xt_rpfilter.h [ edit | delete | rename | download ]
[FILE] xt_sctp.h [ edit | delete | rename | download ]
[FILE] xt_set.h [ edit | delete | rename | download ]
[FILE] xt_socket.h [ edit | delete | rename | download ]
[FILE] xt_state.h [ edit | delete | rename | download ]
[FILE] xt_statistic.h [ edit | delete | rename | download ]
[FILE] xt_string.h [ edit | delete | rename | download ]
[FILE] xt_tcpmss.h [ edit | delete | rename | download ]
[FILE] xt_tcpudp.h [ edit | delete | rename | download ]
[FILE] xt_time.h [ edit | delete | rename | download ]
[FILE] xt_u32.h [ edit | delete | rename | download ]

Viewing: /usr/include/linux/netfilter/xt_set.h

#ifndef _XT_SET_H
#define _XT_SET_H

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

/* Revision 0 interface: backward compatible with netfilter/iptables */

/*
 * Option flags for kernel operations (xt_set_info_v0)
 */
#define IPSET_SRC		0x01	/* Source match/add */
#define IPSET_DST		0x02	/* Destination match/add */
#define IPSET_MATCH_INV		0x04	/* Inverse matching */

struct xt_set_info_v0 {
	ip_set_id_t index;
	union {
		__u32 flags[IPSET_DIM_MAX + 1];
		struct {
			__u32 __flags[IPSET_DIM_MAX];
			__u8 dim;
			__u8 flags;
		} compat;
	} u;
};

/* match and target infos */
struct xt_set_info_match_v0 {
	struct xt_set_info_v0 match_set;
};

struct xt_set_info_target_v0 {
	struct xt_set_info_v0 add_set;
	struct xt_set_info_v0 del_set;
};

/* Revision 1  match and target */

struct xt_set_info {
	ip_set_id_t index;
	__u8 dim;
	__u8 flags;
};

/* match and target infos */
struct xt_set_info_match_v1 {
	struct xt_set_info match_set;
};

struct xt_set_info_target_v1 {
	struct xt_set_info add_set;
	struct xt_set_info del_set;
};

/* Revision 2 target */

struct xt_set_info_target_v2 {
	struct xt_set_info add_set;
	struct xt_set_info del_set;
	__u32 flags;
	__u32 timeout;
};

/* Revision 3 match */

struct xt_set_info_match_v3 {
	struct xt_set_info match_set;
	struct ip_set_counter_match packets;
	struct ip_set_counter_match bytes;
	__u32 flags;
};

#endif /*_XT_SET_H*/

Upload File: