小编DaV*_*Vid的帖子

什么是__KERNEL__用于linux内核?

谁可以解释下面的代码是什么意思?

如果__KERNEL__未定义,请定义以下宏.何时何地定义__KERNEL__

/* only for userspace compatibility */
#ifndef __KERNEL__

/* IP6 Hooks */
/* After promisc drops, checksum checks. */
#define NF_IP6_PRE_ROUTING  0
/* If the packet is destined for this box. */
#define NF_IP6_LOCAL_IN     1
/* If the packet is destined for another interface. */
#define NF_IP6_FORWARD      2
/* Packets coming from a local process. */
#define NF_IP6_LOCAL_OUT        3
/* Packets about to hit the wire. */
#define NF_IP6_POST_ROUTING 4
#define NF_IP6_NUMHOOKS     5
#endif …
Run Code Online (Sandbox Code Playgroud)

linux-kernel

14
推荐指数
2
解决办法
1万
查看次数

标签 统计

linux-kernel ×1