net/netfilter/ipvs/ip_vs_nfct.c
Source file repositories/reference/linux-study-clean/net/netfilter/ipvs/ip_vs_nfct.c
File Facts
- System
- Linux kernel
- Corpus path
net/netfilter/ipvs/ip_vs_nfct.c- Extension
.c- Size
- 8969 bytes
- Lines
- 280
- 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.
- 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/module.hlinux/types.hlinux/kernel.hlinux/errno.hlinux/compiler.hlinux/vmalloc.hlinux/skbuff.hnet/ip.hlinux/netfilter.hlinux/netfilter_ipv4.hnet/ip_vs.hnet/netfilter/nf_conntrack_core.hnet/netfilter/nf_conntrack_expect.hnet/netfilter/nf_conntrack_seqadj.hnet/netfilter/nf_conntrack_helper.hnet/netfilter/nf_conntrack_zones.h
Detected Declarations
function Copyrightfunction ip_vs_confirm_conntrackfunction init_conntrackfunction wildcardfunction ip_vs_conn_drop_conntrackexport ip_vs_nfct_expect_related
Annotated Snippet
if (nf_ct_kill(ct)) {
IP_VS_DBG_BUF(7, "%s: ct=%p deleted for tuple="
FMT_TUPLE "\n",
__func__, ct, ARG_TUPLE(&tuple));
} else {
IP_VS_DBG_BUF(7, "%s: ct=%p, no conntrack for tuple="
FMT_TUPLE "\n",
__func__, ct, ARG_TUPLE(&tuple));
}
nf_ct_put(ct);
} else {
IP_VS_DBG_BUF(7, "%s: no conntrack for tuple=" FMT_TUPLE "\n",
__func__, ARG_TUPLE(&tuple));
}
}
Annotation
- Immediate include surface: `linux/module.h`, `linux/types.h`, `linux/kernel.h`, `linux/errno.h`, `linux/compiler.h`, `linux/vmalloc.h`, `linux/skbuff.h`, `net/ip.h`.
- Detected declarations: `function Copyright`, `function ip_vs_confirm_conntrack`, `function init_conntrack`, `function wildcard`, `function ip_vs_conn_drop_conntrack`, `export ip_vs_nfct_expect_related`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration implementation candidate.
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.