__fl6_update_dst(9)
π __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β theflowi6whosedaddris gonna get updated, bestie. that's the whole point of the function, no cap β¨optβ astruct ipv6_txoptionsthat we go digging through looking for thesrcrtoption πorigβ a copy of the originaldaddraddress, in case it got modified π«Ά
β RETURN β
- Returns
NULLif there's nosrcrt, or if thesrcrttype is invalid π - Otherwise it returns
orig, and the initial value offl6->daddrgets set inorigπ
literally the whole vibe check is:NULL= nothing happened,orig= we did the thing and stashed the old address inorigπ₯
π SEE ALSO π
- Kernel file
./net/ipv6/exthdrs.c ipv6_renew_options(9)
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
- 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