Subject: Re: MTU
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-pmax
Date: 12/07/2000 16:07:45
On Thu, Dec 07, 2000 at 10:38:27PM +0900, Izumi Tsutsui wrote:
> Hmm, sys/net/if.c:ifioctl() has an entry for SIOCSIFMTU
> and it calls (*ifp->if_ioctl)(). It seems some device
> might have some quirks for it, but not sure.
> Should they be handled in MI ifioctl()?
In current, re just have this in if_ethersubr.c:
case SIOCSIFMTU:
if (ifr->ifr_mtu > ETHERMTU)
error = EINVAL;
else
ifp->if_mtu = ifr->ifr_mtu;
break;
I guess the same could be done in 1.5
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--