net/sched/act_csum.c
Source file repositories/reference/linux-study-clean/net/sched/act_csum.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/act_csum.c- Extension
.c- Size
- 17379 bytes
- Lines
- 756
- 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/types.hlinux/init.hlinux/kernel.hlinux/module.hlinux/spinlock.hlinux/netlink.hnet/netlink.hlinux/rtnetlink.hlinux/skbuff.hnet/ip.hnet/ipv6.hnet/icmp.hlinux/icmpv6.hlinux/igmp.hnet/tcp.hnet/udp.hnet/ip6_checksum.hnet/sctp/checksum.hnet/act_api.hnet/pkt_cls.hlinux/tc_act/tc_csum.hnet/tc_act/tc_csum.hnet/tc_wrapper.h
Detected Declarations
function tcf_csum_initfunction tcf_csum_ipv4_icmpfunction tcf_csum_ipv4_igmpfunction tcf_csum_ipv6_icmpfunction tcf_csum_ipv4_tcpfunction tcf_csum_ipv6_tcpfunction tcf_csum_ipv4_udpfunction tcf_csum_ipv6_udpfunction tcf_csum_sctpfunction tcf_csum_ipv4function tcf_csum_ipv6_hopoptsfunction tcf_csum_ipv6function tcf_csum_actfunction cpu_to_be16function tcf_csum_dumpfunction tcf_csum_cleanupfunction tcf_csum_get_fill_sizefunction tcf_csum_offload_act_setupfunction csum_init_netfunction csum_exit_netfunction csum_init_modulefunction csum_cleanup_modulemodule init csum_init_module
Annotated Snippet
module_init(csum_init_module);
module_exit(csum_cleanup_module);
Annotation
- Immediate include surface: `linux/types.h`, `linux/init.h`, `linux/kernel.h`, `linux/module.h`, `linux/spinlock.h`, `linux/netlink.h`, `net/netlink.h`, `linux/rtnetlink.h`.
- Detected declarations: `function tcf_csum_init`, `function tcf_csum_ipv4_icmp`, `function tcf_csum_ipv4_igmp`, `function tcf_csum_ipv6_icmp`, `function tcf_csum_ipv4_tcp`, `function tcf_csum_ipv6_tcp`, `function tcf_csum_ipv4_udp`, `function tcf_csum_ipv6_udp`, `function tcf_csum_sctp`, `function tcf_csum_ipv4`.
- 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.