One Hat Cyber Team
Your IP :
216.73.216.50
Server IP :
157.15.65.100
Server :
Linux 157-15-65-100.cprapid.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
cynet
/
data
/
include
/
libnftnl
/
Edit File:
common.h
#ifndef _LIBNFTNL_COMMON_H_ #define _LIBNFTNL_COMMON_H_ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif enum { NFTNL_PARSE_EBADINPUT = 0, NFTNL_PARSE_EMISSINGNODE, NFTNL_PARSE_EBADTYPE, NFTNL_PARSE_EOPNOTSUPP, }; enum nftnl_output_type { NFTNL_OUTPUT_DEFAULT = 0, NFTNL_OUTPUT_XML, NFTNL_OUTPUT_JSON, }; enum nftnl_output_flags { NFTNL_OF_EVENT_NEW = (1 << 0), NFTNL_OF_EVENT_DEL = (1 << 1), NFTNL_OF_EVENT_ANY = (NFTNL_OF_EVENT_NEW | NFTNL_OF_EVENT_DEL), }; enum nftnl_cmd_type { NFTNL_CMD_UNSPEC = 0, NFTNL_CMD_ADD, NFTNL_CMD_INSERT, NFTNL_CMD_DELETE, NFTNL_CMD_REPLACE, NFTNL_CMD_FLUSH, NFTNL_CMD_MAX, }; enum nftnl_parse_type { NFTNL_PARSE_NONE = 0, NFTNL_PARSE_XML, NFTNL_PARSE_JSON, NFTNL_PARSE_MAX, }; struct nftnl_parse_err; struct nlmsghdr *nftnl_nlmsg_build_hdr(char *buf, uint16_t type, uint16_t family, uint16_t flags, uint32_t seq); struct nftnl_parse_err *nftnl_parse_err_alloc(void); void nftnl_parse_err_free(struct nftnl_parse_err *); int nftnl_parse_perror(const char *str, struct nftnl_parse_err *err); int nftnl_batch_is_supported(void); struct nlmsghdr *nftnl_batch_begin(char *buf, uint32_t seq); struct nlmsghdr *nftnl_batch_end(char *buf, uint32_t seq); #ifdef __cplusplus } /* extern "C" */ #endif #endif
Simpan