STRUCT IP6T_SRH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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