STRUCT NFP_TUN_NEIGH(9)
π 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
- 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