ipx_proto.c (139823) | ipx_proto.c (149848) |
---|---|
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: --- 21 unchanged lines hidden (view full) --- 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_proto.c 35 */ 36 37#include <sys/cdefs.h> | 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: --- 21 unchanged lines hidden (view full) --- 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_proto.c 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/netipx/ipx_proto.c 139823 2005-01-07 01:45:51Z imp $"); | 38__FBSDID("$FreeBSD: head/sys/netipx/ipx_proto.c 149848 2005-09-07 10:06:14Z obrien $"); |
39 40#include "opt_ipx.h" 41 42#include <sys/param.h> 43#include <sys/socket.h> 44#include <sys/protosw.h> 45#include <sys/domain.h> 46#include <sys/kernel.h> 47#include <sys/queue.h> 48#include <sys/sysctl.h> 49 50#include <net/radix.h> 51 52#include <netipx/ipx.h> 53#include <netipx/ipx_var.h> 54#include <netipx/spx.h> 55 | 39 40#include "opt_ipx.h" 41 42#include <sys/param.h> 43#include <sys/socket.h> 44#include <sys/protosw.h> 45#include <sys/domain.h> 46#include <sys/kernel.h> 47#include <sys/queue.h> 48#include <sys/sysctl.h> 49 50#include <net/radix.h> 51 52#include <netipx/ipx.h> 53#include <netipx/ipx_var.h> 54#include <netipx/spx.h> 55 |
56extern struct domain ipxdomain; | |
57static struct pr_usrreqs nousrreqs; 58 59/* 60 * IPX protocol family: IPX, ERR, PXP, SPX, ROUTE. 61 */ 62 | 56static struct pr_usrreqs nousrreqs; 57 58/* 59 * IPX protocol family: IPX, ERR, PXP, SPX, ROUTE. 60 */ 61 |
62static struct domain ipxdomain; 63 |
|
63static struct protosw ipxsw[] = { 64{ 0, &ipxdomain, 0, 0, 65 0, 0, 0, 0, 66 0, 67 ipx_init, 0, 0, 0, 68 &nousrreqs 69}, 70{ SOCK_DGRAM, &ipxdomain, 0, PR_ATOMIC|PR_ADDR, --- 36 unchanged lines hidden --- | 64static struct protosw ipxsw[] = { 65{ 0, &ipxdomain, 0, 0, 66 0, 0, 0, 0, 67 0, 68 ipx_init, 0, 0, 0, 69 &nousrreqs 70}, 71{ SOCK_DGRAM, &ipxdomain, 0, PR_ATOMIC|PR_ADDR, --- 36 unchanged lines hidden --- |