include/linux/mroute.h
Source file repositories/reference/linux-study-clean/include/linux/mroute.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/mroute.h- Extension
.h- Size
- 2167 bytes
- Lines
- 96
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/in.hlinux/pim.hnet/fib_rules.hnet/fib_notifier.huapi/linux/mroute.hlinux/mroute_base.hlinux/sockptr.h
Detected Declarations
struct mfc_cache_cmp_argstruct mfc_cachestruct rtmsgfunction ip_mroute_optfunction ip_mroute_setsockoptfunction ip_mroute_getsockoptfunction ipmr_ioctlfunction ip_mr_initfunction ip_mroute_optfunction ipmr_rule_defaultfunction ipmr_sk_ioctl
Annotated Snippet
struct mfc_cache_cmp_arg {
__be32 mfc_mcastgrp;
__be32 mfc_origin;
};
/**
* struct mfc_cache - multicast routing entries
* @_c: Common multicast routing information; has to be first [for casting]
* @mfc_mcastgrp: destination multicast group address
* @mfc_origin: source address
* @cmparg: used for rhashtable comparisons
*/
struct mfc_cache {
struct mr_mfc _c;
union {
struct {
__be32 mfc_mcastgrp;
__be32 mfc_origin;
};
struct mfc_cache_cmp_arg cmparg;
};
};
struct rtmsg;
int ipmr_get_route(struct net *net, struct sk_buff *skb,
__be32 saddr, __be32 daddr,
struct rtmsg *rtm, u32 portid);
#endif
Annotation
- Immediate include surface: `linux/in.h`, `linux/pim.h`, `net/fib_rules.h`, `net/fib_notifier.h`, `uapi/linux/mroute.h`, `linux/mroute_base.h`, `linux/sockptr.h`.
- Detected declarations: `struct mfc_cache_cmp_arg`, `struct mfc_cache`, `struct rtmsg`, `function ip_mroute_opt`, `function ip_mroute_setsockopt`, `function ip_mroute_getsockopt`, `function ipmr_ioctl`, `function ip_mr_init`, `function ip_mroute_opt`, `function ipmr_rule_default`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source 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.