Lines Matching refs:ETH_HLEN
1189 data + ETH_HLEN, len - ETH_HLEN); in translate_frame()
1190 return (int) sizeof(struct snaphdr_t) - ETH_HLEN; in translate_frame()
1196 memcpy_toio((UCHAR *)&ptx->var, data + ETH_HLEN, len - ETH_HLEN); in translate_frame()
1197 return 0 - ETH_HLEN; in translate_frame()
1199 memcpy_toio((UCHAR *)&ptx->var, data + ETH_HLEN, len - ETH_HLEN); in translate_frame()
1200 return 0 - ETH_HLEN; in translate_frame()
2325 if (rx_len < (ETH_HLEN + RX_MAC_HEADER_LENGTH) || in rx_data()
2326 rx_len > (dev->mtu + RX_MAC_HEADER_LENGTH + ETH_HLEN + FCS_LEN)) in rx_data()
2333 if (rx_len < (ETH_HLEN + RX_MAC_HEADER_LENGTH) || in rx_data()
2334 rx_len > (dev->mtu + RX_MAC_HEADER_LENGTH + ETH_HLEN + FCS_LEN)) in rx_data()
2514 delta = RX_MAC_HEADER_LENGTH - ETH_HLEN; in untranslate()
2522 + sizeof(struct snaphdr_t) - ETH_HLEN; in untranslate()
2532 delta = RX_MAC_HEADER_LENGTH - ETH_HLEN; in untranslate()
2539 sizeof(struct snaphdr_t) - ETH_HLEN; in untranslate()
2547 delta = RX_MAC_HEADER_LENGTH - ETH_HLEN; in untranslate()