X7ROOT File Manager
Current Path:
/usr/include/linux/netfilter
usr
/
include
/
linux
/
netfilter
/
ðŸ“
..
ðŸ“
ipset
📄
nf_conntrack_common.h
(4.48 KB)
📄
nf_conntrack_ftp.h
(438 B)
📄
nf_conntrack_sctp.h
(576 B)
📄
nf_conntrack_tcp.h
(1.38 KB)
📄
nf_conntrack_tuple_common.h
(896 B)
📄
nf_log.h
(538 B)
📄
nf_nat.h
(1.49 KB)
📄
nf_osf.h
(1.9 KB)
📄
nf_tables.h
(48.24 KB)
📄
nf_tables_compat.h
(731 B)
📄
nfnetlink.h
(2.37 KB)
📄
nfnetlink_acct.h
(900 B)
📄
nfnetlink_compat.h
(2.39 KB)
📄
nfnetlink_conntrack.h
(6.02 KB)
📄
nfnetlink_cthelper.h
(1.17 KB)
📄
nfnetlink_cttimeout.h
(2.86 KB)
📄
nfnetlink_log.h
(2.73 KB)
📄
nfnetlink_queue.h
(3.42 KB)
📄
x_tables.h
(4.36 KB)
📄
xt_AUDIT.h
(718 B)
📄
xt_CHECKSUM.h
(563 B)
📄
xt_CLASSIFY.h
(217 B)
📄
xt_CONNMARK.h
(199 B)
📄
xt_CONNSECMARK.h
(301 B)
📄
xt_CT.h
(853 B)
📄
xt_DSCP.h
(697 B)
📄
xt_HMARK.h
(933 B)
📄
xt_IDLETIMER.h
(1.36 KB)
📄
xt_LED.h
(470 B)
📄
xt_LOG.h
(642 B)
📄
xt_MARK.h
(184 B)
📄
xt_NFLOG.h
(556 B)
📄
xt_NFQUEUE.h
(779 B)
📄
xt_RATEEST.h
(390 B)
📄
xt_SECMARK.h
(648 B)
📄
xt_SYNPROXY.h
(419 B)
📄
xt_TCPMSS.h
(235 B)
📄
xt_TCPOPTSTRIP.h
(407 B)
📄
xt_TEE.h
(333 B)
📄
xt_TPROXY.h
(575 B)
📄
xt_addrtype.h
(1.06 KB)
📄
xt_bpf.h
(935 B)
📄
xt_cgroup.h
(463 B)
📄
xt_cluster.h
(374 B)
📄
xt_comment.h
(230 B)
📄
xt_connbytes.h
(577 B)
📄
xt_connlabel.h
(360 B)
📄
xt_connlimit.h
(575 B)
📄
xt_connmark.h
(900 B)
📄
xt_conntrack.h
(2.5 KB)
📄
xt_cpu.h
(199 B)
📄
xt_dccp.h
(483 B)
📄
xt_devgroup.h
(429 B)
📄
xt_dscp.h
(701 B)
📄
xt_ecn.h
(736 B)
📄
xt_esp.h
(418 B)
📄
xt_hashlimit.h
(3.18 KB)
📄
xt_helper.h
(188 B)
📄
xt_ipcomp.h
(485 B)
📄
xt_iprange.h
(581 B)
📄
xt_ipvs.h
(680 B)
📄
xt_l2tp.h
(739 B)
📄
xt_length.h
(221 B)
📄
xt_limit.h
(673 B)
📄
xt_mac.h
(227 B)
📄
xt_mark.h
(260 B)
📄
xt_multiport.h
(721 B)
📄
xt_nfacct.h
(301 B)
📄
xt_osf.h
(1.79 KB)
📄
xt_owner.h
(420 B)
📄
xt_physdev.h
(553 B)
📄
xt_pkttype.h
(188 B)
📄
xt_policy.h
(1022 B)
📄
xt_quota.h
(400 B)
📄
xt_rateest.h
(859 B)
📄
xt_realm.h
(220 B)
📄
xt_recent.h
(1.03 KB)
📄
xt_rpfilter.h
(320 B)
📄
xt_sctp.h
(2.27 KB)
📄
xt_set.h
(1.78 KB)
📄
xt_socket.h
(640 B)
📄
xt_state.h
(331 B)
📄
xt_statistic.h
(716 B)
📄
xt_string.h
(664 B)
📄
xt_tcpmss.h
(253 B)
📄
xt_tcpudp.h
(1.22 KB)
📄
xt_time.h
(730 B)
📄
xt_u32.h
(752 B)
Editing: xt_sctp.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _XT_SCTP_H_ #define _XT_SCTP_H_ #include <linux/types.h> #define XT_SCTP_SRC_PORTS 0x01 #define XT_SCTP_DEST_PORTS 0x02 #define XT_SCTP_CHUNK_TYPES 0x04 #define XT_SCTP_VALID_FLAGS 0x07 struct xt_sctp_flag_info { __u8 chunktype; __u8 flag; __u8 flag_mask; }; #define XT_NUM_SCTP_FLAGS 4 struct xt_sctp_info { __u16 dpts[2]; /* Min, Max */ __u16 spts[2]; /* Min, Max */ __u32 chunkmap[256 / sizeof (__u32)]; /* Bit mask of chunks to be matched according to RFC 2960 */ #define SCTP_CHUNK_MATCH_ANY 0x01 /* Match if any of the chunk types are present */ #define SCTP_CHUNK_MATCH_ALL 0x02 /* Match if all of the chunk types are present */ #define SCTP_CHUNK_MATCH_ONLY 0x04 /* Match if these are the only chunk types present */ __u32 chunk_match_type; struct xt_sctp_flag_info flag_info[XT_NUM_SCTP_FLAGS]; int flag_count; __u32 flags; __u32 invflags; }; #define bytes(type) (sizeof(type) * 8) #define SCTP_CHUNKMAP_SET(chunkmap, type) \ do { \ (chunkmap)[type / bytes(__u32)] |= \ 1 << (type % bytes(__u32)); \ } while (0) #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) \ do { \ (chunkmap)[type / bytes(__u32)] &= \ ~(1 << (type % bytes(__u32))); \ } while (0) #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) \ ({ \ ((chunkmap)[type / bytes (__u32)] & \ (1 << (type % bytes (__u32)))) ? 1: 0; \ }) #define SCTP_CHUNKMAP_RESET(chunkmap) \ memset((chunkmap), 0, sizeof(chunkmap)) #define SCTP_CHUNKMAP_SET_ALL(chunkmap) \ memset((chunkmap), ~0U, sizeof(chunkmap)) #define SCTP_CHUNKMAP_COPY(destmap, srcmap) \ memcpy((destmap), (srcmap), sizeof(srcmap)) #define SCTP_CHUNKMAP_IS_CLEAR(chunkmap) \ __sctp_chunkmap_is_clear((chunkmap), ARRAY_SIZE(chunkmap)) static __inline__ _Bool __sctp_chunkmap_is_clear(const __u32 *chunkmap, unsigned int n) { unsigned int i; for (i = 0; i < n; ++i) if (chunkmap[i]) return 0; return 1; } #define SCTP_CHUNKMAP_IS_ALL_SET(chunkmap) \ __sctp_chunkmap_is_all_set((chunkmap), ARRAY_SIZE(chunkmap)) static __inline__ _Bool __sctp_chunkmap_is_all_set(const __u32 *chunkmap, unsigned int n) { unsigned int i; for (i = 0; i < n; ++i) if (chunkmap[i] != ~0U) return 0; return 1; } #endif /* _XT_SCTP_H_ */
Upload File
Create Folder