ice_pkt_insert_u16(9)
π NAME π
okay so this is ice_pkt_insert_u16(9) from the Kernel API Manual, and it does exactly one iconic little job: insert a be16 value into a memory buffer. lowkey tiny function, highkey useful π
β¨ SYNOPSIS β¨
void ice_pkt_insert_u16 (u8 *pkt , int offset , __be16 data );
π ARGUMENTS π
pktβ the packet buffer, bestie. this is the memory youβre writing into π«Άoffsetβ the offset into that buffer, aka where the little 16-bit moment is gonna land β¨dataβ the 16 bit value that gets converted and inserted intopktatoffset. yes, converted and inserted, thatβs the whole vibe π₯
π SEE ALSO π
the kernel file is literally right here: ./drivers/net/ethernet/intel/ice/ice_fdir.c π¦
and these besties are all in the group chat too:
ice_set_dflt_val_fd_desc(9)ice_set_fd_desc_val(9)ice_fdir_get_prgm_desc(9)ice_alloc_fd_res_cntr(9)ice_free_fd_res_cntr(9)ice_alloc_fd_guar_item(9)ice_alloc_fd_shrd_item(9)ice_get_fdir_cnt_all(9)ice_pkt_insert_ipv6_addr(9)ice_pkt_insert_u6_qfi(9)ice_pkt_insert_u8(9)ice_pkt_insert_u8_tc(9)ice_pkt_insert_u32(9)ice_pkt_insert_mac_addr(9)ice_fdir_get_gen_prgm_pkt(9)ice_fdir_has_frag(9)ice_fdir_find_fltr_by_idx(9)ice_fdir_list_add_fltr(9)ice_fdir_update_cntrs(9)ice_cmp_ipv6_addr(9)ice_fdir_comp_rules(9)ice_fdir_is_dup_fltr(9)
signed off from the ./drivers/net/ethernet/intel/ice corner of the kernel, October 2026 β periodt, go insert that u16 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