STRUCT NFP_TUN_NEIGH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct nfp_tun_neigh(9) β€” Kernel API Manual πŸ’–

okay so bestie, listen β€” this is a page from the Kernel API Manual, and honestly? it's a tiny little struct with main character energy. three fields. that's it. but every single one of them matters, so let's get into it 🫢


✨ NAME ✨

struct nfp_tun_neigh β€” basic neighbour data. lowercase, humble, but it's giving "quiet baddie who runs the whole group chat" πŸ’…


🌸 SYNOPSIS 🌸

struct nfp_tun_neigh {
    u8 dst_addr[ETH_ALEN];
    u8 src_addr[ETH_ALEN];
    __be32 port_id;
 };

look at her. three lines of pure slay. no cap, that's the whole struct πŸ”₯


πŸŽ€ Members πŸŽ€

  • dst_addr β€” destination MAC address, like the where are we going of it all πŸ¦‹ this is the address your packet is trying to reach, fr fr.
  • src_addr β€” source MAC address, aka the who sent this β€” the origin story, the receipts, the "it came from here" moment ✨
  • port_id β€” the NFP port to output the packet on, and just so you know, it's associated with source IPv4 πŸ‘€ that's the key detail, don't lose it.
three fields, zero fluff, and every one of them is doing her job. iconic behaviour only πŸ’―

πŸ¦‹ SEE ALSO πŸ¦‹

okay so this struct does not exist in a vacuum β€” she's part of a whole friend group, and you can find them all hanging out in the 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_ext(9)
  • struct nfp_tun_neigh_v4(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)

like, the whole squad πŸ’œ go read them, iykyk.


mwah πŸ’‹ that's the page β€” source /drivers/net/ethernet/netrono..., dated October 2026, and yes she's still serving struct realness. bye bestie, go read some headers πŸŽ€

πŸ“¦ where this page comes from