Deleted Added
full compact
spx_reass.c (119995) spx_reass.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 * @(#)spx_usrreq.h
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 * @(#)spx_usrreq.h
35 */
36
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/sys/netipx/spx_usrreq.c 119995 2003-09-11 21:40:21Z ru $");
38__FBSDID("$FreeBSD: head/sys/netipx/spx_usrreq.c 122875 2003-11-18 00:39:07Z rwatson $");
39
40#include <sys/param.h>
41#include <sys/lock.h>
42#include <sys/malloc.h>
43#include <sys/mbuf.h>
44#include <sys/mutex.h>
45#include <sys/proc.h>
46#include <sys/protosw.h>

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

107static int spx_shutdown(struct socket *so);
108static int spx_sp_attach(struct socket *so, int proto, struct thread *td);
109
110struct pr_usrreqs spx_usrreqs = {
111 spx_usr_abort, spx_accept, spx_attach, spx_bind,
112 spx_connect, pru_connect2_notsupp, ipx_control, spx_detach,
113 spx_usr_disconnect, spx_listen, ipx_peeraddr, spx_rcvd,
114 spx_rcvoob, spx_send, pru_sense_null, spx_shutdown,
39
40#include <sys/param.h>
41#include <sys/lock.h>
42#include <sys/malloc.h>
43#include <sys/mbuf.h>
44#include <sys/mutex.h>
45#include <sys/proc.h>
46#include <sys/protosw.h>

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

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

--- 1775 unchanged lines hidden ---
124};
125
126void
127spx_init()
128{
129
130 spx_iss = 1; /* WRONG !! should fish it out of TODR */
131}

--- 1775 unchanged lines hidden ---