Deleted Added
full compact
ipx_usrreq.c (28270) ipx_usrreq.c (29366)
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_usrreq.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_usrreq.c
35 *
36 * $Id: ipx_usrreq.c,v 1.15 1997/06/26 19:35:58 jhay Exp $
36 * $Id: ipx_usrreq.c,v 1.16 1997/08/16 19:15:45 wollman Exp $
37 */
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/kernel.h>
42#include <sys/mbuf.h>
43#include <sys/proc.h>
44#include <sys/protosw.h>

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

82static int ripx_attach(struct socket *so, int proto, struct proc *p);
83static int ipx_output(struct ipxpcb *ipxp, struct mbuf *m0);
84
85struct pr_usrreqs ipx_usrreqs = {
86 ipx_usr_abort, pru_accept_notsupp, ipx_attach, ipx_bind,
87 ipx_connect, pru_connect2_notsupp, ipx_control, ipx_detach,
88 ipx_disconnect, pru_listen_notsupp, ipx_peeraddr, pru_rcvd_notsupp,
89 pru_rcvoob_notsupp, ipx_send, pru_sense_null, ipx_shutdown,
37 */
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/kernel.h>
42#include <sys/mbuf.h>
43#include <sys/proc.h>
44#include <sys/protosw.h>

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

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

--- 520 unchanged lines hidden ---
99};
100
101/*
102 * This may also be called for raw listeners.
103 */
104void
105ipx_input(m, ipxp)
106 struct mbuf *m;

--- 520 unchanged lines hidden ---