net/netfilter/nfnetlink_cttimeout.c
Source file repositories/reference/linux-study-clean/net/netfilter/nfnetlink_cttimeout.c
File Facts
- System
- Linux kernel
- Corpus path
net/netfilter/nfnetlink_cttimeout.c- Extension
.c- Size
- 16346 bytes
- Lines
- 662
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/module.hlinux/kernel.hlinux/rculist.hlinux/rculist_nulls.hlinux/types.hlinux/timer.hlinux/security.hlinux/skbuff.hlinux/errno.hlinux/netlink.hlinux/spinlock.hlinux/interrupt.hlinux/slab.hlinux/netfilter.hnet/netlink.hnet/netns/generic.hnet/sock.hnet/netfilter/nf_conntrack.hnet/netfilter/nf_conntrack_core.hnet/netfilter/nf_conntrack_l4proto.hnet/netfilter/nf_conntrack_tuple.hnet/netfilter/nf_conntrack_timeout.hlinux/netfilter/nfnetlink.hlinux/netfilter/nfnetlink_cttimeout.h
Detected Declarations
struct ctnl_timeoutstruct nfct_timeout_pernetfunction ctnl_timeout_parse_policyfunction cttimeout_new_timeoutfunction list_for_each_entryfunction ctnl_timeout_fill_infofunction ctnl_timeout_dumpfunction cttimeout_get_timeoutfunction list_for_each_entryfunction ctnl_timeout_delfunction cttimeout_del_timeoutfunction list_for_each_entryfunction cttimeout_default_setfunction cttimeout_default_fill_infofunction cttimeout_default_getfunction list_for_each_entry_rcufunction ctnl_timeout_putfunction cttimeout_net_initfunction cttimeout_net_pre_exitfunction list_for_each_entry_safefunction cttimeout_net_exitfunction list_for_each_entry_safefunction cttimeout_initfunction cttimeout_exitmodule init cttimeout_init
Annotated Snippet
module_init(cttimeout_init);
module_exit(cttimeout_exit);
Annotation
- Immediate include surface: `linux/init.h`, `linux/module.h`, `linux/kernel.h`, `linux/rculist.h`, `linux/rculist_nulls.h`, `linux/types.h`, `linux/timer.h`, `linux/security.h`.
- Detected declarations: `struct ctnl_timeout`, `struct nfct_timeout_pernet`, `function ctnl_timeout_parse_policy`, `function cttimeout_new_timeout`, `function list_for_each_entry`, `function ctnl_timeout_fill_info`, `function ctnl_timeout_dump`, `function cttimeout_get_timeout`, `function list_for_each_entry`, `function ctnl_timeout_del`.
- 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.