net/dcb/dcbnl.c
Source file repositories/reference/linux-study-clean/net/dcb/dcbnl.c
File Facts
- System
- Linux kernel
- Corpus path
net/dcb/dcbnl.c- Extension
.c- Size
- 61739 bytes
- Lines
- 2428
- 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/netdevice.hlinux/netlink.hlinux/slab.hnet/netlink.hnet/rtnetlink.hlinux/dcbnl.hnet/dcbevent.hlinux/rtnetlink.hlinux/init.hnet/sock.h
Detected Declarations
struct reply_funcfunction dcbnl_app_attr_type_getfunction dcbnl_app_attr_type_validatefunction dcbnl_app_selector_validatefunction dcbnl_getstatefunction dcbnl_getpfccfgfunction dcbnl_getperm_hwaddrfunction dcbnl_getcapfunction dcbnl_getnumtcsfunction dcbnl_setnumtcsfunction dcbnl_getpfcstatefunction dcbnl_setpfcstatefunction dcbnl_getappfunction dcbnl_setappfunction __dcbnl_pg_getcfgfunction dcbnl_pgtx_getcfgfunction dcbnl_pgrx_getcfgfunction dcbnl_setstatefunction dcbnl_setpfccfgfunction dcbnl_setallfunction __dcbnl_pg_setcfgfunction dcbnl_pgtx_setcfgfunction dcbnl_pgrx_setcfgfunction dcbnl_bcn_getcfgfunction dcbnl_bcn_setcfgfunction dcbnl_build_peer_appfunction dcbnl_getapptrustfunction dcbnl_app_table_setdelfunction nla_for_each_nestedfunction dcbnl_ieee_fillfunction dcbnl_cee_pg_fillfunction dcbnl_cee_fillfunction list_for_each_entryfunction dcbnl_notifyfunction dcbnl_ieee_notifyfunction dcbnl_cee_notifyfunction dcbnl_ieee_setfunction nla_for_each_nestedfunction dcbnl_ieee_getfunction dcbnl_ieee_delfunction dcbnl_getdcbxfunction dcbnl_setdcbxfunction dcbnl_getfeatcfgfunction dcbnl_setfeatcfgfunction dcbnl_cee_getfunction dcb_doitfunction list_for_each_entryfunction list_for_each_entry
Annotated Snippet
device_initcall(dcbnl_init);
Annotation
- Immediate include surface: `linux/netdevice.h`, `linux/netlink.h`, `linux/slab.h`, `net/netlink.h`, `net/rtnetlink.h`, `linux/dcbnl.h`, `net/dcbevent.h`, `linux/rtnetlink.h`.
- Detected declarations: `struct reply_func`, `function dcbnl_app_attr_type_get`, `function dcbnl_app_attr_type_validate`, `function dcbnl_app_selector_validate`, `function dcbnl_getstate`, `function dcbnl_getpfccfg`, `function dcbnl_getperm_hwaddr`, `function dcbnl_getcap`, `function dcbnl_getnumtcs`, `function dcbnl_setnumtcs`.
- 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.