Lines Matching refs:mtu
674 siocsifmtu(struct ifnet * ifp, int mtu)
679 ifr.ifr_mtu = mtu;
2011 printf("if_bond: interface %s doesn't support mtu %d",
2612 bond_set_mtu_on_ports(ifbond_ref ifb, int mtu)
2618 error = siocsifmtu(p->po_ifp, mtu);
2629 bond_set_mtu(struct ifnet * ifp, int mtu, int isdevmtu)
2653 if (mtu > mtu_max) {
2657 if (mtu < mtu_min && (isdevmtu == 0 || mtu != 0)) {
2658 /* allow SIOCSIFALTMTU to set the mtu to 0 */
2663 new_max = (mtu > (int)ifnet_mtu(ifp)) ? mtu : (int)ifnet_mtu(ifp);
2666 new_max = (mtu > ifb->ifb_altmtu) ? mtu : ifb->ifb_altmtu;
2682 ifb->ifb_altmtu = mtu;
2685 ifnet_set_mtu(ifp, mtu);