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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pcap.h

?? Windows XP下的抓包程序?qū)崿F(xiàn)
?? H
字號:
/* -*- Mode: c; tab-width: 8; indent-tabs-mode: 1; c-basic-offset: 8; -*- */
/*
 * Copyright (c) 1993, 1994, 1995, 1996, 1997
 *	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 Computer Systems
 *	Engineering Group at Lawrence Berkeley Laboratory.
 * 4. Neither the name of the University nor of the Laboratory 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.
 *
 * @(#) $Header: /usr/cvsroot_private/winpcap/dox/libpcap/incs/pcap.h,v 1.5 2005/11/30 21:48:23 gianlucav Exp $ (LBL)
 */


/** @defgroup wpcap_def Definitions
 *  @ingroup wpcap
 *  Definitions for wpcap.dll
 *  @{
 */

#ifndef lib_pcap_h
#define lib_pcap_h

#include <pcap-stdinc.h>
#include <net/bpf.h>

#include <stdio.h>

#ifdef __cplusplus
extern "C" {
#endif

#define PCAP_VERSION_MAJOR 2 ///< Major libpcap dump file version. 
#define PCAP_VERSION_MINOR 4 ///< Minor libpcap dump file version. 

#define PCAP_ERRBUF_SIZE 256 ///< Size to use when allocating the buffer that contains the libpcap errors.

/*!
 * Compatibility for systems that have a bpf.h that
 * predates the bpf typedefs for 64-bit support.
 */
#if BPF_RELEASE - 0 < 199406
typedef	int bpf_int32; ///< 32-bit integer
typedef	u_int bpf_u_int32; ///< 32-bit unsigned integer
#endif

typedef struct pcap pcap_t; ///< Descriptor of an open capture instance. This structure is \b opaque to the user, that handles its content through the functions provided by wpcap.dll.
typedef struct pcap_dumper pcap_dumper_t; ///< libpcap savefile descriptor.
typedef struct pcap_if pcap_if_t; ///< Item in a list of interfaces, see pcap_if
typedef struct pcap_addr pcap_addr_t; ///< Representation of an interface address, see pcap_addr

/*! \brief Header of a libpcap dump file.
 *
 * The first record in the file contains saved values for some
 * of the flags used in the printout phases of tcpdump.
 * Many fields here are 32 bit ints so compilers won't insert unwanted
 * padding; these files need to be interchangeable across architectures.
 *
 * Do not change the layout of this structure, in any way (this includes
 * changes that only affect the length of fields in this structure).
 *
 * Also, do not change the interpretation of any of the members of this
 * structure, in any way (this includes using values other than
 * LINKTYPE_ values, as defined in "savefile.c", in the "linktype"
 * field).
 *
 * Instead:
 *
 *	introduce a new structure for the new format, if the layout
 *	of the structure changed;
 *
 *	send mail to "tcpdump-workers@tcpdump.org", requesting a new
 *	magic number for your new capture file format, and, when
 *	you get the new magic number, put it in "savefile.c";
 *
 *	use that magic number for save files with the changed file
 *	header;
 *
 *	make the code in "savefile.c" capable of reading files with
 *	the old file header as well as files with the new file header
 *	(using the magic number to determine the header format).
 *
 * Then supply the changes to "patches@tcpdump.org", so that future
 * versions of libpcap and programs that use it (such as tcpdump) will
 * be able to read your new capture file format.
 */
struct pcap_file_header {
	bpf_u_int32 magic;
	u_short version_major; ///< Libpcap major version.  
	u_short version_minor; ///< Libpcap minor version. 
	bpf_int32 thiszone;	///< gmt to local correction
	bpf_u_int32 sigfigs;	///< accuracy of timestamps
	bpf_u_int32 snaplen;	///< max length saved portion of each pkt
	bpf_u_int32 linktype;	///< data link type (LINKTYPE_*)
};

/*! \brief Header of a packet in the dump file.
 *
 * Each packet in the dump file is prepended with this generic header.
 * This gets around the problem of different headers for different
 * packet interfaces.
 */
struct pcap_pkthdr {
	struct timeval ts;	///< time stamp
	bpf_u_int32 caplen;	///< length of portion present
	bpf_u_int32 len;	///< length this packet (off wire)
};

/*! \brief Structure that keeps statistical values on an interface.
 *
 * As returned by the pcap_stats()
 */
struct pcap_stat {
	u_int ps_recv;		///< number of packets transited on the network
	u_int ps_drop;		///< number of packets dropped by the driver
	u_int ps_ifdrop;	///< drops by interface, not yet supported
#ifdef WIN32
	u_int bs_capt;		///< <b>Win32 specific.</b> number of packets captured, i.e number of packets that are accepted by the filter, that find place in the kernel buffer and therefore that actually reach the application. For backward compatibility, pcap_stats() does not fill this member, so use pcap_stats_ex() to get it.
#endif /* WIN32 */
};

/*! \brief
 * Item in a list of interfaces, used by pcap_findalldevs().
 */
struct pcap_if {
	struct pcap_if *next; ///< if not NULL, a pointer to the next element in the list; NULL for the last element of the list
	char *name;		///< a pointer to a string giving a name for the device to pass to pcap_open_live()
	char *description;	///< if not NULL, a pointer to a string giving a human-readable description of the device
	struct pcap_addr *addresses; ///< a pointer to the first element of a list of addresses for the interface
	u_int flags;		///< PCAP_IF_ interface flags. Currently the only possible flag is \b PCAP_IF_LOOPBACK, that is set if the interface is a loopback interface.
};

#define PCAP_IF_LOOPBACK	0x00000001	///< interface is loopback

/*! \brief
 * Representation of an interface address, used by pcap_findalldevs().
 */
struct pcap_addr {
	struct pcap_addr *next; ///<  if not NULL, a pointer to the next element in the list; NULL for the last element of the list
	struct sockaddr *addr;		///< a pointer to a struct sockaddr containing an address
	struct sockaddr *netmask;	///< if not NULL, a pointer to a struct sockaddr that contains the netmask corresponding to the address pointed to by addr.
	struct sockaddr *broadaddr;	///< if not NULL, a pointer to a struct sockaddr that contains the broadcast address corre

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲乱码国产乱码精品精可以看| 激情综合网最新| 毛片av一区二区| 暴力调教一区二区三区| 在线电影一区二区三区| 最好看的中文字幕久久| 麻豆视频一区二区| 欧美少妇性性性| 国产精品毛片a∨一区二区三区| 麻豆成人免费电影| 欧美日韩国产片| 一区二区三区久久| 波多野结衣中文字幕一区二区三区 | 成人精品在线视频观看| 日韩欧美美女一区二区三区| 亚洲一区二区av电影| bt7086福利一区国产| 国产网站一区二区三区| 看片的网站亚洲| 在线综合+亚洲+欧美中文字幕| 一区二区三区欧美在线观看| 99久久夜色精品国产网站| 久久精品视频免费| 国产一区二三区| 精品日韩一区二区| 精品一区二区在线播放| 日韩精品一区二区三区视频播放| 日韩精品一级中文字幕精品视频免费观看 | 日韩欧美一区二区视频| 亚洲成人精品在线观看| 欧美视频在线一区| 亚洲亚洲精品在线观看| 欧美三日本三级三级在线播放| 亚洲一区二区在线观看视频| 91高清视频免费看| 一区二区国产视频| 欧美日韩国产首页| 日本午夜一区二区| 欧美成人三级在线| 国产传媒久久文化传媒| 亚洲精品在线免费观看视频| 久久99精品国产.久久久久久 | 777亚洲妇女| 日韩影视精彩在线| 欧美tk—视频vk| 国产一区二区福利视频| 欧美国产一区视频在线观看| av一区二区三区在线| 亚洲精品成人a在线观看| 日本高清成人免费播放| 视频一区二区三区在线| 日韩美女主播在线视频一区二区三区| 韩国av一区二区三区| 国产精品污网站| 欧美亚洲国产一区二区三区va | 91丨九色porny丨蝌蚪| 亚洲免费观看视频| 欧美日韩一区视频| 精东粉嫩av免费一区二区三区| 国产精品免费视频观看| 欧美日韩一本到| 另类欧美日韩国产在线| 亚洲日本va午夜在线影院| 欧美日韩国产一区二区三区地区| 精品一区二区三区在线视频| 中文字幕一区二区三区在线观看 | 奇米在线7777在线精品| 国产亚洲精品超碰| 日本韩国视频一区二区| 国产一区二区精品久久| 亚洲国产裸拍裸体视频在线观看乱了| 精品久久久久久久久久久院品网 | 亚洲高清视频在线| 久久蜜桃一区二区| 欧美性xxxxxxxx| 成人精品电影在线观看| 五月婷婷综合网| 国产精品毛片久久久久久久| 日韩精品一区二区三区swag| 99久久国产免费看| 国产伦精一区二区三区| 亚洲香蕉伊在人在线观| 中文一区二区在线观看| 日韩色视频在线观看| 欧美少妇性性性| 99在线精品免费| 狠狠色丁香久久婷婷综合丁香| 亚洲一区在线观看免费| 亚洲色图一区二区三区| 2022国产精品视频| 欧美日韩国产区一| 91蝌蚪porny| 粉嫩一区二区三区在线看| 午夜成人免费电影| 亚洲午夜精品17c| 亚洲欧洲一区二区在线播放| 欧美精品一区视频| 欧美r级在线观看| 911精品产国品一二三产区| 91精品1区2区| 91浏览器打开| 色综合天天做天天爱| www.一区二区| 国产69精品久久777的优势| 精品一区二区在线免费观看| 麻豆免费看一区二区三区| 亚洲bdsm女犯bdsm网站| 亚洲国产欧美日韩另类综合| 日韩综合小视频| 性做久久久久久免费观看欧美| 亚洲国产美国国产综合一区二区| 亚洲综合视频在线| 亚洲一区二区五区| 亚洲成人免费视| 亚洲成精国产精品女| 一个色在线综合| 亚洲www啪成人一区二区麻豆| 亚洲国产精品久久久久婷婷884| 一区二区在线观看视频在线观看| 国产精品成人免费| 亚洲美女在线国产| 亚洲成av人片www| 日本怡春院一区二区| 激情五月激情综合网| 国产盗摄一区二区| 成人av影视在线观看| 91蜜桃网址入口| 欧美色网站导航| 日韩一区二区高清| 久久久国产一区二区三区四区小说| 国产亚洲一区二区三区四区| 中文字幕一区视频| 亚洲自拍欧美精品| 美国欧美日韩国产在线播放| 国产美女一区二区| 91丨porny丨中文| 91麻豆精品国产91久久久久久久久| 日韩你懂的在线播放| 亚洲国产精品高清| 亚洲精品福利视频网站| 奇米四色…亚洲| 高清在线成人网| 欧洲一区二区三区在线| 欧美电视剧在线看免费| 综合欧美亚洲日本| 免费在线视频一区| 成人久久视频在线观看| 欧美日韩二区三区| 国产午夜一区二区三区| 亚洲一区二区视频在线观看| 久久99热狠狠色一区二区| 9l国产精品久久久久麻豆| 91精品国产综合久久精品app | 成人av影院在线| 欧美日韩一二区| 国产精品网曝门| 日本va欧美va瓶| 91麻豆国产福利在线观看| 欧美大肚乱孕交hd孕妇| 亚洲精品乱码久久久久久| 美女国产一区二区三区| 日本乱码高清不卡字幕| 久久久午夜精品理论片中文字幕| 亚洲精品福利视频网站| 岛国精品一区二区| 91精品国产色综合久久ai换脸 | 色婷婷精品久久二区二区蜜臂av| 欧美女孩性生活视频| 国产精品色一区二区三区| 日韩综合一区二区| 在线亚洲精品福利网址导航| 国产欧美视频一区二区| 蜜臀av国产精品久久久久| 91国产免费观看| 国产精品久99| 成人自拍视频在线观看| 欧美mv和日韩mv国产网站| 日本欧美在线观看| 欧美日韩卡一卡二| 亚洲精选在线视频| 91在线精品一区二区| 国产欧美精品一区二区色综合朱莉| 首页欧美精品中文字幕| 欧美系列在线观看| 亚洲精品视频在线| 成a人片亚洲日本久久| 日本一区二区成人| 国产一区在线视频| 日韩精品一区二区三区三区免费| 久久超碰97人人做人人爱| 在线观看日韩高清av| 亚洲一区二区三区在线播放| 91麻豆免费看| 一级做a爱片久久| 在线观看日韩毛片| 亚洲二区在线观看| 欧美日韩成人综合天天影院 | 成人午夜碰碰视频| 中文字幕av一区二区三区高| 成人av网址在线观看|