Lines Matching refs:ETH_HEADER_SIZE
31 #define ETH_HEADER_SIZE 4
165 while (len > ETH_HEADER_SIZE) {
168 pkt += ETH_HEADER_SIZE;
169 len -= ETH_HEADER_SIZE;
199 if (length + ETH_HEADER_SIZE > USB_BUF_OUT_SIZE) {
205 uint8_t header[ETH_HEADER_SIZE];
213 usb_req_copy_to(ð->usb, request, header, ETH_HEADER_SIZE, 0);
214 usb_req_copy_to(ð->usb, request, netbuf->data, length, ETH_HEADER_SIZE);
215 request->header.length = length + ETH_HEADER_SIZE;
408 ZX_DEBUG_ASSERT(USB_BUF_OUT_SIZE - ETH_HEADER_SIZE >= ETH_MTU);