Searched refs:ETHERMIN (Results 1 – 11 of 11) sorted by relevance
194 char pad[ETHERMIN]; in pppoe_session_output()223 if (tlen < ETHERMIN) { in pppoe_session_output()224 memset(pad, 0, ETHERMIN - tlen); in pppoe_session_output()226 iov[niov++].iov_len = ETHERMIN - tlen; in pppoe_session_output()
768 u_char pad[ETHERMIN]; in pppoed_output()783 if (lpkt < ETHERMIN) { in pppoed_output()784 memset(pad, 0, ETHERMIN - lpkt); in pppoed_output()786 iov[2].iov_len = ETHERMIN - lpkt; in pppoed_output()
851 if (totlen < ETHERMIN + sizeof(struct ether_header)) { in maceput()852 int pad = ETHERMIN + sizeof(struct ether_header) - totlen; in maceput()854 totlen = ETHERMIN + sizeof(struct ether_header); in maceput()
429 bzero(data, sizeof(*eh) + ETHERMIN); in bmac_init()432 bmac_transmit_packet(sc, sc->sc_txbuf_pa, sizeof(*eh) + ETHERMIN); in bmac_init()
138 #define ETHERMIN (ETHER_MIN_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN) macro
556 if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > TUNMRU) in tun_ioctl()711 if (tunp->mtu < ETHERMIN || tunp->mtu > TUNMRU) { in tun_dev_ioctl()
1268 static const u_char pipex_pppoe_padding[ETHERMIN];1343 padlen = ETHERMIN - m0->m_pkthdr.len; in pipex_pppoe_output()
182 if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > ifp->if_hardmtu) in ether_ioctl()
2629 if (mtu < ETHERMIN || mtu > ifp->if_hardmtu) in aggr_set_mtu()
762 if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > ifp->if_hardmtu) in upl_ioctl()
260 length - sizeof(eh) < ETHERMIN) in lemac_input()