net/netfilter/nft_socket.c

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

File Facts

System
Linux kernel
Corpus path
net/netfilter/nft_socket.c
Extension
.c
Size
6708 bytes
Lines
303
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_socket_module_init);
module_exit(nft_socket_module_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Máté Eckl");
MODULE_DESCRIPTION("nf_tables socket match module");
MODULE_ALIAS_NFT_EXPR("socket");

Annotation

Implementation Notes