ipx_input.c (50519) | ipx_input.c (56555) |
---|---|
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: --- 19 unchanged lines hidden (view full) --- 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_input.c 35 * | 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: --- 19 unchanged lines hidden (view full) --- 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_input.c 35 * |
36 * $FreeBSD: head/sys/netipx/ipx_input.c 50519 1999-08-28 18:21:55Z jhay $ | 36 * $FreeBSD: head/sys/netipx/ipx_input.c 56555 2000-01-24 20:39:02Z brian $ |
37 */ 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/mbuf.h> 42#include <sys/protosw.h> 43#include <sys/socket.h> 44#include <sys/kernel.h> 45#include <sys/sysctl.h> 46 47#include <net/if.h> 48#include <net/route.h> 49#include <net/netisr.h> | 37 */ 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/mbuf.h> 42#include <sys/protosw.h> 43#include <sys/socket.h> 44#include <sys/kernel.h> 45#include <sys/sysctl.h> 46 47#include <net/if.h> 48#include <net/route.h> 49#include <net/netisr.h> |
50#include <net/intrq.h> |
|
50 51#include <netipx/ipx.h> 52#include <netipx/spx.h> 53#include <netipx/ipx_if.h> 54#include <netipx/ipx_pcb.h> 55#include <netipx/ipx_var.h> 56 57#include <machine/random.h> --- 23 unchanged lines hidden (view full) --- 81struct ipxstat ipxstat; 82struct sockaddr_ipx ipx_netmask, ipx_hostmask; 83 84static u_short allones[] = {-1, -1, -1}; 85 86struct ipxpcb ipxpcb; 87struct ipxpcb ipxrawpcb; 88 | 51 52#include <netipx/ipx.h> 53#include <netipx/spx.h> 54#include <netipx/ipx_if.h> 55#include <netipx/ipx_pcb.h> 56#include <netipx/ipx_var.h> 57 58#include <machine/random.h> --- 23 unchanged lines hidden (view full) --- 82struct ipxstat ipxstat; 83struct sockaddr_ipx ipx_netmask, ipx_hostmask; 84 85static u_short allones[] = {-1, -1, -1}; 86 87struct ipxpcb ipxpcb; 88struct ipxpcb ipxrawpcb; 89 |
89struct ifqueue ipxintrq; | |
90static int ipxqmaxlen = IFQ_MAXLEN; 91 92long ipx_pexseq; | 90static int ipxqmaxlen = IFQ_MAXLEN; 91 92long ipx_pexseq; |
93const int ipxintrq_present = 1; |
|
93 94NETISR_SET(NETISR_IPX, ipxintr); 95 96static int ipx_do_route(struct ipx_addr *src, struct route *ro); 97static void ipx_undo_route(struct route *ro); 98static void ipx_forward(struct mbuf *m); 99 100/* --- 411 unchanged lines hidden --- | 94 95NETISR_SET(NETISR_IPX, ipxintr); 96 97static int ipx_do_route(struct ipx_addr *src, struct route *ro); 98static void ipx_undo_route(struct route *ro); 99static void ipx_forward(struct mbuf *m); 100 101/* --- 411 unchanged lines hidden --- |