net/netfilter/nft_fwd_netdev.c

Source file repositories/reference/linux-study-clean/net/netfilter/nft_fwd_netdev.c

File Facts

System
Linux kernel
Corpus path
net/netfilter/nft_fwd_netdev.c
Extension
.c
Size
7353 bytes
Lines
306
Domain
Networking Core
Bucket
Sockets, Protocols, Packet Path, And Network Policy
Inferred role
Networking Core: exported/initcall integration point
Status
integration 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

module_init(nft_fwd_netdev_module_init);
module_exit(nft_fwd_netdev_module_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Pablo Neira Ayuso <pablo@netfilter.org>");
MODULE_DESCRIPTION("nftables netdev packet forwarding support");
MODULE_ALIAS_NFT_AF_EXPR(5, "fwd");

Annotation

Implementation Notes