⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ip_logging.h

📁 umon bootloader source code, support mips cpu.
💻 H
字号:
/* IPv4 macros for the internal logging interface. */
#ifndef __IP_LOGGING_H
#define __IP_LOGGING_H

#ifdef __KERNEL__
#include <linux/socket.h>
#include <linux/netfilter_logging.h>

#define nf_log_ip_packet(pskb,hooknum,in,out,fmt,args...) \
	nf_log_packet(AF_INET,pskb,hooknum,in,out,fmt,##args)

#define nf_log_ip(pfh,len,fmt,args...) \
	nf_log(AF_INET,pfh,len,fmt,##args)

#define nf_ip_log_register(logging) nf_log_register(AF_INET,logging)
#define nf_ip_log_unregister(logging) nf_log_unregister(AF_INET,logging)
	
#endif /*__KERNEL__*/

#endif /*__IP_LOGGING_H*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -