Lines Matching defs:pad
372 int pad;
397 * Compute the frame length and set pad to give an overall even
403 pad = (len & 1);
409 if (len + pad > ETHER_MAX_LEN - ETHER_CRC_LEN) {
419 * If HW padding is not turned on, then pad to ETHER_MIN_LEN.
422 pad = ETHER_MIN_LEN - ETHER_CRC_LEN - len;
426 length = pad + len;
529 while (pad > 1) {
531 pad -= 2;
533 if (pad)
591 int pad;
613 * Compute the frame length and set pad to give an overall even
619 pad = (len & 1);
625 if (len + pad > ETHER_MAX_LEN - ETHER_CRC_LEN) {
635 * If HW padding is not turned on, then pad to ETHER_MIN_LEN.
638 pad = ETHER_MIN_LEN - ETHER_CRC_LEN - len;
642 length = pad + len;
727 while (pad > 1) {
729 pad -= 2;
731 if (pad)