Home
last modified time | relevance | path

Searched refs:ETH_ZLEN (Results 1 – 25 of 100) sorted by relevance

1234

/linux/arch/m68k/emu/
H A Dnfeth.c147 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()
/linux/net/dsa/
H A Dtag_brcm.c101 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 Dtag_rzn1_a5psw.c52 if (__skb_put_padto(skb, ETH_ZLEN, false)) in a5psw_tag_xmit()
H A Dtag_rtl4_a.c44 if (unlikely(__skb_put_padto(skb, ETH_ZLEN, false))) in rtl4a_tag_xmit()
/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_netdev.c85 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()
/linux/drivers/net/ethernet/smsc/
H A Dsmc9194.c490 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()
/linux/drivers/net/ethernet/amd/
H A D7990.c568 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 Dariadne.c561 if (skb->len < ETH_ZLEN) { in ariadne_start_xmit()
562 if (skb_padto(skb, ETH_ZLEN)) in ariadne_start_xmit()
564 len = ETH_ZLEN; in ariadne_start_xmit()
H A Dlance.c983 if (skb->len < ETH_ZLEN) { in lance_start_xmit()
984 if (skb_padto(skb, ETH_ZLEN)) in lance_start_xmit()
986 lp->tx_ring[entry].length = -ETH_ZLEN; in lance_start_xmit()
H A Dsun3lance.c617 len = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN; in lance_start_xmit()
H A Da2065.c541 if (skb_padto(skb, ETH_ZLEN)) in lance_start_xmit()
543 skblen = max_t(unsigned, skb->len, ETH_ZLEN); in lance_start_xmit()
/linux/drivers/net/ethernet/qualcomm/
H A Dqca_7k_common.h34 #define QCAFRM_MIN_MTU (ETH_ZLEN - ETH_HLEN)
/linux/include/uapi/linux/
H A Dif_ether.h35 #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ macro
/linux/drivers/net/ethernet/8390/
H A Dlib8390.c309 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()
/linux/drivers/net/ethernet/sun/
H A Dsunvnet_common.c388 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()
/linux/net/bridge/netfilter/
H A Debt_vlan.c141 if ((unsigned short) ntohs(info->encap) < ETH_ZLEN) { in ebt_vlan_mt_check()
/linux/drivers/net/wan/
H A Dhdlc_raw_eth.c27 int pad = ETH_ZLEN - skb->len; in eth_tx()
/linux/drivers/net/ethernet/vertexcom/
H A Dmse102x.c381 if (txb->len < ETH_ZLEN) in mse102x_tx_pkt_spi()
382 pad = ETH_ZLEN - txb->len; in mse102x_tx_pkt_spi()
440 unsigned int len = max_t(unsigned int, txb->len, ETH_ZLEN); in mse102x_tx_work()
/linux/drivers/net/ethernet/natsemi/
H A Dsonic.c284 if (length < ETH_ZLEN) { in sonic_send_packet()
285 if (skb_padto(skb, ETH_ZLEN)) in sonic_send_packet()
287 length = ETH_ZLEN; in sonic_send_packet()
/linux/drivers/net/ethernet/fujitsu/
H A Dfmvj18x_cs.c813 if (length < ETH_ZLEN) in fjn_start_xmit()
815 if (skb_padto(skb, ETH_ZLEN)) in fjn_start_xmit()
817 length = ETH_ZLEN; in fjn_start_xmit()
/linux/include/net/
H A Derspan.h258 if (skb->len < ETH_ZLEN) in erspan_detect_bso()
/linux/net/hsr/
H A Dhsr_device.c353 if (skb_put_padto(skb, ETH_ZLEN)) { in send_hsr_supervision_frame()
394 if (skb_put_padto(skb, ETH_ZLEN)) { in send_prp_supervision_frame()
/linux/drivers/net/ethernet/mscc/
H A Docelot_mm.c260 state->rx_min_frag_size = ETH_ZLEN; in ocelot_port_get_mm()
/linux/drivers/net/ethernet/sis/
H A Dsis190.c657 len = skb->len < ETH_ZLEN ? ETH_ZLEN : skb->len; in sis190_unmap_tx_skb()
1189 if (unlikely(skb->len < ETH_ZLEN)) { in sis190_start_xmit()
1190 if (skb_padto(skb, ETH_ZLEN)) { in sis190_start_xmit()
1194 len = ETH_ZLEN; in sis190_start_xmit()
/linux/drivers/net/ethernet/realtek/
H A Datp.c561 length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; in atp_send_packet()

1234