Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/drivers/staging/r8188eu/core/
Drtw_br_ext.c50 static unsigned char *__nat25_find_pppoe_tag(struct pppoe_hdr *ph, unsigned short type) in __nat25_find_pppoe_tag()
70 struct pppoe_hdr *ph = (struct pppoe_hdr *)(skb->data + ETH_HLEN); in __nat25_add_pppoe_tag()
435 struct pppoe_hdr *ph = (struct pppoe_hdr *)(skb->data + ETH_HLEN); in nat25_db_handle()
/linux-6.1.9/include/uapi/linux/
Dif_pppox.h140 struct pppoe_hdr { struct
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_tc_lib.h107 struct ice_tc_pppoe_hdr pppoe_hdr; member
Dice_protocol_type.h244 struct ice_pppoe_hdr pppoe_hdr; member
Dice_tc_lib.c447 vals = &list[i].h_u.pppoe_hdr; in ice_tc_fill_rules()
448 masks = &list[i].m_u.pppoe_hdr; in ice_tc_fill_rules()
453 vals->session_id = headers->pppoe_hdr.session_id; in ice_tc_fill_rules()
458 vals->ppp_prot_id = headers->pppoe_hdr.ppp_proto; in ice_tc_fill_rules()
877 headers->pppoe_hdr.session_id = match->key->session_id; in ice_tc_set_pppoe()
882 headers->pppoe_hdr.ppp_proto = match->key->ppp_proto; in ice_tc_set_pppoe()
Dice_switch.c5660 if (lkups[i].h_u.pppoe_hdr.ppp_prot_id == in ice_find_dummy_packet()
/linux-6.1.9/include/net/netfilter/
Dnf_flow_table.h330 sizeof(struct pppoe_hdr))); in nf_flow_pppoe_proto()
/linux-6.1.9/net/netfilter/
Dnf_flow_table_ip.c144 struct pppoe_hdr *phdr; in nf_flow_tuple_encap()
159 phdr = (struct pppoe_hdr *)skb_mac_header(skb); in nf_flow_tuple_encap()
/linux-6.1.9/net/core/
Dflow_dissector.c922 static bool is_pppoe_ses_hdr_valid(const struct pppoe_hdr *hdr) in is_pppoe_ses_hdr_valid()
1247 struct pppoe_hdr hdr; in __skb_flow_dissect()
/linux-6.1.9/net/bridge/
Dbr_netfilter_hooks.c111 sizeof(struct pppoe_hdr))); in pppoe_proto()