Deleted Added
full compact
spx_reass.c (29024) spx_reass.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 * @(#)spx_usrreq.h
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 * @(#)spx_usrreq.h
35 *
36 * $Id: spx_usrreq.c,v 1.15 1997/08/16 19:15:47 wollman Exp $
36 * $Id: spx_usrreq.c,v 1.16 1997/09/02 01:19:15 bde Exp $
37 */
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/malloc.h>
42#include <sys/mbuf.h>
43#include <sys/proc.h>
44#include <sys/protosw.h>

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

104static int spx_shutdown(struct socket *so);
105static int spx_sp_attach(struct socket *so, int proto, struct proc *p);
106
107struct pr_usrreqs spx_usrreqs = {
108 spx_usr_abort, spx_accept, spx_attach, spx_bind,
109 spx_connect, pru_connect2_notsupp, ipx_control, spx_detach,
110 spx_usr_disconnect, spx_listen, ipx_peeraddr, spx_rcvd,
111 spx_rcvoob, spx_send, pru_sense_null, spx_shutdown,
37 */
38
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/malloc.h>
42#include <sys/mbuf.h>
43#include <sys/proc.h>
44#include <sys/protosw.h>

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

104static int spx_shutdown(struct socket *so);
105static int spx_sp_attach(struct socket *so, int proto, struct proc *p);
106
107struct pr_usrreqs spx_usrreqs = {
108 spx_usr_abort, spx_accept, spx_attach, spx_bind,
109 spx_connect, pru_connect2_notsupp, ipx_control, spx_detach,
110 spx_usr_disconnect, spx_listen, ipx_peeraddr, spx_rcvd,
111 spx_rcvoob, spx_send, pru_sense_null, spx_shutdown,
112 ipx_sockaddr, sosend, soreceive, soselect
112 ipx_sockaddr, sosend, soreceive, sopoll
113};
114
115struct pr_usrreqs spx_usrreq_sps = {
116 spx_usr_abort, spx_accept, spx_sp_attach, spx_bind,
117 spx_connect, pru_connect2_notsupp, ipx_control, spx_detach,
118 spx_usr_disconnect, spx_listen, ipx_peeraddr, spx_rcvd,
119 spx_rcvoob, spx_send, pru_sense_null, spx_shutdown,
113};
114
115struct pr_usrreqs spx_usrreq_sps = {
116 spx_usr_abort, spx_accept, spx_sp_attach, spx_bind,
117 spx_connect, pru_connect2_notsupp, ipx_control, spx_detach,
118 spx_usr_disconnect, spx_listen, ipx_peeraddr, spx_rcvd,
119 spx_rcvoob, spx_send, pru_sense_null, spx_shutdown,
120 ipx_sockaddr, sosend, soreceive, soselect
120 ipx_sockaddr, sosend, soreceive, sopoll
121};
122
123void
124spx_init()
125{
126
127 spx_iss = 1; /* WRONG !! should fish it out of TODR */
128}

--- 1800 unchanged lines hidden ---
121};
122
123void
124spx_init()
125{
126
127 spx_iss = 1; /* WRONG !! should fish it out of TODR */
128}

--- 1800 unchanged lines hidden ---