Lines Matching refs:eh
276 struct ether_header eh; in lemac_input() local
279 if (length - sizeof(eh) > ETHERMTU || in lemac_input()
280 length - sizeof(eh) < ETHERMIN) { in lemac_input()
285 LEMAC_INSB(sc, LEMAC_REG_DAT, sizeof(eh), (void *)&eh); in lemac_input()
287 LEMAC_GETBUF16(sc, offset, sizeof(eh) / 2, (void *)&eh); in lemac_input()
304 bcopy((caddr_t)&eh, m->m_data, sizeof(eh)); in lemac_input()
306 LEMAC_INSB(sc, LEMAC_REG_DAT, length - sizeof(eh), in lemac_input()
307 mtod(m, caddr_t) + sizeof(eh)); in lemac_input()
309 LEMAC_GETBUF16(sc, offset + sizeof(eh), in lemac_input()
310 (length - sizeof(eh)) / 2, in lemac_input()
311 (void *)(mtod(m, caddr_t) + sizeof(eh))); in lemac_input()
326 if ((eh.ether_dhost[0] & 1) == 0 && in lemac_input()
327 !LEMAC_ADDREQUAL(eh.ether_dhost, sc->sc_arpcom.ac_enaddr)) { in lemac_input()