Lines Matching refs:mtu
672 siocsifmtu(struct ifnet * ifp, int mtu)
677 ifr.ifr_mtu = mtu;
2026 printf("if_bond: interface %s doesn't support mtu %d",
2645 bond_set_mtu_on_ports(ifbond_ref ifb, int mtu)
2651 error = siocsifmtu(p->po_ifp, mtu);
2662 bond_set_mtu(struct ifnet * ifp, int mtu, int isdevmtu)
2686 if (mtu > mtu_max) {
2690 if (mtu < mtu_min && (isdevmtu == 0 || mtu != 0)) {
2691 /* allow SIOCSIFALTMTU to set the mtu to 0 */
2696 new_max = (mtu > (int)ifnet_mtu(ifp)) ? mtu : (int)ifnet_mtu(ifp);
2699 new_max = (mtu > ifb->ifb_altmtu) ? mtu : ifb->ifb_altmtu;
2715 ifb->ifb_altmtu = mtu;
2718 ifnet_set_mtu(ifp, mtu);