diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-01-02 15:13:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-01-02 15:13:59 +0000 |
commit | f178a5be317b02070511f3a345abb8e34e40899d (patch) | |
tree | 90ee0e8e74d89e581787e308f4ab9146e3cacc01 /sys/netipx/ipx_usrreq.c | |
parent | bb9b0831cba1ba790b9215e9a51fa8ce0897f347 (diff) | |
download | FreeBSD-src-f178a5be317b02070511f3a345abb8e34e40899d.zip FreeBSD-src-f178a5be317b02070511f3a345abb8e34e40899d.tar.gz |
Trim trailing whitespace.
Diffstat (limited to 'sys/netipx/ipx_usrreq.c')
-rw-r--r-- | sys/netipx/ipx_usrreq.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c index 6277d78..47acdb1 100644 --- a/sys/netipx/ipx_usrreq.c +++ b/sys/netipx/ipx_usrreq.c @@ -82,7 +82,7 @@ static int ipx_connect(struct socket *so, struct sockaddr *nam, static int ipx_detach(struct socket *so); static int ipx_disconnect(struct socket *so); static int ipx_send(struct socket *so, int flags, struct mbuf *m, - struct sockaddr *addr, struct mbuf *control, + struct sockaddr *addr, struct mbuf *control, struct thread *td); static int ipx_shutdown(struct socket *so); static int ripx_attach(struct socket *so, int proto, struct thread *td); @@ -142,7 +142,7 @@ ipx_input(m, ipxp) if (ipx_neteqnn(ipx->ipx_sna.x_net, ipx_zeronet) && ifp != NULL) { register struct ifaddr *ifa; - for (ifa = TAILQ_FIRST(&ifp->if_addrhead); ifa != NULL; + for (ifa = TAILQ_FIRST(&ifp->if_addrhead); ifa != NULL; ifa = TAILQ_NEXT(ifa, ifa_link)) { if (ifa->ifa_addr->sa_family == AF_IPX) { ipx_ipx.sipx_addr.x_net = @@ -225,7 +225,7 @@ ipx_output(ipxp, m0) /* * Make sure packet is actually of even length. */ - + if (len & 1) { m = mprev; if ((m->m_flags & M_EXT) == 0 && @@ -308,7 +308,7 @@ ipx_output(ipxp, m0) &satoipx_addr(ro->ro_dst); dst->x_host = ipx->ipx_dna.x_host; } - /* + /* * Otherwise, we go through the same gateway * and dst is already set up. */ @@ -351,7 +351,7 @@ ipx_ctloutput(so, sopt) case SO_IPX_CHECKSUM: mask = IPXP_CHECKSUM; goto get_flags; - + case SO_HEADERS_ON_OUTPUT: mask = IPXP_RAWOUT; get_flags: @@ -370,7 +370,7 @@ ipx_ctloutput(so, sopt) break; case SO_SEQNO: - error = sooptcopyout(sopt, &ipx_pexseq, + error = sooptcopyout(sopt, &ipx_pexseq, sizeof ipx_pexseq); ipx_pexseq++; break; |