Format police.

This commit is contained in:
mycroft 1994-02-10 18:46:04 +00:00
parent f4db87c6e4
commit 252495f006
3 changed files with 8 additions and 8 deletions

View File

@ -714,7 +714,7 @@ ip_mforward(ip, ifp, m)
u_long tunnel_src; u_long tunnel_src;
if (ip->ip_hl < (IP_HDR_LEN + TUNNEL_LEN) >> 2 || if (ip->ip_hl < (IP_HDR_LEN + TUNNEL_LEN) >> 2 ||
(ipoptions = (u_char *)(ip + 1))[1] != IPOPT_LSRR ) { (ipoptions = (u_char *)(ip + 1))[1] != IPOPT_LSRR) {
/* /*
* Packet arrived via a physical interface or was * Packet arrived via a physical interface or was
* decapsulated off an encapsulating tunnel. * decapsulated off an encapsulating tunnel.

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* from: @(#)raw_ip.c 7.8 (Berkeley) 7/25/90 * from: @(#)raw_ip.c 7.8 (Berkeley) 7/25/90
* $Id: raw_ip.c,v 1.11 1994/02/02 05:59:08 hpeyerl Exp $ * $Id: raw_ip.c,v 1.12 1994/02/10 18:46:05 mycroft Exp $
*/ */
#include <sys/param.h> #include <sys/param.h>
@ -123,8 +123,8 @@ rip_output(m, so)
opts = rp->rinp_options; opts = rp->rinp_options;
} }
return (ip_output(m, opts, &rp->rinp_route, return (ip_output(m, opts, &rp->rinp_route,
(so->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST (so->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST,
, rp->rinp_rcb.rcb_moptions )); rp->rinp_rcb.rcb_moptions));
} }
/* /*
@ -166,7 +166,7 @@ rip_ctloutput(op, so, level, optname, m)
case IP_ADD_MEMBERSHIP: case IP_ADD_MEMBERSHIP:
case IP_DROP_MEMBERSHIP: case IP_DROP_MEMBERSHIP:
error = ip_setmoptions(optname, error = ip_setmoptions(optname,
&rp->rinp_rcb.rcb_moptions, *m); &rp->rinp_rcb.rcb_moptions, *m);
break; break;
default: default:
#ifdef MROUTING #ifdef MROUTING

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* from: @(#)udp_usrreq.c 7.20 (Berkeley) 4/20/91 * from: @(#)udp_usrreq.c 7.20 (Berkeley) 4/20/91
* $Id: udp_usrreq.c,v 1.11 1994/02/02 05:59:10 hpeyerl Exp $ * $Id: udp_usrreq.c,v 1.12 1994/02/10 18:46:06 mycroft Exp $
*/ */
#include <sys/param.h> #include <sys/param.h>
@ -439,8 +439,8 @@ udp_output(inp, m, addr, control)
((struct ip *)ui)->ip_tos = inp->inp_ip.ip_tos; /* XXX */ ((struct ip *)ui)->ip_tos = inp->inp_ip.ip_tos; /* XXX */
udpstat.udps_opackets++; udpstat.udps_opackets++;
error = ip_output(m, inp->inp_options, &inp->inp_route, error = ip_output(m, inp->inp_options, &inp->inp_route,
inp->inp_socket->so_options & (SO_DONTROUTE | SO_BROADCAST) inp->inp_socket->so_options & (SO_DONTROUTE | SO_BROADCAST),
, inp->inp_moptions ); inp->inp_moptions);
if (addr) { if (addr) {
in_pcbdisconnect(inp); in_pcbdisconnect(inp);