include/net/tc_act/tc_nat.h

Source file repositories/reference/linux-study-clean/include/net/tc_act/tc_nat.h

File Facts

System
Linux kernel
Corpus path
include/net/tc_act/tc_nat.h
Extension
.h
Size
417 bytes
Lines
25
Domain
Networking Core
Bucket
Sockets, Protocols, Packet Path, And Network Policy
Inferred role
Networking Core: implementation source
Status
source implementation candidate

Why This File Exists

Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.

Dependency Surface

Detected Declarations

Annotated Snippet

struct tcf_nat_parms {
	int action;
	__be32 old_addr;
	__be32 new_addr;
	__be32 mask;
	u32 flags;
	struct rcu_head rcu;
};

struct tcf_nat {
	struct tc_action common;
	struct tcf_nat_parms __rcu *parms;
};

#define to_tcf_nat(a) ((struct tcf_nat *)a)

#endif /* __NET_TC_NAT_H */

Annotation

Implementation Notes