Home
last modified time | relevance | path

Searched refs:pppoe_hdr (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/include/linux/
Dif_pppox.h19 static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb) in pppoe_hdr() function
21 return (struct pppoe_hdr *)skb_network_header(skb); in pppoe_hdr()
/linux-6.6.21/drivers/net/ppp/
Dpppoe.c416 struct pppoe_hdr *ph; in pppoe_rcv()
428 if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr))) in pppoe_rcv()
431 ph = pppoe_hdr(skb); in pppoe_rcv()
441 ph = pppoe_hdr(skb); in pppoe_rcv()
485 struct pppoe_hdr *ph; in pppoe_disc_rcv()
496 if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr))) in pppoe_disc_rcv()
499 ph = pppoe_hdr(skb); in pppoe_disc_rcv()
690 po->chan.hdrlen = (sizeof(struct pppoe_hdr) + in pppoe_connect()
693 po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr) - 2; in pppoe_connect()
752 sizeof(struct pppoe_hdr) - in pppoe_ioctl()
[all …]
/linux-6.6.21/include/uapi/linux/
Dif_pppox.h140 struct pppoe_hdr { struct
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_tc_lib.h121 struct ice_tc_pppoe_hdr pppoe_hdr; member
Dice_protocol_type.h421 struct ice_pppoe_hdr pppoe_hdr; member
Dice_tc_lib.c464 vals = &list[i].h_u.pppoe_hdr; in ice_tc_fill_rules()
465 masks = &list[i].m_u.pppoe_hdr; in ice_tc_fill_rules()
470 vals->session_id = headers->pppoe_hdr.session_id; in ice_tc_fill_rules()
475 vals->ppp_prot_id = headers->pppoe_hdr.ppp_proto; in ice_tc_fill_rules()
1078 headers->pppoe_hdr.session_id = match->key->session_id; in ice_tc_set_pppoe()
1083 headers->pppoe_hdr.ppp_proto = match->key->ppp_proto; in ice_tc_set_pppoe()
Dice_switch.c5626 if (lkups[i].h_u.pppoe_hdr.ppp_prot_id == in ice_find_dummy_packet()
/linux-6.6.21/include/net/netfilter/
Dnf_flow_table.h343 sizeof(struct pppoe_hdr))); in nf_flow_pppoe_proto()
/linux-6.6.21/net/netfilter/
Dnf_flow_table_ip.c145 struct pppoe_hdr *phdr; in nf_flow_tuple_encap()
160 phdr = (struct pppoe_hdr *)skb_mac_header(skb); in nf_flow_tuple_encap()
/linux-6.6.21/net/core/
Dflow_dissector.c1000 static bool is_pppoe_ses_hdr_valid(const struct pppoe_hdr *hdr) in is_pppoe_ses_hdr_valid()
1327 struct pppoe_hdr hdr; in __skb_flow_dissect()
/linux-6.6.21/net/bridge/
Dbr_netfilter_hooks.c115 sizeof(struct pppoe_hdr))); in pppoe_proto()