Lines Matching refs:pppoe_hdr
390 struct pppoe_hdr *ph = (struct pppoe_hdr *) skb->nh.raw; in pppoe_rcv()
438 struct pppoe_hdr *ph = (struct pppoe_hdr *) skb->nh.raw; in pppoe_disc_rcv()
645 po->chan.hdrlen = (sizeof(struct pppoe_hdr) + in pppoe_connect()
648 po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr); in pppoe_connect()
710 sizeof(struct pppoe_hdr) - in pppoe_ioctl()
727 - sizeof(struct pppoe_hdr) in pppoe_ioctl()
801 struct pppoe_hdr hdr; in pppoe_sendmsg()
802 struct pppoe_hdr *ph; in pppoe_sendmsg()
841 ph = (struct pppoe_hdr *) skb_put(skb, total_len + sizeof(struct pppoe_hdr)); in pppoe_sendmsg()
856 memcpy(ph, &hdr, sizeof(struct pppoe_hdr)); in pppoe_sendmsg()
876 struct pppoe_hdr hdr; in __pppoe_xmit()
877 struct pppoe_hdr *ph; in __pppoe_xmit()
895 if (headroom < (sizeof(struct pppoe_hdr) + dev->hard_header_len)) { in __pppoe_xmit()
897 sizeof(struct pppoe_hdr) + in __pppoe_xmit()
903 skb_reserve(skb2, dev->hard_header_len + sizeof(struct pppoe_hdr)); in __pppoe_xmit()
915 ph = (struct pppoe_hdr *) skb_push(skb2, sizeof(struct pppoe_hdr)); in __pppoe_xmit()
916 memcpy(ph, &hdr, sizeof(struct pppoe_hdr)); in __pppoe_xmit()