Deleted Added
full compact
ipx_usrreq.c (116189) ipx_usrreq.c (122875)
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_usrreq.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_usrreq.c
35 */
36
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/sys/netipx/ipx_usrreq.c 116189 2003-06-11 05:37:42Z obrien $");
38__FBSDID("$FreeBSD: head/sys/netipx/ipx_usrreq.c 122875 2003-11-18 00:39:07Z rwatson $");
39
40#include "opt_ipx.h"
41
42#include <sys/param.h>
43#include <sys/kernel.h>
44#include <sys/lock.h>
45#include <sys/mbuf.h>
46#include <sys/protosw.h>

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

87static int ripx_attach(struct socket *so, int proto, struct thread *td);
88static int ipx_output(struct ipxpcb *ipxp, struct mbuf *m0);
89
90struct pr_usrreqs ipx_usrreqs = {
91 ipx_usr_abort, pru_accept_notsupp, ipx_attach, ipx_bind,
92 ipx_connect, pru_connect2_notsupp, ipx_control, ipx_detach,
93 ipx_disconnect, pru_listen_notsupp, ipx_peeraddr, pru_rcvd_notsupp,
94 pru_rcvoob_notsupp, ipx_send, pru_sense_null, ipx_shutdown,
39
40#include "opt_ipx.h"
41
42#include <sys/param.h>
43#include <sys/kernel.h>
44#include <sys/lock.h>
45#include <sys/mbuf.h>
46#include <sys/protosw.h>

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

87static int ripx_attach(struct socket *so, int proto, struct thread *td);
88static int ipx_output(struct ipxpcb *ipxp, struct mbuf *m0);
89
90struct pr_usrreqs ipx_usrreqs = {
91 ipx_usr_abort, pru_accept_notsupp, ipx_attach, ipx_bind,
92 ipx_connect, pru_connect2_notsupp, ipx_control, ipx_detach,
93 ipx_disconnect, pru_listen_notsupp, ipx_peeraddr, pru_rcvd_notsupp,
94 pru_rcvoob_notsupp, ipx_send, pru_sense_null, ipx_shutdown,
95 ipx_sockaddr, sosend, soreceive, sopoll
95 ipx_sockaddr, sosend, soreceive, sopoll, pru_sosetlabel_null
96};
97
98struct pr_usrreqs ripx_usrreqs = {
99 ipx_usr_abort, pru_accept_notsupp, ripx_attach, ipx_bind,
100 ipx_connect, pru_connect2_notsupp, ipx_control, ipx_detach,
101 ipx_disconnect, pru_listen_notsupp, ipx_peeraddr, pru_rcvd_notsupp,
102 pru_rcvoob_notsupp, ipx_send, pru_sense_null, ipx_shutdown,
96};
97
98struct pr_usrreqs ripx_usrreqs = {
99 ipx_usr_abort, pru_accept_notsupp, ripx_attach, ipx_bind,
100 ipx_connect, pru_connect2_notsupp, ipx_control, ipx_detach,
101 ipx_disconnect, pru_listen_notsupp, ipx_peeraddr, pru_rcvd_notsupp,
102 pru_rcvoob_notsupp, ipx_send, pru_sense_null, ipx_shutdown,
103 ipx_sockaddr, sosend, soreceive, sopoll
103 ipx_sockaddr, sosend, soreceive, sopoll, pru_sosetlabel_null
104};
105
106/*
107 * This may also be called for raw listeners.
108 */
109void
110ipx_input(m, ipxp)
111 struct mbuf *m;

--- 505 unchanged lines hidden ---
104};
105
106/*
107 * This may also be called for raw listeners.
108 */
109void
110ipx_input(m, ipxp)
111 struct mbuf *m;

--- 505 unchanged lines hidden ---