iavf_fill_fdir_sctp_hdr(9)
π iavf_fill_fdir_sctp_hdr(9) β like, the SCTP header filler β¨
okay bestie, so this one lives in the Kernel API Manual (yes, that's the whole manual name, slay) and it's genuinely one of the cutest little helpers in the iavf Flow Director lineup. let's get into it π
β¨ NAME β¨
iavf_fill_fdir_sctp_hdr β fill the SCTP protocol header π
π¦ SYNOPSIS π¦
int iavf_fill_fdir_sctp_hdr (struct iavf_fdir_fltr *fltr , struct
virtchnl_proto_hdrs *proto_hdrs );
that's the whole signature, no cap β one function, two args, returns an int. π«Ά
πΈ ARGUMENTS πΈ
fltrβ the Flow Director filter data structure π this is the glow-up container everything gets written into.proto_hdrsβ the Flow Director protocol headers data structure π¦ the other half of the duo, and yes they're both required.
β DESCRIPTION β
Returns 0 if the SCTP protocol header is set successfully. that's it, that's the whole vibe check β success is literally 0 and nothing else is promised here, so don't go expecting extra lore. π
π SEE ALSO π
the kernel file this bad boy lives in, first of all:
./drivers/net/ethernet/intel/iavf/iavf_fdir.cπ
and then the full friend group, in exactly this order, because they're all iconic in their own way:
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_ip4_hdr(9)iavf_fill_fdir_ip6_hdr(9)iavf_fill_fdir_tcp_hdr(9)iavf_fill_fdir_udp_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)
like, the whole header-filling family reunion fr fr π§
lowkey a tiny function, highkey doing its one job perfectly. set the SCTP protocol header, return 0, log off. main character energy. π
and that's the page! brought to you by the fine folks over at ./drivers/net/ethernet/intel/iavf, dated October 2026 β see you in the next manpage, bestie ππ
π¦ 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