pppoe_hdr
struct ice_pppoe_hdr pppoe_hdr;
if (lkups[i].h_u.pppoe_hdr.ppp_prot_id ==
headers->pppoe_hdr.session_id = match->key->session_id;
headers->pppoe_hdr.ppp_proto = match->key->ppp_proto;
vals = &list[i].h_u.pppoe_hdr;
masks = &list[i].m_u.pppoe_hdr;
vals->session_id = headers->pppoe_hdr.session_id;
vals->ppp_prot_id = headers->pppoe_hdr.ppp_proto;
struct ice_tc_pppoe_hdr pppoe_hdr;
struct pppoe_hdr *ph;
if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr)))
ph = pppoe_hdr(skb);
ph = pppoe_hdr(skb);
struct pppoe_hdr *ph;
if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr)))
ph = pppoe_hdr(skb);
po->chan.hdrlen = (sizeof(struct pppoe_hdr) +
po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr) - 2;
sizeof(struct pppoe_hdr) -
- sizeof(struct pppoe_hdr)
struct pppoe_hdr hdr;
struct pppoe_hdr *ph;
ph = skb_put(skb, total_len + sizeof(struct pppoe_hdr));
memcpy(ph, &hdr, sizeof(struct pppoe_hdr));
struct pppoe_hdr *ph;
ph = pppoe_hdr(skb);
static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb)
return (struct pppoe_hdr *)skb_network_header(skb);
sizeof(struct pppoe_hdr)));
sizeof(struct pppoe_hdr)));
static bool is_pppoe_ses_hdr_valid(const struct pppoe_hdr *hdr)
struct pppoe_hdr hdr;
struct pppoe_hdr *phdr;
phdr = (struct pppoe_hdr *)skb_network_header(skb);
struct pppoe_hdr hdr;