socket.h (254122) | socket.h (254356) |
---|---|
1/*- 2 * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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 * @(#)socket.h 8.4 (Berkeley) 2/21/94 | 1/*- 2 * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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 * @(#)socket.h 8.4 (Berkeley) 2/21/94 |
30 * $FreeBSD: head/sys/sys/socket.h 254122 2013-08-09 03:26:17Z jeff $ | 30 * $FreeBSD: head/sys/sys/socket.h 254356 2013-08-15 07:54:31Z glebius $ |
31 */ 32 33#ifndef _SYS_SOCKET_H_ 34#define _SYS_SOCKET_H_ 35 36#include <sys/cdefs.h> 37#include <sys/_types.h> 38#include <sys/_iovec.h> --- 584 unchanged lines hidden (view full) --- 623}; 624 625/* 626 * Sendfile-specific flag(s) 627 */ 628#define SF_NODISKIO 0x00000001 629#define SF_MNOWAIT 0x00000002 630#define SF_SYNC 0x00000004 | 31 */ 32 33#ifndef _SYS_SOCKET_H_ 34#define _SYS_SOCKET_H_ 35 36#include <sys/cdefs.h> 37#include <sys/_types.h> 38#include <sys/_iovec.h> --- 584 unchanged lines hidden (view full) --- 623}; 624 625/* 626 * Sendfile-specific flag(s) 627 */ 628#define SF_NODISKIO 0x00000001 629#define SF_MNOWAIT 0x00000002 630#define SF_SYNC 0x00000004 |
631#endif | |
632 | 631 |
632#ifdef _KERNEL 633#define SFK_COMPAT 0x00000001 634#endif /* _KERNEL */ 635#endif /* __BSD_VISIBLE */ 636 |
|
633#ifndef _KERNEL 634 635#include <sys/cdefs.h> 636 637__BEGIN_DECLS 638int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); 639int bind(int, const struct sockaddr *, socklen_t); 640int connect(int, const struct sockaddr *, socklen_t); --- 67 unchanged lines hidden --- | 637#ifndef _KERNEL 638 639#include <sys/cdefs.h> 640 641__BEGIN_DECLS 642int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); 643int bind(int, const struct sockaddr *, socklen_t); 644int connect(int, const struct sockaddr *, socklen_t); --- 67 unchanged lines hidden --- |