STRUCT IP6T_SRH(9)
β¨ struct ip6t_srh(9) β¨
okay so bestie, welcome to the struct ip6t_srh(9) page from the Kernel API Manual π
β this is the little struct that holds all your SRH match options, and we're gonna go through it field by field, no skipping, no cap π«Ά
πΈ NAME πΈ
struct ip6t_srh β SRH match options, literally the whole point of this page β¨
π¦ SYNOPSIS π¦
here's the whole vibe, copy it exactly bestie:
struct ip6t_srh {
__u8 next_hdr;
__u8 hdr_len;
__u8 segs_left;
__u8 last_entry;
__u16 tag;
__u16 mt_flags;
__u16 mt_invflags;
};
π Members π
okay so now the main character energy β every single field, one by one π
next_hdrβ the Next header field of SRH. that's it, that's the field π¦hdr_lenβ the Extension header length field of SRH. iconic, honestly β¨segs_leftβ the Segments left field of SRH. yes bestie, segments, plural πΈlast_entryβ the Last entry field of SRH. the last entry. the final boss πtagβ the Tag field of SRH. not a hashtag, a tag π·οΈmt_flagsβ match options π₯mt_invflagsβ Invert the sense of match options. like, flip the whole vibe of your match options, periodt π
π SEE ALSO π
go look at the Kernel file ./include/uapi/linux/netfilter_ipv6/ip6t_srh.h β and also struct ip6t_srh1(9), your next obsession ππ«
and that's the page bestie, you ate that π this gem comes from the Kernel API Manual, sourced from ./include/uapi/linux/netfilter..., dated October 2026 β mwah, slay, struct ip6t_srh(9) out π
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms