net/bridge/netfilter/nft_reject_bridge.c

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

File Facts

System
Linux kernel
Corpus path
net/bridge/netfilter/nft_reject_bridge.c
Extension
.c
Size
5647 bytes
Lines
215
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_reject_bridge_module_init);
module_exit(nft_reject_bridge_module_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Pablo Neira Ayuso <pablo@netfilter.org>");
MODULE_ALIAS_NFT_AF_EXPR(AF_BRIDGE, "reject");
MODULE_DESCRIPTION("Reject packets from bridge via nftables");

Annotation

Implementation Notes