Date: Sat, 09 Dec 2000 20:49:26 +0000 From: Brian Somers <brian@Awfulhak.org> To: "Patrick Bihan-Faou" <patrick@netzuno.com> Cc: "Ruslan Ermilov" <ru@FreeBSD.ORG>, freebsd-net@FreeBSD.ORG, "Brian Somers" <brian@FreeBSD.ORG>, brian@Awfulhak.org Subject: Re: Problem with PPP, tcpmssd and routing socket messages Message-ID: <200012092049.eB9KnQl54447@hak.lan.Awfulhak.org> In-Reply-To: Message from "Patrick Bihan-Faou" <patrick@netzuno.com> of "Fri, 08 Dec 2000 13:02:56 EST." <POEDLEGGIEKJJIOGHEJNOEJMCDAA.patrick@netzuno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi Ruslan, > > > > > I do not know what happens here, though that's me who originally added > > the support for MTU change reports through route(4) socket: > > > > RCS file: /home/ncvs/src/sys/net/if.c,v > > Working file: if.c > > head: 1.95 > > branch: > > locks: strict > > access list: > > keyword substitution: kv > > total revisions: 116; selected revisions: 1 > > description: > > ---------------------------- > > revision 1.83 > > date: 2000/01/24 08:53:39; author: ru; state: Exp; lines: +4 -2 > > Notify user processes about interface's MTU change. > > Reviewed by: wollman, freebsd-net > > ==================================================================== > > > > Probably, if_tun.c needs a similar functionality added. > > Sorry, I can't investigate more at this time... > > I would suggest you to communicate with Brian Somers. > > > > > I've looked in if.c already. Isn't the code you did called for all interface > related IOCTLs ? Namely if I do a "ioctl(s, SIOCSIFMTU, &ifr)", it should be > first handled by if.c then dispatched to if_tun.c right ? So that means that > in all cases the RTM_IFINFO message should be sent. > > The funny thing is that if I do a ifconfig tun0 mtu 1333, I see the proper > RTM_IFINFO messages... ppp sets the interface mtu using TUNSIFINFO rather than SIOCSIFMTU. See src/usr.sbin/ppp/tun.c. > Patrick. -- Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org> <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org> Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012092049.eB9KnQl54447>