iavf_fill_fdir_ip4_hdr(9)
π iavf_fill_fdir_ip4_hdr(9) π
okay so bestie, this one's from the Kernel API Manual and it's honestly such a little icon β a whole function whose entire personality is "fill the IPv4 protocol header" and then dip. we love a focused queen π
β¨ NAME β¨
iavf_fill_fdir_ip4_hdr β fill the IPv4 protocol header. that's it, that's the job, and she does it π«Ά
πΈ SYNOPSIS πΈ
int iavf_fill_fdir_ip4_hdr (struct iavf_fltr *fltr , struct
virtchnl_proto_hdrs *proto_hdrs );
like, she takes two structs and hands you back an int. simple. elegant. no cap β¨
π¦ ARGUMENTS π¦
fltrβ the Flow Director filter data structure π this is the main character, the filter data itselfproto_hdrsβ the Flow Director protocol headers data structure π this is where the protocol headers live
π DESCRIPTION π
Returns 0 if the IPv4 protocol header is set successfully π that's literally the whole contract β you call her, she fills the header, she gives you a 0 back, everyone's happy, periodt π
ngl bestie, the manpage doesn't say what comes back when it doesn't succeed, so don't go inventing meanings for other return values β she didn't say, so we don't say π
β SEE ALSO β
first up, the source herself β the kernel file:
./drivers/net/ethernet/intel/iavf/iavf_fdir.c π (go read it, iykyk)
and now, the whole friend group π«Ά β every single one of these, no skips:
iavf_validate_fdir_fltr_masks(9)iavf_pkt_udp_no_pay_len(9)iavf_fill_fdir_gtpu_hdr(9)iavf_fill_fdir_pfcp_hdr(9)iavf_fill_fdir_nat_t_esp_hdr(9)iavf_fill_fdir_udp_flex_pay_hdr(9)iavf_fill_fdir_ip6_hdr(9)iavf_fill_fdir_tcp_hdr(9)iavf_fill_fdir_udp_hdr(9)iavf_fill_fdir_sctp_hdr(9)iavf_fill_fdir_ah_hdr(9)iavf_fill_fdir_esp_hdr(9)iavf_fill_fdir_l4_hdr(9)iavf_fill_fdir_eth_hdr(9)iavf_fill_fdir_add_msg(9)iavf_fdir_flow_proto_name(9)iavf_print_fdir_fltr(9)iavf_fdir_is_dup_fltr(9)iavf_find_fdir_fltr(9)iavf_fdir_add_fltr(9)iavf_fdir_del_fltr(9)
and that's the whole page, bestie π this absolute gem comes to you from ./drivers/net/ethernet/intel/iavf, dated October 2026 β go off, iavf directory, you ate π₯πΈβ¨
π¦ 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