From owner-freebsd-net Fri Dec 8 10: 2:18 2000 From owner-freebsd-net@FreeBSD.ORG Fri Dec 8 10:02:16 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from modemcable101.200-201-24.mtl.mc.videotron.ca (modemcable140.61-201-24.mtl.mc.videotron.ca [24.201.61.140]) by hub.freebsd.org (Postfix) with SMTP id 3CAD037B401 for ; Fri, 8 Dec 2000 10:02:16 -0800 (PST) Received: (qmail 54208 invoked from network); 8 Dec 2000 18:02:14 -0000 Received: from patrak.local.mindstep.com (HELO PATRAK) (192.168.10.4) by jacuzzi.local.mindstep.com with SMTP; 8 Dec 2000 18:02:14 -0000 From: "Patrick Bihan-Faou" To: "Ruslan Ermilov" Cc: , "Brian Somers" Subject: RE: Problem with PPP, tcpmssd and routing socket messages Date: Fri, 8 Dec 2000 13:02:56 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20001208095225.A69062@sunbay.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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... Patrick. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message