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

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

?? pcap-c++.h

?? IP協(xié)議分析工具ipdog開源代碼 好東西
?? H
字號:
/*
 * Copyright (c) 1999, 2000
 *	Politecnico di Torino.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that: (1) source code distributions
 * retain the above copyright notice and this paragraph in its entirety, (2)
 * distributions including binary code include the above copyright notice and
 * this paragraph in its entirety in the documentation or other materials
 * provided with the distribution, and (3) all advertising materials mentioning
 * features or use of this software display the following acknowledgement:
 * ``This product includes software developed by the Politecnico
 * di Torino, and its contributors.'' 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 ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 *
 *
 * Portions Copyright (c) 1988, 1989, 1990, 1991, 1992, 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: (1) source code distributions
 * retain the above copyright notice and this paragraph in its entirety, (2)
 * distributions including binary code include the above copyright notice and
 * this paragraph in its entirety in the documentation or other materials
 * provided with the distribution, and (3) all advertising materials mentioning
 * features or use of this software display the following acknowledgement:
 * ``This product includes software developed by the University of California,
 * Lawrence Berkeley Laboratory and its contributors.'' 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 ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 *
 * @(#) $Header: /tcpdump/master/libpcap/pcap-c++.h,v 1.22 2000/4/13 04:54:03 mcr Exp $ (LBL)
 *
*/

#ifndef lib_pcap_h
#define lib_pcap_h

#include <sys/types.h>
#include <sys/timeb.h>
//#include <time.h>

#include <net/bpf.h>

#include <stdio.h>

#define PCAP_VERSION_MAJOR 2
#define PCAP_VERSION_MINOR 4

#define PCAP_ERRBUF_SIZE 256

/*
 * 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;
typedef	u_int bpf_u_int32;
#endif

typedef struct pcap pcap_t;
typedef struct pcap_dumper pcap_dumper_t;

/*
 * 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.
 */
struct pcap_file_header {
	bpf_u_int32 magic;
	u_short version_major;
	u_short version_minor;
	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 (DLT_*) */
};

/*
 * 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) */
};

/*
 * As returned by the pcap_stats()
 */
struct pcap_stat {
	u_int ps_recv;		/* number of packets received */
	u_int ps_drop;		/* number of packets dropped */
	u_int ps_ifdrop;	/* drops by interface XXX not yet supported */
};

typedef void (*pcap_handler)(u_char *, const struct pcap_pkthdr *,
			     const u_char *);

/*
 * working modes
 */
#define MODE_CAPT 0
#define MODE_STAT 1


extern "C" int pcap_setmode(pcap_t *p, int mode, int interval);
extern "C" int pcap_setbuff(pcap_t *p, int dim);
extern "C" char* pcap_lookupdev(char *);
extern "C" int	pcap_lookupnet(char *, bpf_u_int32 *, bpf_u_int32 *, char *);
extern "C" pcap_t	*pcap_open_live(char *, int, int, int, char *);
extern "C" pcap_t	*pcap_open_offline(const char *, char *);
extern "C" void	pcap_close(pcap_t *);
extern "C" int	pcap_loop(pcap_t *, int, pcap_handler, u_char *);
extern "C" int	pcap_dispatch(pcap_t *, int, pcap_handler, u_char *);
extern "C" const u_char*
pcap_next(pcap_t *, struct pcap_pkthdr *);
extern "C" int	pcap_stats(pcap_t *, struct pcap_stat *);
extern "C" int	pcap_setfilter(pcap_t *, struct bpf_program *);
extern "C" void	pcap_perror(pcap_t *, char *);
extern "C" char	*pcap_strerror(int);
extern "C" char	*pcap_geterr(pcap_t *);
extern "C" int	pcap_compile(pcap_t *, struct bpf_program *, char *, int,
	    bpf_u_int32);
/* XXX */
extern "C" int	pcap_freecode(pcap_t *, struct bpf_program *);
extern "C" int	pcap_datalink(pcap_t *);
extern "C" int	pcap_snapshot(pcap_t *);
extern "C" int	pcap_is_swapped(pcap_t *);
extern "C" int	pcap_major_version(pcap_t *);
extern "C" int	pcap_minor_version(pcap_t *);

/* XXX */
extern "C" FILE	*pcap_file(pcap_t *);
extern "C" int	pcap_fileno(pcap_t *);

extern "C" pcap_dumper_t *pcap_dump_open(pcap_t *, const char *);
extern "C" void	pcap_dump_close(pcap_dumper_t *);
extern "C" void	pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *);

/* XXX this guy lives in the bpf tree */
extern "C" u_int	bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
extern "C" char	*bpf_image(struct bpf_insn *, int);
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜羞羞片| 成人激情动漫在线观看| 激情文学综合丁香| 色偷偷久久一区二区三区| 日韩免费视频一区| 亚洲精品乱码久久久久久久久| 久久精品国产第一区二区三区| 中文字幕亚洲一区二区av在线| 香蕉av福利精品导航| 成人动漫av在线| 精品久久久久久久久久久久久久久| 伊人一区二区三区| 毛片一区二区三区| 久久久精品一品道一区| 五月婷婷激情综合| 在线观看视频一区二区| 国产精品国产精品国产专区不片| 日本不卡一区二区三区高清视频| 色婷婷av久久久久久久| 亚洲欧洲日本在线| 成人性生交大片| 国产欧美日韩中文久久| 亚洲午夜精品在线| 99久久精品国产精品久久| 欧美在线小视频| 欧美午夜精品久久久久久超碰| 日韩一区在线看| 成人精品在线视频观看| 国产亚洲福利社区一区| 激情丁香综合五月| 日韩欧美一二区| 久久激情综合网| 日韩一级在线观看| 日本免费新一区视频| 日韩欧美第一区| 国内精品国产三级国产a久久| 日韩欧美在线1卡| 日本va欧美va精品发布| 日韩一区二区免费在线电影 | 国产精品 欧美精品| 日韩女同互慰一区二区| 精品无人码麻豆乱码1区2区| 精品国产乱码久久久久久闺蜜| 久久 天天综合| 国产婷婷色一区二区三区四区| 国产福利电影一区二区三区| 国产精品入口麻豆九色| 91免费版在线| 亚洲成人三级小说| 日韩欧美国产综合| 国产成人午夜精品影院观看视频 | 国产精品一区二区久激情瑜伽| 精品国产露脸精彩对白 | 免费在线观看视频一区| 26uuu久久天堂性欧美| 国产美女视频91| 中文字幕一区av| 欧美精品精品一区| 风间由美一区二区三区在线观看| 成人av在线播放网址| 亚洲免费观看在线视频| 欧美精品色综合| 韩国中文字幕2020精品| 日本一区二区三区在线观看| 在线免费不卡视频| 久久电影网电视剧免费观看| 中文久久乱码一区二区| 欧美偷拍一区二区| 国产一区999| 亚洲精品国产a久久久久久| 欧美一二三在线| 成人毛片视频在线观看| 日韩av在线播放中文字幕| 中文字幕电影一区| 欧美电影一区二区| 国产99久久久久久免费看农村| 一区二区三区在线观看视频| 精品乱码亚洲一区二区不卡| 91视视频在线直接观看在线看网页在线看| 欧美日韩国产首页在线观看| 国产iv一区二区三区| 亚洲成a人片综合在线| 国产欧美日韩在线| 日韩一区二区三区四区| 日本道免费精品一区二区三区| 精品夜夜嗨av一区二区三区| 亚洲成人tv网| 综合欧美一区二区三区| 久久―日本道色综合久久| 欧美日韩大陆一区二区| 91麻豆视频网站| 国产成人8x视频一区二区| 老司机免费视频一区二区| 亚洲专区一二三| 国产精品电影一区二区| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 日韩av成人高清| 中文字幕一区在线| 国产亚洲欧美中文| 日韩精品在线一区二区| 欧美视频一区二| 91小视频在线免费看| 国产成人av一区二区三区在线观看| 日本欧美加勒比视频| 天天综合日日夜夜精品| 一区二区三区四区在线| 亚洲日穴在线视频| 1024国产精品| 国产精品久久久久三级| 欧美国产乱子伦| 国产日韩视频一区二区三区| 久久精品亚洲精品国产欧美| 精品不卡在线视频| 精品播放一区二区| 26uuu国产日韩综合| www亚洲一区| 久久精品欧美日韩| 国产日本亚洲高清| 精品国产一区a| 久久久精品天堂| 国产目拍亚洲精品99久久精品| 久久久www免费人成精品| 精品乱人伦小说| 国产女人18水真多18精品一级做| 国产婷婷一区二区| 亚洲视频免费在线观看| 亚洲综合在线免费观看| 亚洲色图清纯唯美| 亚洲天堂精品视频| 亚洲高清免费视频| 热久久一区二区| 精品午夜久久福利影院| 国产成人精品一区二| 成人av在线网| 欧美日韩国产中文| 日韩一级高清毛片| 日韩一区二区三区视频在线| 精品91自产拍在线观看一区| 久久精品视频一区二区三区| 国产精品日日摸夜夜摸av| 亚洲三级在线播放| 五月婷婷久久丁香| 狠狠色综合色综合网络| 不卡av在线免费观看| 91啪在线观看| 欧美妇女性影城| 粉嫩av一区二区三区在线播放 | 欧美成人乱码一区二区三区| 日韩午夜av一区| 国产欧美精品在线观看| 最新久久zyz资源站| 日韩欧美www| 欧美国产一区二区| 亚洲综合精品久久| 韩国精品在线观看| 色综合久久久网| 精品国内片67194| 亚洲视频一区二区在线| 老司机精品视频导航| 91麻豆蜜桃一区二区三区| 91精品在线麻豆| 中文字幕不卡在线观看| 免费在线看一区| 91黄色免费版| 日韩精品一区二区三区视频播放 | 成人综合婷婷国产精品久久蜜臀 | 精品黑人一区二区三区久久| 亚洲欧洲综合另类| 国产一区二区久久| 欧美日韩国产精品成人| 国产精品久久久爽爽爽麻豆色哟哟 | 国产日本一区二区| 日韩福利电影在线观看| 99久久国产免费看| 床上的激情91.| 欧美tk—视频vk| 午夜在线电影亚洲一区| eeuss影院一区二区三区| 日韩美女视频在线| 亚洲成人av福利| 91国产丝袜在线播放| 国产欧美一区二区三区网站 | 日韩欧美一区二区视频| 亚洲日本在线视频观看| 成人福利视频在线| 久久精品欧美日韩| 国产精品18久久久| 欧美一级片在线| 欧美人伦禁忌dvd放荡欲情| 亚洲激情自拍偷拍| 91在线视频在线| 国产精品私人影院| 成人不卡免费av| 日本一区二区三区视频视频| 黑人精品欧美一区二区蜜桃| 欧美成人精品二区三区99精品| 日本怡春院一区二区| 91精品国产综合久久精品app | 91久久精品一区二区二区| 国产精品久久福利|