ice_tc_set_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, meet ice_tc_set_port(9) β€” straight out of the Kernel API Manual β€” and its whole personality is literally Parse ports from TC flower filter. that’s the name, that’s the vibe, no cap πŸ’…βœ¨


🌸 SYNOPSIS 🌸

the official signature is giving β€œI live in a kernel header” and we respect it:

int ice_tc_set_port (struct flow_match_ports match , struct
ice_tc_flower_fltr *fltr , struct ice_tc_flower_lyr_2_4_hdrs *headers ,
bool is_encap );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • match β€” the flow match structure, aka the match info this function is working with 🫢
  • fltr β€” pointer to filter structure, iconic pointer behavior fr fr πŸ’–
  • headers β€” inner or outer header fields; yes bestie, inner or outer 🌈
  • is_encap β€” set true for tunnel port; tunnel port gets the true treatment ✨

πŸ’œ SEE ALSO πŸ’œ

the Kernel file is ./drivers/net/ethernet/intel/ice/ice_tc_lib.c β€” that’s where the sauce lives, iykyk 🧚

and here’s the whole friend group, all present and accounted for πŸ‘‘


okay that’s the whole page, bestie β€” source/version <purple>./drivers/net/ethernet/intel/ice`, date October 2026, mwah πŸ’‹πŸ«ΆπŸ’–

πŸ“¦ where this page comes from