Deleted Added
full compact
ipx_pcb.c (11819) ipx_pcb.c (11991)
1/*
2 * Copyright (c) 1995, Mike Mitchell
3 * Copyright (c) 1984, 1985, 1986, 1987, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 17 unchanged lines hidden (view full) ---

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
1/*
2 * Copyright (c) 1995, Mike Mitchell
3 * Copyright (c) 1984, 1985, 1986, 1987, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 17 unchanged lines hidden (view full) ---

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)ipx_pcb.c
34 * @(#)$Id$
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/mbuf.h>
40#include <sys/errno.h>
41#include <sys/socket.h>
42#include <sys/socketvar.h>

--- 236 unchanged lines hidden (view full) ---

279 * associated with address dst. Call the
280 * protocol specific routine to handle each connection.
281 * Also pass an extra paramter via the ipxpcb. (which may in fact
282 * be a parameter list!)
283 */
284void
285ipx_pcbnotify(dst, errno, notify, param)
286 register struct ipx_addr *dst;
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/mbuf.h>
40#include <sys/errno.h>
41#include <sys/socket.h>
42#include <sys/socketvar.h>

--- 236 unchanged lines hidden (view full) ---

279 * associated with address dst. Call the
280 * protocol specific routine to handle each connection.
281 * Also pass an extra paramter via the ipxpcb. (which may in fact
282 * be a parameter list!)
283 */
284void
285ipx_pcbnotify(dst, errno, notify, param)
286 register struct ipx_addr *dst;
287 int errno;
288 void (*notify)(struct ipxpcb *);
287 long param;
289 long param;
288 int errno, (*notify)();
289{
290 register struct ipxpcb *ipxp, *oinp;
291 int s = splimp();
292
293 for (ipxp = (&ipxpcb)->ipxp_next; ipxp != (&ipxpcb);) {
294 if (!ipx_hosteq(*dst,ipxp->ipxp_faddr)) {
295 next:
296 ipxp = ipxp->ipxp_next;

--- 77 unchanged lines hidden ---
290{
291 register struct ipxpcb *ipxp, *oinp;
292 int s = splimp();
293
294 for (ipxp = (&ipxpcb)->ipxp_next; ipxp != (&ipxpcb);) {
295 if (!ipx_hosteq(*dst,ipxp->ipxp_faddr)) {
296 next:
297 ipxp = ipxp->ipxp_next;

--- 77 unchanged lines hidden ---