亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? socket.h

?? ecos下的gui開發源代碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
//==========================================================================
//
//      include/sys/socket.h
//
//==========================================================================
//####BSDCOPYRIGHTBEGIN####
//
// -------------------------------------------
//
// Portions of this software may have been derived from OpenBSD, 
// FreeBSD or other sources, and are covered by the appropriate
// copyright disclaimers included herein.
//
// Portions created by Red Hat are
// Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
//
// -------------------------------------------
//
//####BSDCOPYRIGHTEND####
//==========================================================================

/*
 * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
 *	The Regents of the University of California.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *	This product includes software developed by the University of
 *	California, Berkeley and its contributors.
 * 4. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 *	@(#)socket.h	8.4 (Berkeley) 2/21/94
 * $FreeBSD: src/sys/sys/socket.h,v 1.39.2.7 2001/07/03 11:02:01 ume Exp $
 */

#ifndef _SYS_SOCKET_H_
#define	_SYS_SOCKET_H_

/*
 * Definitions related to sockets: types, address families, options.
 */

/*
 * Data types.
 */
#include <sys/types.h>
 
/*
 * Types
 */
#define	SOCK_STREAM	1		/* stream socket */
#define	SOCK_DGRAM	2		/* datagram socket */
#define	SOCK_RAW	3		/* raw-protocol interface */
#define	SOCK_RDM	4		/* reliably-delivered message */
#define	SOCK_SEQPACKET	5		/* sequenced packet stream */

/*
 * Option flags per-socket.
 */
#define	SO_DEBUG	0x0001		/* turn on debugging info recording */
#define	SO_ACCEPTCONN	0x0002		/* socket has had listen() */
#define	SO_REUSEADDR	0x0004		/* allow local address reuse */
#define	SO_KEEPALIVE	0x0008		/* keep connections alive */
#define	SO_DONTROUTE	0x0010		/* just use interface addresses */
#define	SO_BROADCAST	0x0020		/* permit sending of broadcast msgs */
#define	SO_USELOOPBACK	0x0040		/* bypass hardware when possible */
#define	SO_LINGER	0x0080		/* linger on close if data present */
#define	SO_OOBINLINE	0x0100		/* leave received OOB data in line */
#define	SO_REUSEPORT	0x0200		/* allow local address & port reuse */
#define	SO_TIMESTAMP	0x0400		/* timestamp received dgram traffic */
#define	SO_ACCEPTFILTER	0x1000		/* there is an accept filter */

/*
 * Additional options, not kept in so_options.
 */
#define SO_SNDBUF	0x1001		/* send buffer size */
#define SO_RCVBUF	0x1002		/* receive buffer size */
#define SO_SNDLOWAT	0x1003		/* send low-water mark */
#define SO_RCVLOWAT	0x1004		/* receive low-water mark */
#define SO_SNDTIMEO	0x1005		/* send timeout */
#define SO_RCVTIMEO	0x1006		/* receive timeout */
#define	SO_ERROR	0x1007		/* get error status and clear */
#define	SO_TYPE		0x1008		/* get socket type */
/*efine	SO_PRIVSTATE	0x1009		   get/deny privileged state */

/*
 * Structure used for manipulating linger option.
 */
struct	linger {
	int	l_onoff;		/* option on/off */
	int	l_linger;		/* linger time */
};

struct	accept_filter_arg {
	char	af_name[16];
	char	af_arg[256-16];
};

/*
 * Level number for (get/set)sockopt() to apply to socket itself.
 */
#define	SOL_SOCKET	0xffff		/* options for socket level */

/*
 * Address families.
 */
#define	AF_UNSPEC	0		/* unspecified */
#define	AF_LOCAL	1		/* local to host (pipes, portals) */
#define	AF_UNIX		AF_LOCAL	/* backward compatibility */
#define	AF_INET		2		/* internetwork: UDP, TCP, etc. */
#define	AF_IMPLINK	3		/* arpanet imp addresses */
#define	AF_PUP		4		/* pup protocols: e.g. BSP */
#define	AF_CHAOS	5		/* mit CHAOS protocols */
#define	AF_NS		6		/* XEROX NS protocols */
#define	AF_ISO		7		/* ISO protocols */
#define	AF_OSI		AF_ISO
#define	AF_ECMA		8		/* European computer manufacturers */
#define	AF_DATAKIT	9		/* datakit protocols */
#define	AF_CCITT	10		/* CCITT protocols, X.25 etc */
#define	AF_SNA		11		/* IBM SNA */
#define AF_DECnet	12		/* DECnet */
#define AF_DLI		13		/* DEC Direct data link interface */
#define AF_LAT		14		/* LAT */
#define	AF_HYLINK	15		/* NSC Hyperchannel */
#define	AF_APPLETALK	16		/* Apple Talk */
#define	AF_ROUTE	17		/* Internal Routing Protocol */
#define	AF_LINK		18		/* Link layer interface */
#define	pseudo_AF_XTP	19		/* eXpress Transfer Protocol (no AF) */
#define	AF_COIP		20		/* connection-oriented IP, aka ST II */
#define	AF_CNT		21		/* Computer Network Technology */
#define pseudo_AF_RTIP	22		/* Help Identify RTIP packets */
#define	AF_IPX		23		/* Novell Internet Protocol */
#define	AF_SIP		24		/* Simple Internet Protocol */
#define	pseudo_AF_PIP	25		/* Help Identify PIP packets */
#define	AF_ISDN		26		/* Integrated Services Digital Network*/
#define	AF_E164		AF_ISDN		/* CCITT E.164 recommendation */
#define	pseudo_AF_KEY	27		/* Internal key-management function */
#define	AF_INET6	28		/* IPv6 */
#define	AF_NATM		29		/* native ATM access */
#define	AF_ATM		30		/* ATM */
#define pseudo_AF_HDRCMPLT 31		/* Used by BPF to not rewrite headers
					 * in interface output routine
					 */
#define	AF_NETGRAPH	32		/* Netgraph sockets */

#define	AF_MAX		33

/*
 * Structure used by kernel to store most
 * addresses.
 */
struct sockaddr {
	u_char		sa_len;		/* total length */
	sa_family_t	sa_family;	/* address family */
	char		sa_data[30];	/* actually longer; address value */
};
#define	SOCK_MAXADDRLEN	255		/* longest possible addresses */

/*
 * Structure used by kernel to pass protocol
 * information in raw sockets.
 */
struct sockproto {
	u_short	sp_family;		/* address family */
	u_short	sp_protocol;		/* protocol */
};

/*
 * RFC 2553: protocol-independent placeholder for socket addresses
 */
#define	_SS_MAXSIZE	128
#define	_SS_ALIGNSIZE	(sizeof(int64_t))
#define	_SS_PAD1SIZE	(_SS_ALIGNSIZE - sizeof(u_char) - sizeof(sa_family_t))
#define	_SS_PAD2SIZE	(_SS_MAXSIZE - sizeof(u_char) - sizeof(sa_family_t) - \
				_SS_PAD1SIZE - _SS_ALIGNSIZE)

struct sockaddr_storage {
	u_char		ss_len;		/* address length */
	sa_family_t	ss_family;	/* address family */
	char		__ss_pad1[_SS_PAD1SIZE];
	int64_t		__ss_align;	/* force desired structure storage alignment */
	char		__ss_pad2[_SS_PAD2SIZE];
};

/*
 * Protocol families, same as address families for now.
 */
#define	PF_UNSPEC	AF_UNSPEC
#define	PF_LOCAL	AF_LOCAL
#define	PF_UNIX		PF_LOCAL	/* backward compatibility */
#define	PF_INET		AF_INET
#define	PF_IMPLINK	AF_IMPLINK
#define	PF_PUP		AF_PUP
#define	PF_CHAOS	AF_CHAOS
#define	PF_NS		AF_NS
#define	PF_ISO		AF_ISO
#define	PF_OSI		AF_ISO
#define	PF_ECMA		AF_ECMA
#define	PF_DATAKIT	AF_DATAKIT
#define	PF_CCITT	AF_CCITT
#define	PF_SNA		AF_SNA
#define PF_DECnet	AF_DECnet
#define PF_DLI		AF_DLI
#define PF_LAT		AF_LAT
#define	PF_HYLINK	AF_HYLINK
#define	PF_APPLETALK	AF_APPLETALK
#define	PF_ROUTE	AF_ROUTE
#define	PF_LINK		AF_LINK
#define	PF_XTP		pseudo_AF_XTP	/* really just proto family, no AF */
#define	PF_COIP		AF_COIP
#define	PF_CNT		AF_CNT
#define	PF_SIP		AF_SIP
#define	PF_IPX		AF_IPX		/* same format as AF_NS */
#define PF_RTIP		pseudo_AF_RTIP	/* same format as AF_INET */
#define PF_PIP		pseudo_AF_PIP
#define	PF_ISDN		AF_ISDN
#define	PF_KEY		pseudo_AF_KEY
#define	PF_INET6	AF_INET6
#define	PF_NATM		AF_NATM

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区在线看| 色综合咪咪久久| 日本欧美一区二区三区乱码| 亚洲精品少妇30p| 一区二区三区在线视频免费| 最新中文字幕一区二区三区| 综合精品久久久| 亚洲最新视频在线播放| 一区二区三区免费在线观看| 亚洲激情图片一区| 亚洲成a天堂v人片| 美女在线观看视频一区二区| 蜜臀av一区二区| 国产久卡久卡久卡久卡视频精品| 久久成人久久爱| 国产盗摄一区二区三区| 成人免费观看av| 不卡av电影在线播放| 色综合久久66| 欧美日韩国产欧美日美国产精品| 制服丝袜亚洲网站| 久久久电影一区二区三区| 国产日韩精品一区| 亚洲精选一二三| 肉色丝袜一区二区| 精品一区中文字幕| 成人涩涩免费视频| 欧美日韩国产精品自在自线| 91精品国产综合久久久久久漫画| 精品国产一区二区国模嫣然| 中文字幕免费不卡| 舔着乳尖日韩一区| 国产.欧美.日韩| 欧美日韩精品电影| www日韩大片| 亚洲精品v日韩精品| 视频一区在线播放| 99热在这里有精品免费| 欧美日韩精品欧美日韩精品一综合| 欧美成人国产一区二区| 亚洲丝袜精品丝袜在线| 久久av资源网| 在线观看亚洲a| 久久午夜免费电影| 首页综合国产亚洲丝袜| 成人精品视频.| 日韩一区二区电影网| 国产精品色一区二区三区| 日韩av电影免费观看高清完整版 | 日日夜夜免费精品| 成人97人人超碰人人99| 7777精品伊人久久久大香线蕉| 日本一区二区三区高清不卡| 天涯成人国产亚洲精品一区av| 成人av网站在线观看免费| 日韩一区二区三区在线视频| 亚洲免费观看高清| 成人高清免费观看| 久久一区二区视频| 麻豆精品视频在线| 欧美精品在欧美一区二区少妇| 中文字幕成人av| 狠狠狠色丁香婷婷综合激情| 欧美日韩一级片在线观看| 亚洲欧洲综合另类| 成人黄色网址在线观看| 国产色产综合产在线视频| 美女网站视频久久| 欧美一区二区三区喷汁尤物| 亚洲成人av中文| 欧美专区在线观看一区| 亚洲乱码一区二区三区在线观看| 成人av在线网站| 国产精品高潮久久久久无| 床上的激情91.| 国产精品丝袜黑色高跟| 成人精品一区二区三区中文字幕| ww亚洲ww在线观看国产| 国产精品伊人色| 国产亚洲欧美日韩在线一区| 国产乱人伦偷精品视频免下载| 久久奇米777| 成人国产精品免费观看| 国产精品久久久爽爽爽麻豆色哟哟| 国产成人综合在线播放| 国产亚洲精品超碰| 99精品视频在线免费观看| 中文字幕亚洲欧美在线不卡| 色综合久久天天综合网| 一区二区三区在线视频观看58| 欧洲一区在线电影| 免费在线观看成人| 久久精品欧美日韩精品| caoporen国产精品视频| 亚洲综合视频网| 3atv一区二区三区| 国产成a人亚洲精品| 国产精品不卡视频| 在线播放视频一区| 国内精品免费在线观看| 国产精品毛片大码女人| 一本大道av一区二区在线播放| 五月综合激情网| 欧美精品一区二区三区一线天视频| 国产99久久久精品| 亚洲麻豆国产自偷在线| 欧美一区二区免费视频| 欧美亚洲一区二区在线观看| 日韩在线观看一区二区| 国产网站一区二区三区| 在线看一区二区| 狠狠狠色丁香婷婷综合激情| 樱花影视一区二区| 26uuu国产电影一区二区| 色婷婷久久久久swag精品| 久久精品国产亚洲aⅴ| 国产精品乱人伦中文| 7777女厕盗摄久久久| 91免费版在线看| 国内久久精品视频| 偷拍日韩校园综合在线| 亚洲国产高清不卡| 欧美成人a在线| 欧美午夜精品一区二区三区| 国内外成人在线| 日产精品久久久久久久性色| 中文字幕制服丝袜成人av| 精品国产髙清在线看国产毛片| 日本韩国精品一区二区在线观看| 韩国欧美国产1区| 午夜精品一区在线观看| 亚洲人成精品久久久久久 | 国产成人在线免费| 无码av免费一区二区三区试看| 国产精品素人一区二区| 精品国产凹凸成av人网站| 欧美色图片你懂的| 91色九色蝌蚪| av不卡在线播放| 国产99精品视频| 国产黄人亚洲片| 国产一区二区h| 久久99久久精品| 日本不卡中文字幕| 日韩成人午夜精品| 天天免费综合色| 亚洲成av人片| 亚洲成av人片在线观看| 亚洲一区电影777| 亚洲一区二区三区四区在线免费观看 | 国产精品亚洲成人| 精品一区二区三区视频| 乱一区二区av| 激情综合网最新| 黄网站免费久久| 国产在线观看免费一区| 国产一区激情在线| 国产91丝袜在线观看| 国产成人在线观看| 成人av综合一区| 色香色香欲天天天影视综合网| 成年人国产精品| 色偷偷一区二区三区| 欧美四级电影在线观看| 欧美精品乱人伦久久久久久| 6080国产精品一区二区| 日韩精品最新网址| 国产清纯白嫩初高生在线观看91 | 久久超级碰视频| 国产在线精品一区二区| 韩国三级电影一区二区| 大桥未久av一区二区三区中文| av亚洲精华国产精华| 色综合天天综合网天天看片| 欧美天堂亚洲电影院在线播放| 91精品麻豆日日躁夜夜躁| 欧美精品一区男女天堂| 日韩一区中文字幕| 五月婷婷综合在线| 国产精品一二三四五| 色综合天天综合网国产成人综合天| 在线观看一区二区视频| 日韩一区二区高清| 中文字幕一区二区三区四区不卡| 亚洲一区日韩精品中文字幕| 麻豆91免费看| proumb性欧美在线观看| 欧美美女视频在线观看| 国产日本欧美一区二区| 婷婷一区二区三区| 国产成人久久精品77777最新版本| 91免费视频观看| 欧美v国产在线一区二区三区| 国产精品久久久久久亚洲毛片| 五月激情综合色| 成人18视频日本| 精品美女一区二区| 亚洲成人在线免费| 暴力调教一区二区三区| 日韩欧美国产高清|