STRUCT NFP_TUN_NEIGH_V4(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct nfp_tun_neigh_v4(9) πŸ’–

okay so bestie, listen β€” this is a page from the Kernel API Manual, and it's literally all about struct nfp_tun_neigh_v4, which is the neighbour/route entry on the NFP for IPv4. yes, the actual NFP. we're in the netronome flower driver now, hold my iced coffee 🧚


✨ NAME ✨

struct nfp_tun_neigh_v4 β€” the neighbour/route entry on the NFP for IPv4, and honestly? she's iconic for it πŸ‘‘


🌸 SYNOPSIS 🌸

the whole struct, laid out, no cap:

struct nfp_tun_neigh_v4 {
    __be32 dst_ipv4;
    __be32 src_ipv4;
    struct nfp_tun_neigh common;
    struct nfp_tun_neigh_ext ext;
    struct nfp_tun_neigh_lag lag;
 };

like five fields, each one doing its little job. she ate πŸ’…


πŸŽ€ Members πŸŽ€

okay so here's the field-by-field vibe check, keep up:

  • dst_ipv4 β€” the destination IPv4 address 🎯 like where we're headed, fr fr
  • src_ipv4 β€” the source IPv4 address 🏁 where it came from, the origin story
  • common β€” the neighbour/route common info 🌈 the shared, everyday stuff
  • ext β€” the neighbour/route extended info ✨ the extra details, the bonus round
  • lag β€” the lag port info πŸ”— port info for the lag, periodt

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file this lives in, plus the whole friend group of structs (and yes, you're gonna want to look at all of them, bestie):

kernel file ./drivers/net/ethernet/netronome/nfp/flower/main.h struct nfp_fl_tunnel_offloads(9), struct nfp_tun_neigh_lag(9), struct nfp_tun_neigh(9), struct nfp_tun_neigh_ext(9), struct nfp_tun_neigh_v6(9), struct nfp_neigh_entry(9), struct nfp_predt_entry(9), struct nfp_mtu_conf(9), struct nfp_fl_lag(9), struct nfp_fl_internal_ports(9), struct nfp_flower_priv(9), struct nfp_fl_qos(9), struct nfp_flower_repr_priv(9), struct nfp_flower_non_repr_priv(9), struct nfp_ipv6_addr_entry(9).


lowkey a whole struct family reunion in here and you're invited 🫢

and that's the page, bestie!! πŸ’œ this cutie came from ./drivers/net/ethernet/netrono... (the source path is truncated in the original, so I'm keeping it exactly as it was handed to me, don't come for me 😭) and it's dated October 2026 β€” so yeah, future vibes, she's ahead of her time ⭐ bye bestie, go read the other structs, mwah πŸŽ€

πŸ“¦ where this page comes from