Deleted Added
full compact
socketvar.h (131006) socketvar.h (131017)
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

--- 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 * @(#)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

--- 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 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95
30 * $FreeBSD: head/sys/sys/socketvar.h 131006 2004-06-24 01:37:04Z rwatson $
30 * $FreeBSD: head/sys/sys/socketvar.h 131017 2004-06-24 02:57:12Z rwatson $
31 */
32
33#ifndef _SYS_SOCKETVAR_H_
34#define _SYS_SOCKETVAR_H_
35
36#include <sys/queue.h> /* for TAILQ macros */
37#include <sys/selinfo.h> /* for struct selinfo */
38#include <sys/_lock.h>

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

83 short so_qlen; /* (e) number of unaccepted connections */
84 short so_incqlen; /* (e) number of unaccepted incomplete
85 connections */
86 short so_qlimit; /* (e) max number queued connections */
87 short so_timeo; /* (g) connection timeout */
88 u_short so_error; /* error affecting connection */
89 struct sigio *so_sigio; /* [sg] information for async I/O or
90 out of band data (SIGURG) */
31 */
32
33#ifndef _SYS_SOCKETVAR_H_
34#define _SYS_SOCKETVAR_H_
35
36#include <sys/queue.h> /* for TAILQ macros */
37#include <sys/selinfo.h> /* for struct selinfo */
38#include <sys/_lock.h>

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

83 short so_qlen; /* (e) number of unaccepted connections */
84 short so_incqlen; /* (e) number of unaccepted incomplete
85 connections */
86 short so_qlimit; /* (e) max number queued connections */
87 short so_timeo; /* (g) connection timeout */
88 u_short so_error; /* error affecting connection */
89 struct sigio *so_sigio; /* [sg] information for async I/O or
90 out of band data (SIGURG) */
91 u_long so_oobmark; /* chars to oob mark */
91 u_long so_oobmark; /* (c) chars to oob mark */
92 TAILQ_HEAD(, aiocblist) so_aiojobq; /* AIO ops waiting on socket */
93/*
94 * Variables for socket buffering.
95 */
96 struct sockbuf {
97 struct selinfo sb_sel; /* process selecting read/write */
98 struct mtx sb_mtx; /* sockbuf lock */
99#define sb_startzero sb_mb

--- 450 unchanged lines hidden ---
92 TAILQ_HEAD(, aiocblist) so_aiojobq; /* AIO ops waiting on socket */
93/*
94 * Variables for socket buffering.
95 */
96 struct sockbuf {
97 struct selinfo sb_sel; /* process selecting read/write */
98 struct mtx sb_mtx; /* sockbuf lock */
99#define sb_startzero sb_mb

--- 450 unchanged lines hidden ---