PPPOE_HEADERLEN
m0 = pppoe_get_mbuf(len + PPPOE_HEADERLEN); /* header len + payload len */
if (p - mtod(m0, u_int8_t *) != len + PPPOE_HEADERLEN)
(long)(len + PPPOE_HEADERLEN), (long)(p - mtod(m0, u_int8_t *)));
m0 = pppoe_get_mbuf(len + PPPOE_HEADERLEN);
if (p - mtod(m0, u_int8_t *) != len + PPPOE_HEADERLEN)
(long)(len + PPPOE_HEADERLEN), (long)(p - mtod(m0, u_int8_t *)));
m0 = pppoe_get_mbuf(PPPOE_HEADERLEN);
M_PREPEND(m, PPPOE_HEADERLEN, M_DONTWAIT);
sc->sc_sppp.pp_if.if_hdrlen = sizeof(struct ether_header) + PPPOE_HEADERLEN;
sc->sc_sppp.pp_framebytes = PPPOE_HEADERLEN; /* framing added to ppp packets */
if (m->m_pkthdr.len - off <= PPPOE_HEADERLEN) {
#define PPPOE_OVERHEAD (PPPOE_HEADERLEN + 2)
if (m->m_pkthdr.len <= PPPOE_HEADERLEN) {
m_adj(m, PPPOE_HEADERLEN);