From owner-freebsd-stable Thu Feb 6 14:33:14 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E47A37B408 for ; Thu, 6 Feb 2003 14:33:06 -0800 (PST) Received: from 216-239-45-4.google.com (216-239-45-4.google.com [216.239.45.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6FEC43FBF for ; Thu, 6 Feb 2003 14:33:05 -0800 (PST) (envelope-from darrell@google.com) Received: from google.com (vogsphere.corp.google.com [10.3.18.47]) by 216-239-45-4.google.com (8.12.6/8.12.3) with ESMTP id h16MX03u025503; Thu, 6 Feb 2003 14:33:00 -0800 Message-ID: <3E42E29C.7040500@google.com> Date: Thu, 06 Feb 2003 14:33:00 -0800 From: Darrell Anderson Reply-To: darrell+freebsd@google.com Organization: Google User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-stable@freebsd.org Subject: Re: ip_output args changed, added a struct inpcb ... References: <20030206134042.Q63349@hub.org> In-Reply-To: <20030206134042.Q63349@hub.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yup, you can pass NULL as the new ip_output final argument, it's only used for IPSEC. -Darrell Marc G. Fournier wrote: > Darryl ... > > They appear to have changed the args for ip_output, but am not sure what > I need to do to fix it in the netdump code :( > > The new structure appears to be: > > int ip_output(struct mbuf *, > struct mbuf *, struct route *, int, struct ip_moptions *, > struct inpcb *); > > My guess is that I just need to put 0 in for ip_pcb ... ? but I > don't know enough about ip_output to do more then guess ... > > Checking the diffs at: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/ip_output.c.diff?r1=1.99.2.33&r2=1.99.2.34&only_with_tag=RELENG_4&f=h > > The addition was made in 1.99.2.34 of the inpcb struct ... > > ---------- Forwarded message ---------- > Date: Wed, 5 Feb 2003 23:54:15 -0400 (AST) > From: Marc G. Fournier > To: freebsd-stable@freebsd.org > Subject: ip_output args changed ... ? > > > Can't find a man page for it, so can someone tell me what I need to do to > get this fixed? > > netdump_client.c: In function `netdump_output': > netdump_client.c:162: too few arguments to function `ip_output' > *** Error code 1 > > Stop in /root/netdump. > jupiter# grep ip_output * > netdump_client.c: error = ip_output(m, NULL, &ro, IP_ALLOWBROADCAST, 0); > > Thanks ... > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message