net/strparser/strparser.c
Source file repositories/reference/linux-study-clean/net/strparser/strparser.c
File Facts
- System
- Linux kernel
- Corpus path
net/strparser/strparser.c- Extension
.c- Size
- 13109 bytes
- Lines
- 548
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bpf.hlinux/errno.hlinux/errqueue.hlinux/file.hlinux/in.hlinux/kernel.hlinux/export.hlinux/init.hlinux/net.hlinux/netdevice.hlinux/poll.hlinux/rculist.hlinux/skbuff.hlinux/socket.hlinux/uaccess.hlinux/workqueue.hnet/strparser.hnet/netns/generic.hnet/sock.h
Detected Declarations
function strp_abort_strpfunction strp_start_timerfunction strp_parser_errfunction strp_peek_lenfunction __strp_recvfunction strp_processfunction strp_recvfunction default_read_sock_donefunction strp_read_sockfunction strp_data_readyfunction lockfunction do_strp_workfunction strp_workfunction strp_msg_timeoutfunction strp_sock_lockfunction strp_sock_unlockfunction strp_initfunction strp_unpausefunction strp_donefunction strp_stopfunction strp_check_rcvfunction strp_dev_initmodule init strp_dev_initexport strp_processexport strp_data_readyexport strp_initexport strp_unpauseexport strp_doneexport strp_stopexport strp_check_rcv
Annotated Snippet
device_initcall(strp_dev_init);
Annotation
- Immediate include surface: `linux/bpf.h`, `linux/errno.h`, `linux/errqueue.h`, `linux/file.h`, `linux/in.h`, `linux/kernel.h`, `linux/export.h`, `linux/init.h`.
- Detected declarations: `function strp_abort_strp`, `function strp_start_timer`, `function strp_parser_err`, `function strp_peek_len`, `function __strp_recv`, `function strp_process`, `function strp_recv`, `function default_read_sock_done`, `function strp_read_sock`, `function strp_data_ready`.
- 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.