net/lapb/lapb_iface.c
Source file repositories/reference/linux-study-clean/net/lapb/lapb_iface.c
File Facts
- System
- Linux kernel
- Corpus path
net/lapb/lapb_iface.c- Extension
.c- Size
- 11673 bytes
- Lines
- 554
- 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/module.hlinux/errno.hlinux/types.hlinux/socket.hlinux/in.hlinux/kernel.hlinux/jiffies.hlinux/timer.hlinux/string.hlinux/sockios.hlinux/net.hlinux/inet.hlinux/if_arp.hlinux/skbuff.hlinux/slab.hnet/sock.hlinux/uaccess.hlinux/fcntl.hlinux/mm.hlinux/interrupt.hlinux/stat.hlinux/init.hnet/lapb.h
Detected Declarations
function lapb_free_cbfunction lapb_holdfunction lapb_putfunction __lapb_remove_cbfunction __lapb_insert_cbfunction list_for_each_entryfunction lapb_registerfunction lapb_unregisterfunction lapb_getparmsfunction lapb_setparmsfunction lapb_connect_requestfunction __lapb_disconnect_requestfunction lapb_disconnect_requestfunction lapb_data_requestfunction lapb_data_receivedfunction lapb_connect_confirmationfunction lapb_connect_indicationfunction lapb_disconnect_confirmationfunction lapb_disconnect_indicationfunction lapb_data_indicationfunction lapb_data_transmitfunction lapb_device_eventfunction lapb_initfunction lapb_exitmodule init lapb_initexport lapb_registerexport lapb_unregisterexport lapb_getparmsexport lapb_setparmsexport lapb_connect_requestexport lapb_disconnect_requestexport lapb_data_requestexport lapb_data_received
Annotated Snippet
module_init(lapb_init);
module_exit(lapb_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/errno.h`, `linux/types.h`, `linux/socket.h`, `linux/in.h`, `linux/kernel.h`, `linux/jiffies.h`, `linux/timer.h`.
- Detected declarations: `function lapb_free_cb`, `function lapb_hold`, `function lapb_put`, `function __lapb_remove_cb`, `function __lapb_insert_cb`, `function list_for_each_entry`, `function lapb_register`, `function lapb_unregister`, `function lapb_getparms`, `function lapb_setparms`.
- 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.