net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
Source file repositories/reference/linux-study-clean/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
File Facts
- System
- Linux kernel
- Corpus path
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c- Extension
.c- Size
- 4352 bytes
- Lines
- 186
- 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.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.hlinux/ipv6.hlinux/in6.hlinux/netfilter.hlinux/module.hlinux/skbuff.hlinux/icmp.hlinux/rcupdate.hlinux/sysctl.hnet/ipv6_frag.hlinux/netfilter_ipv6.hlinux/netfilter_bridge.hnet/netfilter/nf_conntrack.hnet/netfilter/nf_conntrack_helper.hnet/netfilter/nf_conntrack_l4proto.hnet/netfilter/nf_conntrack_core.hnet/netfilter/ipv6/nf_conntrack_ipv6.hnet/netfilter/nf_conntrack_zones.hnet/netfilter/ipv6/nf_defrag_ipv6.h
Detected Declarations
function nf_ct6_defrag_userfunction ipv6_defragfunction defrag6_net_exitfunction nf_defrag_initfunction nf_defrag_finifunction nf_defrag_ipv6_enablefunction nf_defrag_ipv6_disablemodule init nf_defrag_initexport nf_defrag_ipv6_enableexport nf_defrag_ipv6_disable
Annotated Snippet
module_init(nf_defrag_init);
module_exit(nf_defrag_fini);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("IPv6 defragmentation support");
Annotation
- Immediate include surface: `linux/types.h`, `linux/ipv6.h`, `linux/in6.h`, `linux/netfilter.h`, `linux/module.h`, `linux/skbuff.h`, `linux/icmp.h`, `linux/rcupdate.h`.
- Detected declarations: `function nf_ct6_defrag_user`, `function ipv6_defrag`, `function defrag6_net_exit`, `function nf_defrag_init`, `function nf_defrag_fini`, `function nf_defrag_ipv6_enable`, `function nf_defrag_ipv6_disable`, `module init nf_defrag_init`, `export nf_defrag_ipv6_enable`, `export nf_defrag_ipv6_disable`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.