socket.h (5413) | socket.h (6223) |
---|---|
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 --- 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 * @(#)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 --- 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 * @(#)socket.h 8.4 (Berkeley) 2/21/94 |
34 * $Id: socket.h,v 1.4 1994/10/08 22:22:59 phk Exp $ | 34 * $Id: socket.h,v 1.5 1995/01/05 19:51:51 se Exp $ |
35 */ 36 37#ifndef _SYS_SOCKET_H_ 38#define _SYS_SOCKET_H_ 39 40/* 41 * Definitions related to sockets: types, address families, options. 42 */ --- 217 unchanged lines hidden (view full) --- 260#define MSG_OOB 0x1 /* process out-of-band data */ 261#define MSG_PEEK 0x2 /* peek at incoming message */ 262#define MSG_DONTROUTE 0x4 /* send without using routing tables */ 263#define MSG_EOR 0x8 /* data completes record */ 264#define MSG_TRUNC 0x10 /* data discarded before delivery */ 265#define MSG_CTRUNC 0x20 /* control data lost before delivery */ 266#define MSG_WAITALL 0x40 /* wait for full request or error */ 267#define MSG_DONTWAIT 0x80 /* this message should be nonblocking */ | 35 */ 36 37#ifndef _SYS_SOCKET_H_ 38#define _SYS_SOCKET_H_ 39 40/* 41 * Definitions related to sockets: types, address families, options. 42 */ --- 217 unchanged lines hidden (view full) --- 260#define MSG_OOB 0x1 /* process out-of-band data */ 261#define MSG_PEEK 0x2 /* peek at incoming message */ 262#define MSG_DONTROUTE 0x4 /* send without using routing tables */ 263#define MSG_EOR 0x8 /* data completes record */ 264#define MSG_TRUNC 0x10 /* data discarded before delivery */ 265#define MSG_CTRUNC 0x20 /* control data lost before delivery */ 266#define MSG_WAITALL 0x40 /* wait for full request or error */ 267#define MSG_DONTWAIT 0x80 /* this message should be nonblocking */ |
268#define MSG_EOF 0x100 /* data completes connection */ |
|
268#define MSG_COMPAT 0x8000 /* used in sendit() */ 269 270/* 271 * Header for ancillary data objects in msg_control buffer. 272 * Used for additional information with/about a datagram 273 * not expressible by flags. The format is a sequence 274 * of message elements headed by cmsghdr structures. 275 */ --- 71 unchanged lines hidden --- | 269#define MSG_COMPAT 0x8000 /* used in sendit() */ 270 271/* 272 * Header for ancillary data objects in msg_control buffer. 273 * Used for additional information with/about a datagram 274 * not expressible by flags. The format is a sequence 275 * of message elements headed by cmsghdr structures. 276 */ --- 71 unchanged lines hidden --- |