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: nfnetlink_compat.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _NFNETLINK_COMPAT_H #define _NFNETLINK_COMPAT_H #include <linux/types.h> /* Old nfnetlink macros for userspace */ /* nfnetlink groups: Up to 32 maximum */ #define NF_NETLINK_CONNTRACK_NEW 0x00000001 #define NF_NETLINK_CONNTRACK_UPDATE 0x00000002 #define NF_NETLINK_CONNTRACK_DESTROY 0x00000004 #define NF_NETLINK_CONNTRACK_EXP_NEW 0x00000008 #define NF_NETLINK_CONNTRACK_EXP_UPDATE 0x00000010 #define NF_NETLINK_CONNTRACK_EXP_DESTROY 0x00000020 /* Generic structure for encapsulation optional netfilter information. * It is reminiscent of sockaddr, but with sa_family replaced * with attribute type. * ! This should someday be put somewhere generic as now rtnetlink and * ! nfnetlink use the same attributes methods. - J. Schulist. */ struct nfattr { __u16 nfa_len; __u16 nfa_type; /* we use 15 bits for the type, and the highest * bit to indicate whether the payload is nested */ }; /* FIXME: Apart from NFNL_NFA_NESTED shamelessly copy and pasted from * rtnetlink.h, it's time to put this in a generic file */ #define NFNL_NFA_NEST 0x8000 #define NFA_TYPE(attr) ((attr)->nfa_type & 0x7fff) #define NFA_ALIGNTO 4 #define NFA_ALIGN(len) (((len) + NFA_ALIGNTO - 1) & ~(NFA_ALIGNTO - 1)) #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) \ && (nfa)->nfa_len <= (len)) #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \ (struct nfattr *)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len))) #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len)) #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0))) #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0)) #define NFA_NEST(skb, type) \ ({ struct nfattr *__start = (struct nfattr *)skb_tail_pointer(skb); \ NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); \ __start; }) #define NFA_NEST_END(skb, start) \ ({ (start)->nfa_len = skb_tail_pointer(skb) - (unsigned char *)(start); \ (skb)->len; }) #define NFA_NEST_CANCEL(skb, start) \ ({ if (start) \ skb_trim(skb, (unsigned char *) (start) - (skb)->data); \ -1; }) #define NFM_NFA(n) ((struct nfattr *)(((char *)(n)) \ + NLMSG_ALIGN(sizeof(struct nfgenmsg)))) #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg)) #endif /* _NFNETLINK_COMPAT_H */
Upload File
Create Folder