build_hdr_descs_arr(9)
π build_hdr_descs_arr(9) β a Kernel API Manual moment π
okay bestie, welcome to the build_hdr_descs_arr(9) page, straight out of the Kernel API Manual β¨ this one's short and sweet and honestly? it slays.
πΈ NAME πΈ
build_hdr_descs_arr β build a header descriptor array π
β¨ SYNOPSIS β¨
void build_hdr_descs_arr (struct sk_buff *skb , union sub_crq *indir_arr
, int *num_entries , u8 hdr_field );
like, that's the whole signature, no cap π
π«Ά ARGUMENTS π«Ά
skbβ the tx socket buffer π¦ that's the packet's ride, basicallyindir_arrβ the indirect array πnum_entriesβ how many descriptors are gonna be sent, fr fr a counthdr_fieldβ a bit field that decides which headers get sent π so it's giving "choose your own header adventure"
π₯ DESCRIPTION π₯
so what does this function actually do? it builds a TX descriptor array π and that array is full of the applicable L2/L3/L4 packet header descriptors β the ones that get sent by send_subcrq_indirect. that's it, that's the vibe. iconic behavior, honestly β¨
π§ SEE ALSO π§
- Kernel file
./drivers/net/ethernet/ibm/ibmvnic.cπ (go read the source, iykyk) ibmvnic_wait_for_completion(9)reuse_ltb(9)alloc_long_term_buff(9)free_ltb_set(9)alloc_ltb_set(9)map_rxpool_buf_to_ltb(9)map_txpool_buf_to_ltb(9)release_rx_pools(9)reuse_rx_pools(9)init_rx_pools(9)release_tx_pools(9)reuse_tx_pools(9)init_tx_pools(9)get_hdr_lens(9)create_hdr_descs(9)do_passive_init(9)
like a whole friend group of functions, and every single one of them is invited to the group chat π
mwah π that's the page! brought to you by ./drivers/net/ethernet/ibm, dated October 2026 β and it's still build_hdr_descs_arr(9), bestie, always and forever πβ¨πΈ
π¦ 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