PATH: //proc/self/root/usr/include/linux/netfilter
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📁 ipset/
X
📄 nf_conntrack_common.h
↓
X
📄 nf_conntrack_ftp.h
↓
X
📄 nf_conntrack_sctp.h
↓
X
📄 nf_conntrack_tcp.h
↓
X
📄 nf_conntrack_tuple_common.h
↓
X
📄 nf_log.h
↓
X
📄 nf_nat.h
↓
X
📄 nf_synproxy.h
↓
X
📄 nf_tables.h
↓
X
📄 nf_tables_compat.h
↓
X
📄 nfnetlink.h
↓
X
📄 nfnetlink_acct.h
↓
X
📄 nfnetlink_compat.h
↓
X
📄 nfnetlink_conntrack.h
↓
X
📄 nfnetlink_cthelper.h
↓
X
📄 nfnetlink_cttimeout.h
↓
X
📄 nfnetlink_hook.h
↓
X
📄 nfnetlink_log.h
↓
X
📄 nfnetlink_osf.h
↓
X
📄 nfnetlink_queue.h
↓
X
📄 x_tables.h
↓
X
📄 xt_AUDIT.h
↓
X
📄 xt_CHECKSUM.h
↓
X
📄 xt_CLASSIFY.h
↓
X
📄 xt_CONNMARK.h
↓
X
📄 xt_CONNSECMARK.h
↓
X
📄 xt_CT.h
↓
X
📄 xt_DSCP.h
↓
X
📄 xt_HMARK.h
↓
X
📄 xt_IDLETIMER.h
↓
X
📄 xt_LED.h
↓
X
📄 xt_LOG.h
↓
X
📄 xt_MARK.h
↓
X
📄 xt_NFLOG.h
↓
X
📄 xt_NFQUEUE.h
↓
X
📄 xt_RATEEST.h
↓
X
📄 xt_SECMARK.h
↓
X
📄 xt_SYNPROXY.h
↓
X
📄 xt_TCPMSS.h
↓
X
📄 xt_TCPOPTSTRIP.h
↓
X
📄 xt_TEE.h
↓
X
📄 xt_TPROXY.h
↓
X
📄 xt_addrtype.h
↓
X
📄 xt_bpf.h
↓
X
📄 xt_cgroup.h
↓
X
📄 xt_cluster.h
↓
X
📄 xt_comment.h
↓
X
📄 xt_connbytes.h
↓
X
📄 xt_connlabel.h
↓
X
📄 xt_connlimit.h
↓
X
📄 xt_connmark.h
↓
X
📄 xt_conntrack.h
↓
X
📄 xt_cpu.h
↓
X
📄 xt_dccp.h
↓
X
📄 xt_devgroup.h
↓
X
📄 xt_dscp.h
↓
X
📄 xt_ecn.h
↓
X
📄 xt_esp.h
↓
X
📄 xt_hashlimit.h
↓
X
📄 xt_helper.h
↓
X
📄 xt_ipcomp.h
↓
X
📄 xt_iprange.h
↓
X
📄 xt_ipvs.h
↓
X
📄 xt_l2tp.h
↓
X
📄 xt_length.h
↓
X
📄 xt_limit.h
↓
X
📄 xt_mac.h
↓
X
📄 xt_mark.h
↓
X
📄 xt_multiport.h
↓
X
📄 xt_nfacct.h
↓
X
📄 xt_osf.h
↓
X
📄 xt_owner.h
↓
X
📄 xt_physdev.h
↓
X
📄 xt_pkttype.h
↓
X
📄 xt_policy.h
↓
X
📄 xt_quota.h
↓
X
📄 xt_rateest.h
↓
X
📄 xt_realm.h
↓
X
📄 xt_recent.h
↓
X
📄 xt_rpfilter.h
↓
X
📄 xt_sctp.h
↓
X
📄 xt_set.h
↓
X
📄 xt_socket.h
↓
X
📄 xt_state.h
↓
X
📄 xt_statistic.h
↓
X
📄 xt_string.h
↓
X
📄 xt_tcpmss.h
↓
X
📄 xt_tcpudp.h
↓
X
📄 xt_time.h
↓
X
📄 xt_u32.h
↓
X
SAVING...
BERHASIL DIUBAH!
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)] |= \ 1u << (type % bytes(__u32)); \ } while (0) #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) \ do { \ (chunkmap)[type / bytes(__u32)] &= \ ~(1u << (type % bytes(__u32))); \ } while (0) #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) \ ({ \ ((chunkmap)[type / bytes (__u32)] & \ (1u << (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_ */
SIMPAN PERUBAHAN