/openbmc/linux/arch/m68k/emu/ |
H A D | nfeth.c | 147 char *data, shortpkt[ETH_ZLEN]; in nfeth_xmit() 152 if (len < ETH_ZLEN) { in nfeth_xmit() 153 memset(shortpkt, 0, ETH_ZLEN); in nfeth_xmit() 156 len = ETH_ZLEN; in nfeth_xmit()
|
/openbmc/linux/net/dsa/ |
H A D | tag_brcm.c | 101 if (__skb_put_padto(skb, ETH_ZLEN + BRCM_TAG_LEN, false)) in brcm_tag_xmit_ll() 231 if (__skb_put_padto(skb, ETH_ZLEN + BRCM_LEG_TAG_LEN, false)) in brcm_leg_tag_xmit()
|
H A D | tag_rzn1_a5psw.c | 52 if (__skb_put_padto(skb, ETH_ZLEN, false)) in a5psw_tag_xmit()
|
H A D | tag_rtl4_a.c | 45 if (unlikely(__skb_put_padto(skb, ETH_ZLEN, false))) in rtl4a_tag_xmit()
|
/openbmc/qemu/net/ |
H A D | eth.c | 526 assert(padded_buflen && *padded_buflen >= ETH_ZLEN); in eth_pad_short_frame() 528 if (pkt_size >= ETH_ZLEN) { in eth_pad_short_frame() 534 memset(&padded_pkt[pkt_size], 0, ETH_ZLEN - pkt_size); in eth_pad_short_frame() 535 *padded_buflen = ETH_ZLEN; in eth_pad_short_frame()
|
/openbmc/u-boot/drivers/net/ |
H A D | ftmac100.c | 20 #define ETH_ZLEN 60 macro 197 length = (length < ETH_ZLEN) ? ETH_ZLEN : length; in _ftmac100_send()
|
H A D | bcm6368-eth.c | 22 #define ETH_ZLEN 60 macro 206 if (length < ETH_ZLEN) { in bcm6368_eth_send() 207 memset(packet + length, 0, ETH_ZLEN - length); in bcm6368_eth_send() 208 length = ETH_ZLEN; in bcm6368_eth_send()
|
H A D | lan91c96.c | 103 #define ETH_ZLEN 60 macro 317 length = ETH_ZLEN < packet_length ? packet_length : ETH_ZLEN; in smc_send_packet()
|
H A D | rtl8169.c | 625 while (len < ETH_ZLEN) in rtl_send_common() 641 ((len > ETH_ZLEN) ? len : ETH_ZLEN)); in rtl_send_common() 645 ((len > ETH_ZLEN) ? len : ETH_ZLEN)); in rtl_send_common()
|
H A D | designware.c | 355 #define ETH_ZLEN 60 macro 384 if (length < ETH_ZLEN) { in _dw_eth_send() 385 memset(&((char *)data_start)[length], 0, ETH_ZLEN - length); in _dw_eth_send() 386 length = ETH_ZLEN; in _dw_eth_send()
|
H A D | ftgmac100.c | 27 #define ETH_ZLEN 60 macro 491 length = (length < ETH_ZLEN) ? ETH_ZLEN : length; in BUILD_WAIT_FOR_BIT()
|
H A D | rtl8139.c | 417 while (len < ETH_ZLEN) { in rtl_transmit() 484 (rx_size < ETH_ZLEN) || (rx_size > ETH_FRAME_LEN + 4)) { in rtl_poll()
|
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_netdev.c | 85 if (unlikely(skb->len < ETH_ZLEN)) { in opa_netdev_start_xmit() 86 if (skb_padto(skb, ETH_ZLEN)) in opa_netdev_start_xmit() 89 skb_put(skb, ETH_ZLEN - skb->len); in opa_netdev_start_xmit()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/ |
H A D | qca_7k_common.h | 47 #define QCAFRM_MIN_MTU (ETH_ZLEN - ETH_HLEN)
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc9194.c | 490 if (length < ETH_ZLEN) { in smc_wait_to_send_packet() 491 if (skb_padto(skb, ETH_ZLEN)) { in smc_wait_to_send_packet() 495 length = ETH_ZLEN; in smc_wait_to_send_packet() 593 length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; in smc_hardware_send_packet()
|
/openbmc/u-boot/include/linux/ |
H A D | if_ether.h | 35 #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ macro
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | 7990.c | 568 len = (skblen <= ETH_ZLEN) ? ETH_ZLEN : skblen; in lance_start_xmit() 573 if (skb->len < ETH_ZLEN) in lance_start_xmit() 574 memset((void *)&ib->tx_buf[entry][0], 0, ETH_ZLEN); in lance_start_xmit()
|
H A D | sunlance.c | 884 for (i = 0; i < (ETH_ZLEN / sizeof(u16)); i++) in build_fake_packet() 890 sbus_writew((-ETH_ZLEN) | 0xf000, &ib->btx_ring[entry].length); in build_fake_packet() 897 memset(packet, 0, ETH_ZLEN); in build_fake_packet() 902 ib->btx_ring[entry].length = (-ETH_ZLEN) | 0xf000; in build_fake_packet() 1112 len = (skblen <= ETH_ZLEN) ? ETH_ZLEN : skblen; in lance_start_xmit()
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_ether.h | 35 #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ macro
|
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_driver.c | 85 if (unlikely(skb->len < ETH_ZLEN)) { in spl2sw_ethernet_start_xmit() 86 if (skb_padto(skb, ETH_ZLEN)) in spl2sw_ethernet_start_xmit() 89 skb_put(skb, ETH_ZLEN - skb->len); in spl2sw_ethernet_start_xmit()
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebt_vlan.c | 141 if ((unsigned short) ntohs(info->encap) < ETH_ZLEN) { in ebt_vlan_mt_check()
|
/openbmc/linux/drivers/net/wan/ |
H A D | hdlc_raw_eth.c | 27 int pad = ETH_ZLEN - skb->len; in eth_tx()
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | lib8390.c | 309 char buf[ETH_ZLEN]; in __ei_start_xmit() 312 if (skb->len < ETH_ZLEN) { in __ei_start_xmit() 313 memset(buf, 0, ETH_ZLEN); /* more efficient than doing just the needed bits */ in __ei_start_xmit() 315 send_length = ETH_ZLEN; in __ei_start_xmit()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.c | 388 if (unlikely(len < ETH_ZLEN || len > maxlen)) { in vnet_rx_one() 1073 if (blen < ETH_ZLEN) in vnet_skb_map() 1074 blen = ETH_ZLEN; in vnet_skb_map() 1116 if (len < ETH_ZLEN) { in vnet_skb_shape() 1117 pad += ETH_ZLEN - skb->len; in vnet_skb_shape() 1136 len = skb->len > ETH_ZLEN ? skb->len : ETH_ZLEN; in vnet_skb_shape() 1402 if (len < ETH_ZLEN) in sunvnet_start_xmit_common() 1403 len = ETH_ZLEN; in sunvnet_start_xmit_common()
|
/openbmc/linux/drivers/net/ethernet/moxa/ |
H A D | moxart_ether.c | 371 if (skb->len < ETH_ZLEN) { in moxart_mac_start_xmit() 373 0, ETH_ZLEN - skb->len); in moxart_mac_start_xmit() 374 len = ETH_ZLEN; in moxart_mac_start_xmit()
|