/usr/include/linux/netfilter
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _XT_TCPUDP_H #define _XT_TCPUDP_H #include <linux/types.h> /* TCP matching stuff */ struct xt_tcp { __u16 spts[2]; /* Source port range. */ __u16 dpts[2]; /* Destination port range. */ __u8 option; /* TCP Option iff non-zero*/ __u8 flg_mask; /* TCP flags mask byte */ __u8 flg_cmp; /* TCP flags compare byte */ __u8 invflags; /* Inverse flags */ }; /* Values for "inv" field in struct ipt_tcp. */ #define XT_TCP_INV_SRCPT 0x01 /* Invert the sense of source ports. */ #define XT_TCP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */ #define XT_TCP_INV_FLAGS 0x04 /* Invert the sense of TCP flags. */ #define XT_TCP_INV_OPTION 0x08 /* Invert the sense of option test. */ #define XT_TCP_INV_MASK 0x0F /* All possible flags. */ /* UDP matching stuff */ struct xt_udp { __u16 spts[2]; /* Source port range. */ __u16 dpts[2]; /* Destination port range. */ __u8 invflags; /* Inverse flags */ }; /* Values for "invflags" field in struct ipt_udp. */ #define XT_UDP_INV_SRCPT 0x01 /* Invert the sense of source ports. */ #define XT_UDP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */ #define XT_UDP_INV_MASK 0x03 /* All possible flags. */ #endif
.
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