ip6_dst_lookup_flow(9)
β¨ ip6_dst_lookup_flow(9) β¨
okay so bestie, this is a page from the Kernel API Manual, and it's literally about doing a route lookup on a flow with ipsec. iykyk π
πΈ NAME πΈ
ip6_dst_lookup_flow β perform route lookup on flow with ipsec
π SYNOPSIS π
struct dst_entry * ip6_dst_lookup_flow (struct net *net , const struct
sock *sk , struct flowi6 *fl6 , const struct in6_addr *final_dst );
π¦ ARGUMENTS π¦
netβ the network namespace where the lookup happens, periodt.skβ the socket that provides route info. it's giving "source of truth" energy.fl6β the flow to look up. yes bestie, this is the flow.final_dstβ the final destination address for the ipsec lookup. iconic.
π DESCRIPTION π
okay so this function performs a route lookup on the given flow. no cap.
it returns a valid dst pointer on success, or a pointer encoded error code. that's the whole vibe check πβ¨
π₯ SEE ALSO π₯
Kernel file ./net/ipv6/ip6_output.c ip6_dst_lookup(9), ip6_sk_dst_lookup_flow(9)
mwah π this cutie is from <source>./net/ipv6</source>, dated <date>October 2026</date>, and it lives in the Kernel API Manual β love that for us π«Άπ
π¦ 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