include/uapi/linux/netfilter_ipv6/ip6t_srh.h
Source file repositories/reference/linux-study-clean/include/uapi/linux/netfilter_ipv6/ip6t_srh.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/linux/netfilter_ipv6/ip6t_srh.h- Extension
.h- Size
- 3285 bytes
- Lines
- 97
- 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/types.hlinux/netfilter.h
Detected Declarations
struct ip6t_srhstruct ip6t_srh1
Annotated Snippet
struct ip6t_srh {
__u8 next_hdr;
__u8 hdr_len;
__u8 segs_left;
__u8 last_entry;
__u16 tag;
__u16 mt_flags;
__u16 mt_invflags;
};
/**
* struct ip6t_srh1 - SRH match options (revision 1)
* @next_hdr: Next header field of SRH
* @hdr_len: Extension header length field of SRH
* @segs_left: Segments left field of SRH
* @last_entry: Last entry field of SRH
* @tag: Tag field of SRH
* @psid_addr: Address of previous SID in SRH SID list
* @nsid_addr: Address of NEXT SID in SRH SID list
* @lsid_addr: Address of LAST SID in SRH SID list
* @psid_msk: Mask of previous SID in SRH SID list
* @nsid_msk: Mask of next SID in SRH SID list
* @lsid_msk: MAsk of last SID in SRH SID list
* @mt_flags: match options
* @mt_invflags: Invert the sense of match options
*/
struct ip6t_srh1 {
__u8 next_hdr;
__u8 hdr_len;
__u8 segs_left;
__u8 last_entry;
__u16 tag;
struct in6_addr psid_addr;
struct in6_addr nsid_addr;
struct in6_addr lsid_addr;
struct in6_addr psid_msk;
struct in6_addr nsid_msk;
struct in6_addr lsid_msk;
__u16 mt_flags;
__u16 mt_invflags;
};
#endif /*_IP6T_SRH_H*/
Annotation
- Immediate include surface: `linux/types.h`, `linux/netfilter.h`.
- Detected declarations: `struct ip6t_srh`, `struct ip6t_srh1`.
- 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.