Lines Matching refs:pppoe_hdr
416 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()
769 - sizeof(struct pppoe_hdr) in pppoe_ioctl()
843 struct pppoe_hdr hdr; in pppoe_sendmsg()
844 struct pppoe_hdr *ph; in pppoe_sendmsg()
883 ph = skb_put(skb, total_len + sizeof(struct pppoe_hdr)); in pppoe_sendmsg()
896 memcpy(ph, &hdr, sizeof(struct pppoe_hdr)); in pppoe_sendmsg()
916 struct pppoe_hdr *ph; in __pppoe_xmit()
942 ph = pppoe_hdr(skb); in __pppoe_xmit()