socket.h revision 1ca4a6ab3f30cc1d00058a1a23e62bb267016ea1
1834N/A * Copyright (c) 1995 Danny Gasparovski. 0N/A * Please read the file COPYRIGHT for the 0N/A * terms and conditions of the copyright. 0N/A * Our socket structure 0N/A int s;
/* The actual socket */ 1879N/A /* XXX union these with not-yet-used sbuf params */ 1879N/A * for non-blocking connect()'s, and 1879N/A * so_mconn, for non-blocking connections */ 145N/A * Used to determine when to "downgrade" a session 145N/A * from fastq to batchq */ 145N/A * Socket state bits. (peer means the host on the Internet, 145N/A * local host means the host on the other end of the modem) 145N/A/* #define SS_ISFDISCONNECTED 0x020*/ /* Socket has disconnected from peer, in 2MSL state */ 145N/A#
define SS_FWDRAIN 0x040 /* We received a FIN, drain data and set SS_FCANTSENDMORE */ 145N/A/* #define SS_CTL 0x080 */ 145N/A#
define SS_FACCEPTCONN 0x100 /* Socket is accepting connections from a host on the internet */ 145N/A#
define SS_FACCEPTONCE 0x200 /* If set, the SS_FACCEPTCONN socket will die after one accept */