Home
last modified time | relevance | path

Searched refs:ppp_proto (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/core/
H A Dflow_dissector.c1330 u16 ppp_proto; in __skb_flow_dissect() local
1346 ppp_proto = ntohs(hdr->proto); in __skb_flow_dissect()
1347 if (ppp_proto & 0x0100) { in __skb_flow_dissect()
1348 ppp_proto = ppp_proto >> 8; in __skb_flow_dissect()
1354 if (ppp_proto == PPP_IP) { in __skb_flow_dissect()
1357 } else if (ppp_proto == PPP_IPV6) { in __skb_flow_dissect()
1360 } else if (ppp_proto == PPP_MPLS_UC) { in __skb_flow_dissect()
1363 } else if (ppp_proto == PPP_MPLS_MC) { in __skb_flow_dissect()
1366 } else if (ppp_proto_is_valid(ppp_proto)) { in __skb_flow_dissect()
1381 key_pppoe->ppp_proto = htons(ppp_proto); in __skb_flow_dissect()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.h74 __be16 ppp_proto; member
H A Dice_tc_lib.c482 vals->ppp_prot_id = headers->pppoe_hdr.ppp_proto; in ice_tc_fill_rules()
1100 if (match->mask->ppp_proto) { in ice_tc_set_pppoe()
1102 headers->pppoe_hdr.ppp_proto = match->key->ppp_proto; in ice_tc_set_pppoe()
/openbmc/linux/include/net/
H A Dflow_dissector.h292 __be16 ppp_proto; member
/openbmc/linux/net/sched/
H A Dcls_flower.c1116 key_val->ppp_proto = in fl_set_key_pppoe()
1118 key_mask->ppp_proto = cpu_to_be16(~0); in fl_set_key_pppoe()
1120 if (key_val->ppp_proto == htons(PPP_IP)) { in fl_set_key_pppoe()
1123 } else if (key_val->ppp_proto == htons(PPP_IPV6)) { in fl_set_key_pppoe()
1126 } else if (key_val->ppp_proto == htons(PPP_MPLS_UC)) { in fl_set_key_pppoe()
1129 } else if (key_val->ppp_proto == htons(PPP_MPLS_MC)) { in fl_set_key_pppoe()
3321 if (mask->basic.n_proto && mask->pppoe.ppp_proto) { in fl_dump_key()
3323 key->pppoe.ppp_proto)) in fl_dump_key()