Deleted Added
full compact
uipc_sockbuf.c (157158) uipc_sockbuf.c (157366)
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1990, 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

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1990, 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

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/kern/uipc_sockbuf.c 157158 2006-03-26 22:44:37Z rwatson $");
33__FBSDID("$FreeBSD: head/sys/kern/uipc_sockbuf.c 157366 2006-04-01 15:15:05Z rwatson $");
34
35#include "opt_mac.h"
36#include "opt_param.h"
37
38#include <sys/param.h>
39#include <sys/aio.h> /* for aio_swake proto */
40#include <sys/domain.h>
41#include <sys/event.h>

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

1287 cp->cmsg_type = type;
1288 return (m);
1289}
1290
1291/*
1292 * Some routines that return EOPNOTSUPP for entry points that are not
1293 * supported by a protocol. Fill in as needed.
1294 */
34
35#include "opt_mac.h"
36#include "opt_param.h"
37
38#include <sys/param.h>
39#include <sys/aio.h> /* for aio_swake proto */
40#include <sys/domain.h>
41#include <sys/event.h>

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

1287 cp->cmsg_type = type;
1288 return (m);
1289}
1290
1291/*
1292 * Some routines that return EOPNOTSUPP for entry points that are not
1293 * supported by a protocol. Fill in as needed.
1294 */
1295int
1295void
1296pru_abort_notsupp(struct socket *so)
1297{
1296pru_abort_notsupp(struct socket *so)
1297{
1298 return EOPNOTSUPP;
1298
1299}
1300
1301int
1302pru_accept_notsupp(struct socket *so, struct sockaddr **nam)
1303{
1304 return EOPNOTSUPP;
1305}
1306

--- 218 unchanged lines hidden ---
1299}
1300
1301int
1302pru_accept_notsupp(struct socket *so, struct sockaddr **nam)
1303{
1304 return EOPNOTSUPP;
1305}
1306

--- 218 unchanged lines hidden ---