diff options
Diffstat (limited to 'sys/netinet/ip_output.c')
| -rw-r--r-- | sys/netinet/ip_output.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index ec5a5dd4527d..e9b459e870b8 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -31,10 +31,11 @@ * SUCH DAMAGE. * * from: @(#)ip_output.c 7.23 (Berkeley) 11/12/90 - * $Id: ip_output.c,v 1.3 1993/10/19 09:14:15 davidg Exp $ + * $Id: ip_output.c,v 1.5 1993/12/19 00:52:45 wollman Exp $ */ #include "param.h" +#include "systm.h" #include "malloc.h" #include "mbuf.h" #include "errno.h" @@ -64,6 +65,7 @@ struct mbuf *ip_insertoptions(); * The mbuf chain containing the packet will be freed. * The mbuf opt, if present, will not be freed. */ +int ip_output(m0, opt, ro, flags) struct mbuf *m0; struct mbuf *opt; @@ -345,6 +347,7 @@ ip_insertoptions(m, opt, phlen) * Copy options from ip to jp, * omitting those not copied during fragmentation. */ +int ip_optcopy(ip, jp) struct ip *ip, *jp; { @@ -378,6 +381,7 @@ ip_optcopy(ip, jp) /* * IP socket option processing. */ +int ip_ctloutput(op, so, level, optname, mp) int op; struct socket *so; @@ -386,7 +390,7 @@ ip_ctloutput(op, so, level, optname, mp) { register struct inpcb *inp = sotoinpcb(so); register struct mbuf *m = *mp; - register int optval; + register int optval = 0; int error = 0; if (level != IPPROTO_IP) @@ -512,6 +516,7 @@ ip_ctloutput(op, so, level, optname, mp) * Store in mbuf with pointer in pcbopt, adding pseudo-option * with destination address if source routed. */ +int #ifdef notyet ip_pcbopts(optname, pcbopt, m) int optname; |
