net/ipv6/mip6.c
Source file repositories/reference/linux-study-clean/net/ipv6/mip6.c
File Facts
- System
- Linux kernel
- Corpus path
net/ipv6/mip6.c- Extension
.c- Size
- 10358 bytes
- Lines
- 412
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/skbuff.hlinux/time.hlinux/ipv6.hlinux/icmpv6.hnet/sock.hnet/ipv6.hnet/ip6_checksum.hnet/rawv6.hnet/xfrm.hnet/mip6.h
Detected Declarations
struct mip6_report_rate_limiterfunction Copyrightfunction mip6_param_probfunction mip6_mh_lenfunction mip6_mh_filterfunction mip6_destopt_inputfunction mip6_destopt_outputfunction mip6_report_rl_allowfunction mip6_destopt_rejectfunction mip6_destopt_init_statefunction mip6_destopt_destroyfunction mip6_rthdr_inputfunction mip6_rthdr_outputfunction mip6_rthdr_init_statefunction mip6_rthdr_destroyfunction mip6_initfunction mip6_finimodule init mip6_init
Annotated Snippet
module_init(mip6_init);
module_exit(mip6_fini);
MODULE_DESCRIPTION("IPv6 Mobility driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS_XFRM_TYPE(AF_INET6, XFRM_PROTO_DSTOPTS);
MODULE_ALIAS_XFRM_TYPE(AF_INET6, XFRM_PROTO_ROUTING);
Annotation
- Immediate include surface: `linux/module.h`, `linux/skbuff.h`, `linux/time.h`, `linux/ipv6.h`, `linux/icmpv6.h`, `net/sock.h`, `net/ipv6.h`, `net/ip6_checksum.h`.
- Detected declarations: `struct mip6_report_rate_limiter`, `function Copyright`, `function mip6_param_prob`, `function mip6_mh_len`, `function mip6_mh_filter`, `function mip6_destopt_input`, `function mip6_destopt_output`, `function mip6_report_rl_allow`, `function mip6_destopt_reject`, `function mip6_destopt_init_state`.
- 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.