__fl6_update_dst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __fl6_update_dst(9)

okay so bestie, welcome to the Kernel API Manual β€” this one lives in section 9, and it's all about updating a flowi destination address with whatever a srcrt option hands you πŸŽ€


✨ NAME ✨

__fl6_update_dst β€” update the flowi destination address using the info given by the srcrt option, if there even is one πŸ¦‹


🌸 SYNOPSIS 🌸

struct in6_addr * __fl6_update_dst(struct flowi6 *fl6,
                                   const struct ipv6_txoptions *opt,
                                   struct in6_addr *orig);

πŸ’œ ARGUMENTS πŸ’œ

  • fl6 β€” the flowi6 whose daddr is gonna get updated, bestie. that's the whole point of the function, no cap ✨
  • opt β€” a struct ipv6_txoptions that we go digging through looking for the srcrt option πŸ‘€
  • orig β€” a copy of the original daddr address, in case it got modified 🫢

⭐ RETURN ⭐

  • Returns NULL if there's no srcrt, or if the srcrt type is invalid πŸ’€
  • Otherwise it returns orig, and the initial value of fl6->daddr gets set in orig πŸ’–
literally the whole vibe check is: NULL = nothing happened, orig = we did the thing and stashed the old address in orig πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the whole page, periodt 🌈 and for the cute sign-off: this gem comes to you from the source path ./net/ipv6 and it's dated October 2026 β€” so go forth and update those destinations, bestie πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from