net/ipv6/ah6.c
Source file repositories/reference/linux-study-clean/net/ipv6/ah6.c
File Facts
- System
- Linux kernel
- Corpus path
net/ipv6/ah6.c- Extension
.c- Size
- 19126 bytes
- Lines
- 828
- 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.
- 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
crypto/hash.hcrypto/utils.hlinux/module.hlinux/slab.hnet/ip.hnet/ah.hlinux/crypto.hlinux/pfkeyv2.hlinux/string.hlinux/scatterlist.hnet/ip6_route.hnet/icmp.hnet/ipv6.hnet/protocol.hnet/xfrm.h
Detected Declarations
struct tmp_extstruct ah_skb_cbfunction ah6_save_hdrsfunction ah6_restore_hdrsfunction zero_out_mutable_optsfunction ipv6_rearrange_destoptfunction ipv6_rearrange_destoptfunction ipv6_clear_mutable_optionsfunction ah6_output_donefunction ah6_outputfunction ah6_input_donefunction ah6_inputfunction ah6_errfunction ah6_init_statefunction ah6_destroyfunction ah6_rcv_cbfunction ah6_initfunction ah6_finimodule init ah6_init
Annotated Snippet
module_init(ah6_init);
module_exit(ah6_fini);
MODULE_DESCRIPTION("IPv6 AH transformation helpers");
MODULE_LICENSE("GPL");
MODULE_ALIAS_XFRM_TYPE(AF_INET6, XFRM_PROTO_AH);
Annotation
- Immediate include surface: `crypto/hash.h`, `crypto/utils.h`, `linux/module.h`, `linux/slab.h`, `net/ip.h`, `net/ah.h`, `linux/crypto.h`, `linux/pfkeyv2.h`.
- Detected declarations: `struct tmp_ext`, `struct ah_skb_cb`, `function ah6_save_hdrs`, `function ah6_restore_hdrs`, `function zero_out_mutable_opts`, `function ipv6_rearrange_destopt`, `function ipv6_rearrange_destopt`, `function ipv6_clear_mutable_options`, `function ah6_output_done`, `function ah6_output`.
- 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.