Deleted Added
full compact
raw_usrreq.c (8876) raw_usrreq.c (12881)
1/*
2 * Copyright (c) 1980, 1986, 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 * @(#)raw_usrreq.c 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1980, 1986, 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 * @(#)raw_usrreq.c 8.1 (Berkeley) 6/10/93
34 * $Id: raw_usrreq.c,v 1.5 1995/02/16 01:11:38 wollman Exp $
34 * $Id: raw_usrreq.c,v 1.6 1995/05/30 08:08:22 rgrimes Exp $
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/mbuf.h>
40#include <sys/domain.h>
41#include <sys/protosw.h>
42#include <sys/socket.h>

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

124 sockets++;
125 }
126 } else
127 m_freem(m);
128}
129
130/*ARGSUSED*/
131void
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/mbuf.h>
40#include <sys/domain.h>
41#include <sys/protosw.h>
42#include <sys/socket.h>

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

124 sockets++;
125 }
126 } else
127 m_freem(m);
128}
129
130/*ARGSUSED*/
131void
132raw_ctlinput(cmd, arg)
132raw_ctlinput(cmd, arg, dummy)
133 int cmd;
134 struct sockaddr *arg;
133 int cmd;
134 struct sockaddr *arg;
135 void *dummy;
135{
136
137 if (cmd < 0 || cmd > PRC_NCMDS)
138 return;
139 /* INCOMPLETE */
140}
141
142/*ARGSUSED*/

--- 171 unchanged lines hidden ---
136{
137
138 if (cmd < 0 || cmd > PRC_NCMDS)
139 return;
140 /* INCOMPLETE */
141}
142
143/*ARGSUSED*/

--- 171 unchanged lines hidden ---