net/netfilter/ipset/ip_set_list_set.c
Source file repositories/reference/linux-study-clean/net/netfilter/ipset/ip_set_list_set.c
File Facts
- System
- Linux kernel
- Corpus path
net/netfilter/ipset/ip_set_list_set.c- Extension
.c- Size
- 17060 bytes
- Lines
- 693
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/ip.hlinux/rculist.hlinux/skbuff.hlinux/errno.hlinux/netfilter/ipset/ip_set.hlinux/netfilter/ipset/ip_set_list.h
Detected Declarations
struct set_elemstruct set_adt_elemstruct list_setfunction list_set_ktestfunction list_set_kaddfunction list_for_each_entry_rcufunction list_set_kdelfunction list_for_each_entry_rcufunction list_set_kadtfunction __list_set_del_rcufunction list_set_delfunction list_set_replacefunction set_cleanup_entriesfunction list_set_utestfunction list_set_init_extensionsfunction list_set_uaddfunction list_set_udelfunction list_for_each_entry_safefunction list_set_uadtfunction list_set_flushfunction list_set_destroyfunction list_set_memsizefunction list_set_headfunction list_set_listfunction list_set_same_setfunction list_set_cancel_gcfunction list_set_gcfunction list_set_gc_initfunction init_list_setfunction list_set_createfunction list_set_initfunction list_set_finimodule init list_set_init
Annotated Snippet
module_init(list_set_init);
module_exit(list_set_fini);
Annotation
- Immediate include surface: `linux/module.h`, `linux/ip.h`, `linux/rculist.h`, `linux/skbuff.h`, `linux/errno.h`, `linux/netfilter/ipset/ip_set.h`, `linux/netfilter/ipset/ip_set_list.h`.
- Detected declarations: `struct set_elem`, `struct set_adt_elem`, `struct list_set`, `function list_set_ktest`, `function list_set_kadd`, `function list_for_each_entry_rcu`, `function list_set_kdel`, `function list_for_each_entry_rcu`, `function list_set_kadt`, `function __list_set_del_rcu`.
- 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.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.