Searched refs:RX_MAC_HEADER_LENGTH (Results 1 – 2 of 2) sorted by relevance
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()2398 skb_pull( skb, RX_MAC_HEADER_LENGTH); in rx_data()2470 snaphdr_t *psnap = (snaphdr_t *)(skb->data + RX_MAC_HEADER_LENGTH); in untranslate()2514 delta = RX_MAC_HEADER_LENGTH - ETH_HLEN; in untranslate()2516 peth->h_proto = htons(len - RX_MAC_HEADER_LENGTH); in untranslate()2521 delta = RX_MAC_HEADER_LENGTH in untranslate()2532 delta = RX_MAC_HEADER_LENGTH - ETH_HLEN; in untranslate()[all …]
148 #define RX_MAC_HEADER_LENGTH 0x18 macro