Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Feb 2003 14:33:00 -0800
From:      Darrell Anderson <darrell@google.com>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ip_output args changed, added a struct inpcb ...
Message-ID:  <3E42E29C.7040500@google.com>
In-Reply-To: <20030206134042.Q63349@hub.org>
References:  <20030206134042.Q63349@hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <scrappy@hub.org>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E42E29C.7040500>