rtsock.c (4d1d4912aefc1c973eb9cebba9abd31b1e29d553) rtsock.c (f8f6cbba927c69012c21cc4922b799a377f52f4f)
1/*
2 * Copyright (c) 1988, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)rtsock.c 8.5 (Berkeley) 11/2/94
1/*
2 * Copyright (c) 1988, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)rtsock.c 8.5 (Berkeley) 11/2/94
34 * $Id: rtsock.c,v 1.32 1997/08/16 19:15:32 wollman Exp $
34 * $Id: rtsock.c,v 1.33 1997/09/02 01:18:49 bde Exp $
35 */
36
37
38#include <sys/param.h>
39#include <sys/queue.h>
40#include <sys/systm.h>
41#include <sys/kernel.h>
42#include <sys/sysctl.h>

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

260 return error;
261}
262
263static struct pr_usrreqs route_usrreqs = {
264 rts_abort, pru_accept_notsupp, rts_attach, rts_bind, rts_connect,
265 pru_connect2_notsupp, pru_control_notsupp, rts_detach, rts_disconnect,
266 pru_listen_notsupp, rts_peeraddr, pru_rcvd_notsupp, pru_rcvoob_notsupp,
267 rts_send, pru_sense_null, rts_shutdown, rts_sockaddr,
35 */
36
37
38#include <sys/param.h>
39#include <sys/queue.h>
40#include <sys/systm.h>
41#include <sys/kernel.h>
42#include <sys/sysctl.h>

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

260 return error;
261}
262
263static struct pr_usrreqs route_usrreqs = {
264 rts_abort, pru_accept_notsupp, rts_attach, rts_bind, rts_connect,
265 pru_connect2_notsupp, pru_control_notsupp, rts_detach, rts_disconnect,
266 pru_listen_notsupp, rts_peeraddr, pru_rcvd_notsupp, pru_rcvoob_notsupp,
267 rts_send, pru_sense_null, rts_shutdown, rts_sockaddr,
268 sosend, soreceive, soselect
268 sosend, soreceive, sopoll
269};
270
271/*ARGSUSED*/
272static int
273route_output(m, so)
274 register struct mbuf *m;
275 struct socket *so;
276{

--- 720 unchanged lines hidden ---
269};
270
271/*ARGSUSED*/
272static int
273route_output(m, so)
274 register struct mbuf *m;
275 struct socket *so;
276{

--- 720 unchanged lines hidden ---