net/ipv6/netfilter/nft_fib_ipv6.c
Source file repositories/reference/linux-study-clean/net/ipv6/netfilter/nft_fib_ipv6.c
File Facts
- System
- Linux kernel
- Corpus path
net/ipv6/netfilter/nft_fib_ipv6.c- Extension
.c- Size
- 8057 bytes
- Lines
- 325
- 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/kernel.hlinux/init.hlinux/module.hlinux/netlink.hlinux/netfilter.hlinux/netfilter/nf_tables.hlinux/netfilter_ipv6.hnet/netfilter/nf_tables_core.hnet/netfilter/nf_tables.hnet/netfilter/nft_fib.hnet/ip6_fib.hnet/ip6_route.h
Detected Declarations
function get_ifindexfunction nft_fib6_flowi_initfunction nft_fib6_lookupfunction __nft_fib6_eval_typefunction nft_fib6_eval_typefunction nft_fib_v6_skip_icmpv6function nft_fib6_info_nh_dev_matchfunction nft_fib6_nh_match_dev_cbfunction nft_fib6_info_nh_uses_devfunction list_for_each_entry_rcufunction nft_fib6_evalfunction nft_fib6_select_opsfunction nft_fib6_module_initfunction nft_fib6_module_exitmodule init nft_fib6_module_initexport nft_fib6_eval_typeexport nft_fib6_eval
Annotated Snippet
module_init(nft_fib6_module_init);
module_exit(nft_fib6_module_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Florian Westphal <fw@strlen.de>");
MODULE_ALIAS_NFT_AF_EXPR(10, "fib");
MODULE_DESCRIPTION("nftables fib / ipv6 route lookup support");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/init.h`, `linux/module.h`, `linux/netlink.h`, `linux/netfilter.h`, `linux/netfilter/nf_tables.h`, `linux/netfilter_ipv6.h`, `net/netfilter/nf_tables_core.h`.
- Detected declarations: `function get_ifindex`, `function nft_fib6_flowi_init`, `function nft_fib6_lookup`, `function __nft_fib6_eval_type`, `function nft_fib6_eval_type`, `function nft_fib_v6_skip_icmpv6`, `function nft_fib6_info_nh_dev_match`, `function nft_fib6_nh_match_dev_cb`, `function nft_fib6_info_nh_uses_dev`, `function list_for_each_entry_rcu`.
- 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.