/usr/include/linux/netfilter
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #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_match0 packets; struct ip_set_counter_match0 bytes; __u32 flags; }; /* Revision 3 target */ struct xt_set_info_target_v3 { struct xt_set_info add_set; struct xt_set_info del_set; struct xt_set_info map_set; __u32 flags; __u32 timeout; }; /* Revision 4 match */ struct xt_set_info_match_v4 { struct xt_set_info match_set; struct ip_set_counter_match packets; struct ip_set_counter_match bytes; __u32 flags; }; #endif /*_XT_SET_H*/
.
Edit
..
Edit
ipset
Edit
nf_conntrack_common.h
Edit
nf_conntrack_ftp.h
Edit
nf_conntrack_sctp.h
Edit
nf_conntrack_tcp.h
Edit
nf_conntrack_tuple_common.h
Edit
nf_log.h
Edit
nf_nat.h
Edit
nf_synproxy.h
Edit
nf_tables.h
Edit
nf_tables_compat.h
Edit
nfnetlink.h
Edit
nfnetlink_acct.h
Edit
nfnetlink_compat.h
Edit
nfnetlink_conntrack.h
Edit
nfnetlink_cthelper.h
Edit
nfnetlink_cttimeout.h
Edit
nfnetlink_hook.h
Edit
nfnetlink_log.h
Edit
nfnetlink_osf.h
Edit
nfnetlink_queue.h
Edit
x_tables.h
Edit
xt_AUDIT.h
Edit
xt_CHECKSUM.h
Edit
xt_CLASSIFY.h
Edit
xt_CONNMARK.h
Edit
xt_CONNSECMARK.h
Edit
xt_CT.h
Edit
xt_DSCP.h
Edit
xt_HMARK.h
Edit
xt_IDLETIMER.h
Edit
xt_LED.h
Edit
xt_LOG.h
Edit
xt_MARK.h
Edit
xt_NFLOG.h
Edit
xt_NFQUEUE.h
Edit
xt_RATEEST.h
Edit
xt_SECMARK.h
Edit
xt_SYNPROXY.h
Edit
xt_TCPMSS.h
Edit
xt_TCPOPTSTRIP.h
Edit
xt_TEE.h
Edit
xt_TPROXY.h
Edit
xt_addrtype.h
Edit
xt_bpf.h
Edit
xt_cgroup.h
Edit
xt_cluster.h
Edit
xt_comment.h
Edit
xt_connbytes.h
Edit
xt_connlabel.h
Edit
xt_connlimit.h
Edit
xt_connmark.h
Edit
xt_conntrack.h
Edit
xt_cpu.h
Edit
xt_dccp.h
Edit
xt_devgroup.h
Edit
xt_dscp.h
Edit
xt_ecn.h
Edit
xt_esp.h
Edit
xt_hashlimit.h
Edit
xt_helper.h
Edit
xt_ipcomp.h
Edit
xt_iprange.h
Edit
xt_ipvs.h
Edit
xt_l2tp.h
Edit
xt_length.h
Edit
xt_limit.h
Edit
xt_mac.h
Edit
xt_mark.h
Edit
xt_multiport.h
Edit
xt_nfacct.h
Edit
xt_osf.h
Edit
xt_owner.h
Edit
xt_physdev.h
Edit
xt_pkttype.h
Edit
xt_policy.h
Edit
xt_quota.h
Edit
xt_rateest.h
Edit
xt_realm.h
Edit
xt_recent.h
Edit
xt_rpfilter.h
Edit
xt_sctp.h
Edit
xt_set.h
Edit
xt_socket.h
Edit
xt_state.h
Edit
xt_statistic.h
Edit
xt_string.h
Edit
xt_tcpmss.h
Edit
xt_tcpudp.h
Edit
xt_time.h
Edit
xt_u32.h
Edit