ipv6_rearrange_destopt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ipv6_rearrange_destopt β€” a Kernel API Manual moment (section 9, bestie)

okay so picture this: you're deep in the kernel, section 9 of the manual, and there's this little function called ipv6_rearrange_destopt that literally just rearranges the IPv6 destination options header. that's it. that's the whole vibe. ✨


🌸 NAME 🌸

ipv6_rearrange_destopt β€” rearrange IPv6 destination options header πŸŽ€


✨ SYNOPSIS ✨

void ipv6_rearrange_destopt (struct ipv6hdr *iph , struct ipv6_opt_hdr
*destopt );

no cap, that's the whole signature. returns void, so don't go looking for a return value, she gives you nothing back and she's iconic for it. πŸ’…


🫢 ARGUMENTS 🫢

  • iph β€” the IPv6 header. yeah. that one. πŸ‘‘
  • destopt β€” the "destionation options header" β€” and yes, bestie, that is exactly how it's spelled in the source, we do not fix it, we respect the typo, it's part of the lore. πŸ™ˆ (it's the destination options header, iykyk)

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./net/ipv6/ah6.c β€” go read it, it's giving source-of-truth energy ⭐
  • ipv6_rearrange_rthdr(9) β€” the sibling function, same rearrange agenda, different header 🌈

lowkey a warning but mostly just a reminder: this page is thin on purpose, she's a one-job function. don't invent extra behaviour for her, that's not the move. πŸ’€

and that's the page, bestie! πŸ¦‹ this one came out of ./net/ipv6, dated October 2026, in the ipv6_rearrange_destopt(9) era β€” mwah, go rearrange some headers, you got this πŸ’–πŸŽ€πŸŒŸ

πŸ“¦ where this page comes from