tc_nat.h

来自「linux 内核源代码」· C头文件 代码 · 共 22 行

H
22
字号
#ifndef __NET_TC_NAT_H#define __NET_TC_NAT_H#include <linux/types.h>#include <net/act_api.h>struct tcf_nat {	struct tcf_common common;	__be32 old_addr;	__be32 new_addr;	__be32 mask;	u32 flags;};static inline struct tcf_nat *to_tcf_nat(struct tcf_common *pc){	return container_of(pc, struct tcf_nat, common);}#endif /* __NET_TC_NAT_H */

⌨️ 快捷键说明

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