Deleted Added
full compact
uipc_syscalls.c (207708) uipc_syscalls.c (209390)
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * sendfile(2) and related extensions:
6 * Copyright (c) 1998, David Greenman. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)uipc_syscalls.c 8.4 (Berkeley) 2/21/94
33 */
34
35#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * sendfile(2) and related extensions:
6 * Copyright (c) 1998, David Greenman. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * @(#)uipc_syscalls.c 8.4 (Berkeley) 2/21/94
33 */
34
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sys/kern/uipc_syscalls.c 207708 2010-05-06 17:43:41Z alc $");
36__FBSDID("$FreeBSD: head/sys/kern/uipc_syscalls.c 209390 2010-06-21 09:55:56Z ed $");
37
38#include "opt_inet.h"
39#include "opt_inet6.h"
40#include "opt_sctp.h"
41#include "opt_compat.h"
42#include "opt_ktrace.h"
43
44#include <sys/param.h>

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

2597 int iovlen,
2598 struct sockaddr *from,
2599 __socklen_t *fromlenaddr,
2600 struct sctp_sndrcvinfo *sinfo,
2601 int *msg_flags
2602 } */ *uap;
2603{
2604#if (defined(INET) || defined(INET6)) && defined(SCTP)
37
38#include "opt_inet.h"
39#include "opt_inet6.h"
40#include "opt_sctp.h"
41#include "opt_compat.h"
42#include "opt_ktrace.h"
43
44#include <sys/param.h>

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

2597 int iovlen,
2598 struct sockaddr *from,
2599 __socklen_t *fromlenaddr,
2600 struct sctp_sndrcvinfo *sinfo,
2601 int *msg_flags
2602 } */ *uap;
2603{
2604#if (defined(INET) || defined(INET6)) && defined(SCTP)
2605 u_int8_t sockbufstore[256];
2605 uint8_t sockbufstore[256];
2606 struct uio auio;
2607 struct iovec *iov, *tiov;
2608 struct sctp_sndrcvinfo sinfo;
2609 struct socket *so;
2610 struct file *fp = NULL;
2611 struct sockaddr *fromsa;
2612 int fromlen;
2613 int len, i, msg_flags;

--- 125 unchanged lines hidden ---
2606 struct uio auio;
2607 struct iovec *iov, *tiov;
2608 struct sctp_sndrcvinfo sinfo;
2609 struct socket *so;
2610 struct file *fp = NULL;
2611 struct sockaddr *fromsa;
2612 int fromlen;
2613 int len, i, msg_flags;

--- 125 unchanged lines hidden ---