ip6_dst_lookup_flow(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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