STRUCT NFP_TUN_PRE_TUN_RULE(9)
π¦ struct nfp_tun_pre_tun_rule(9) π¦
okay bestie, welcome to the Kernel API Manual page for struct nfp_tun_pre_tun_rule(9) β yes, the whole manual name is folded in right here, no boring header line needed. This struct is lowkey iconic: itβs the rule that gets matched before decap, and weβre gonna go through every single field together. π
πΈ NAME πΈ
struct nfp_tun_pre_tun_rule β rule matched before decap. Thatβs it, thatβs the name, and itβs giving βpre-decap main characterβ energy fr fr. β¨
β¨ SYNOPSIS β¨
okay so hereβs the struct in all its glory β copy it exactly, bestie, no cap:
struct nfp_tun_pre_tun_rule {
__be32 flags;
__be16 port_idx;
__be16 vlan_tci;
__be32 host_ctx_id;
};
π Members π
every field is doing a job here, and weβre not skipping a single one:
flagsβ options for the rule offset. yes, the offset options live here, iykyk. π«Άport_idxβ index of destination MAC address for the rule. itβs the index, bestie, and itβs important. πvlan_tciβ VLAN info associated with MAC. vlan vibes, associated, periodt. π¦host_ctx_idβ stats context of rule to update. gotta know which stats context to update, obviously. π
π SEE ALSO π
the kernel file is literally ./drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c β go peek if you want, itβs right there. π
and these related structs are all in the group chat too:
struct nfp_tun_active_tuns(9)struct nfp_tun_active_tuns_v6(9)struct nfp_tun_req_route_ipv4(9)struct nfp_tun_req_route_ipv6(9)struct nfp_offloaded_route(9)struct nfp_tun_ipv4_addr(9)struct nfp_ipv4_addr_entry(9)struct nfp_tun_ipv6_addr(9)struct nfp_tun_mac_addr_offload(9)struct nfp_neigh_update_work(9)struct nfp_tun_offloaded_mac(9)
mwah π okay thatβs the page. the footer energy is source/version ./drivers/net/ethernet/netrono..., dated October 2026, and itβs still serving struct nfp_tun_pre_tun_rule(9) realness. periodt. π
β¨
π¦ 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