socketvar.h (40931) | socketvar.h (41086) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 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 --- 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 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95 | 1/*- 2 * Copyright (c) 1982, 1986, 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 --- 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 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95 |
34 * $Id: socketvar.h,v 1.29 1998/08/23 03:07:17 wollman Exp $ | 34 * $Id: socketvar.h,v 1.30 1998/11/05 14:28:25 dg Exp $ |
35 */ 36 37#ifndef _SYS_SOCKETVAR_H_ 38#define _SYS_SOCKETVAR_H_ 39 40#include <sys/queue.h> /* for TAILQ macros */ 41#include <sys/select.h> /* for struct selinfo */ 42 --- 29 unchanged lines hidden (view full) --- 72 TAILQ_HEAD(, socket) so_comp; /* queue of complete unaccepted connections */ 73 TAILQ_ENTRY(socket) so_list; /* list of unaccepted connections */ 74 short so_qlen; /* number of unaccepted connections */ 75 short so_incqlen; /* number of unaccepted incomplete 76 connections */ 77 short so_qlimit; /* max number queued connections */ 78 short so_timeo; /* connection timeout */ 79 u_short so_error; /* error affecting connection */ | 35 */ 36 37#ifndef _SYS_SOCKETVAR_H_ 38#define _SYS_SOCKETVAR_H_ 39 40#include <sys/queue.h> /* for TAILQ macros */ 41#include <sys/select.h> /* for struct selinfo */ 42 --- 29 unchanged lines hidden (view full) --- 72 TAILQ_HEAD(, socket) so_comp; /* queue of complete unaccepted connections */ 73 TAILQ_ENTRY(socket) so_list; /* list of unaccepted connections */ 74 short so_qlen; /* number of unaccepted connections */ 75 short so_incqlen; /* number of unaccepted incomplete 76 connections */ 77 short so_qlimit; /* max number queued connections */ 78 short so_timeo; /* connection timeout */ 79 u_short so_error; /* error affecting connection */ |
80 pid_t so_pgid; /* pgid for signals */ | 80 struct sigio *so_sigio; /* information for SIGIO/SIGURG */ |
81 u_long so_oobmark; /* chars to oob mark */ 82/* 83 * Variables for socket buffering. 84 */ 85 struct sockbuf { 86 u_long sb_cc; /* actual chars in buffer */ 87 u_long sb_hiwat; /* max actual char count */ 88 u_long sb_mbcnt; /* chars of mbufs used */ --- 276 unchanged lines hidden --- | 81 u_long so_oobmark; /* chars to oob mark */ 82/* 83 * Variables for socket buffering. 84 */ 85 struct sockbuf { 86 u_long sb_cc; /* actual chars in buffer */ 87 u_long sb_hiwat; /* max actual char count */ 88 u_long sb_mbcnt; /* chars of mbufs used */ --- 276 unchanged lines hidden --- |