ice_tc_set_pppoe(9)
π ice_tc_set_pppoe(9) π
okay so bestie, welcome to the Kernel API Manual entry for ice_tc_set_pppoe β yes that's the whole name, no cap, it's living in the ice driver's TC corner of the kernel and it's here to do exactly one iconic thing. π
β¨ NAME β¨
ice_tc_set_pppoe β parse PPPoE fields out of a TC flower filter. that's it, that's the job, and it does it beautifully. π¦
πΈ SYNOPSIS πΈ
u16 ice_tc_set_pppoe (struct flow_match_pppoe *match , struct
ice_tc_flower_fltr *fltr , struct ice_tc_flower_lyr_2_4_hdrs *headers );
three pointers in, one u16 out. lowkey elegant. π
π ARGUMENTS π
matchβ pointer to the flow match structure π«Ά like, this is the thing holding the match info you're working from.fltrβ pointer to the filter structure. the filter in question. main character of the whole operation tbh. πheadersβ pointer to the outer header fields, and it returns the PPP protocol used in the filter, which is eitherppp_sesorppp_disc. so yeah, those are your two options, no third secret one, stop asking. π
ngl, that headers one is doing double duty β it's a pointer to the outer header fields and it's where the PPP protocol comes back out. she contains multitudes. π
π§ SEE ALSO π§
the kernel file she lives in:
./drivers/net/ethernet/intel/ice/ice_tc_lib.c
and the whole friend group β literally all of these, go say hi:
ice_tc_count_lkups(9)ice_tc_fill_rules(9)ice_tc_tun_get_type(9)ice_locate_vsi_using_queue(9)ice_tc_forward_action(9)ice_add_tc_flower_adv_fltr(9)ice_tc_set_ipv4(9)ice_tc_set_ipv6(9)ice_tc_set_tos_ttl(9)ice_tc_set_port(9)ice_parse_gtp_type(9)ice_parse_cls_flower(9)ice_add_switch_fltr(9)ice_prep_adq_filter(9)ice_handle_tclass_action(9)ice_parse_tc_flower_actions(9)ice_del_tc_fltr(9)ice_add_tc_fltr(9)ice_find_tc_flower_fltr(9)ice_add_cls_flower(9)ice_del_cls_flower(9)ice_replay_tc_fltrs(9)
and that's the page!! π this lil icon lives at ./drivers/net/ethernet/intel/ice, dated October 2026, and it answers to ice_tc_set_pppoe(9) β mwah, slay, go parse some PPPoE 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