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

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

?? pcap-bpf.h

?? “網絡安全技術實踐與代碼詳解”實例代碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
 * with different pseudo-headers.
 *
 * If ATM software returns a pseudo-header with VPI/VCI information
 * (and, ideally, packet type information, e.g. signalling, ILMI,
 * LANE, LLC-multiplexed traffic, etc.), it should not use
 * DLT_ATM_RFC1483, but should get a new DLT_ value, so tcpdump
 * and the like don't have to infer the presence or absence of a
 * pseudo-header and the form of the pseudo-header.
 */
#define DLT_SUNATM		123	/* Solaris+SunATM */

/* 
 * Reserved as per request from Kent Dahlgren <kent@praesum.com>
 * for private use.
 */
#define DLT_RIO                 124     /* RapidIO */
#define DLT_PCI_EXP             125     /* PCI Express */
#define DLT_AURORA              126     /* Xilinx Aurora link layer */

/*
 * Header for 802.11 plus a number of bits of link-layer information
 * including radio information, used by some recent BSD drivers as
 * well as the madwifi Atheros driver for Linux.
 */
#define DLT_IEEE802_11_RADIO	127	/* 802.11 plus radiotap radio header */

/*
 * Reserved for the TZSP encapsulation, as per request from
 * Chris Waters <chris.waters@networkchemistry.com>
 * TZSP is a generic encapsulation for any other link type,
 * which includes a means to include meta-information
 * with the packet, e.g. signal strength and channel
 * for 802.11 packets.
 */
#define DLT_TZSP                128     /* Tazmen Sniffer Protocol */

/*
 * BSD's ARCNET headers have the source host, destination host,
 * and type at the beginning of the packet; that's what's handed
 * up to userland via BPF.
 *
 * Linux's ARCNET headers, however, have a 2-byte offset field
 * between the host IDs and the type; that's what's handed up
 * to userland via PF_PACKET sockets.
 *
 * We therefore have to have separate DLT_ values for them.
 */
#define DLT_ARCNET_LINUX	129	/* ARCNET */

/*
 * Juniper-private data link types, as per request from
 * Hannes Gredler <hannes@juniper.net>.  The DLT_s are used
 * for passing on chassis-internal metainformation such as
 * QOS profiles, etc..
 */
#define DLT_JUNIPER_MLPPP       130
#define DLT_JUNIPER_MLFR        131
#define DLT_JUNIPER_ES          132
#define DLT_JUNIPER_GGSN        133
#define DLT_JUNIPER_MFR         134
#define DLT_JUNIPER_ATM2        135
#define DLT_JUNIPER_SERVICES    136
#define DLT_JUNIPER_ATM1        137

/*
 * Apple IP-over-IEEE 1394, as per a request from Dieter Siegmund
 * <dieter@apple.com>.  The header that's presented is an Ethernet-like
 * header:
 *
 *	#define FIREWIRE_EUI64_LEN	8
 *	struct firewire_header {
 *		u_char  firewire_dhost[FIREWIRE_EUI64_LEN];
 *		u_char  firewire_shost[FIREWIRE_EUI64_LEN];
 *		u_short firewire_type;
 *	};
 *
 * with "firewire_type" being an Ethernet type value, rather than,
 * for example, raw GASP frames being handed up.
 */
#define DLT_APPLE_IP_OVER_IEEE1394	138

/*
 * Various SS7 encapsulations, as per a request from Jeff Morriss
 * <jeff.morriss[AT]ulticom.com> and subsequent discussions.
 */
#define DLT_MTP2_WITH_PHDR	139	/* pseudo-header with various info, followed by MTP2 */
#define DLT_MTP2		140	/* MTP2, without pseudo-header */
#define DLT_MTP3		141	/* MTP3, without pseudo-header or MTP2 */
#define DLT_SCCP		142	/* SCCP, without pseudo-header or MTP2 or MTP3 */

/*
 * DOCSIS MAC frames.
 */
#define DLT_DOCSIS		143

/*
 * Linux-IrDA packets. Protocol defined at http://www.irda.org.
 * Those packets include IrLAP headers and above (IrLMP...), but
 * don't include Phy framing (SOF/EOF/CRC & byte stuffing), because Phy
 * framing can be handled by the hardware and depend on the bitrate.
 * This is exactly the format you would get capturing on a Linux-IrDA
 * interface (irdaX), but not on a raw serial port.
 * Note the capture is done in "Linux-cooked" mode, so each packet include
 * a fake packet header (struct sll_header). This is because IrDA packet
 * decoding is dependant on the direction of the packet (incomming or
 * outgoing).
 * When/if other platform implement IrDA capture, we may revisit the
 * issue and define a real DLT_IRDA...
 * Jean II
 */
#define DLT_LINUX_IRDA		144

/*
 * Reserved for IBM SP switch and IBM Next Federation switch.
 */
#define DLT_IBM_SP		145
#define DLT_IBM_SN		146

/*
 * Reserved for private use.  If you have some link-layer header type
 * that you want to use within your organization, with the capture files
 * using that link-layer header type not ever be sent outside your
 * organization, you can use these values.
 *
 * No libpcap release will use these for any purpose, nor will any
 * tcpdump release use them, either.
 *
 * Do *NOT* use these in capture files that you expect anybody not using
 * your private versions of capture-file-reading tools to read; in
 * particular, do *NOT* use them in products, otherwise you may find that
 * people won't be able to use tcpdump, or snort, or Ethereal, or... to
 * read capture files from your firewall/intrusion detection/traffic
 * monitoring/etc. appliance, or whatever product uses that DLT_ value,
 * and you may also find that the developers of those applications will
 * not accept patches to let them read those files.
 *
 * Also, do not use them if somebody might send you a capture using them
 * for *their* private type and tools using them for *your* private type
 * would have to read them.
 *
 * Instead, ask "tcpdump-workers@tcpdump.org" for a new DLT_ value,
 * as per the comment above, and use the type you're given.
 */
#define DLT_USER0		147
#define DLT_USER1		148
#define DLT_USER2		149
#define DLT_USER3		150
#define DLT_USER4		151
#define DLT_USER5		152
#define DLT_USER6		153
#define DLT_USER7		154
#define DLT_USER8		155
#define DLT_USER9		156
#define DLT_USER10		157
#define DLT_USER11		158
#define DLT_USER12		159
#define DLT_USER13		160
#define DLT_USER14		161
#define DLT_USER15		162

/*
 * For future use with 802.11 captures - defined by AbsoluteValue
 * Systems to store a number of bits of link-layer information
 * including radio information:
 *
 *	http://www.shaftnet.org/~pizza/software/capturefrm.txt
 *
 * but it might be used by some non-AVS drivers now or in the
 * future.
 */
#define DLT_IEEE802_11_RADIO_AVS 163	/* 802.11 plus AVS radio header */

/*
 * Juniper-private data link type, as per request from
 * Hannes Gredler <hannes@juniper.net>.  The DLT_s are used
 * for passing on chassis-internal metainformation such as
 * QOS profiles, etc..
 */
#define DLT_JUNIPER_MONITOR     164

/*
 * Reserved for BACnet MS/TP.
 */
#define DLT_BACNET_MS_TP	165

/*
 * Another PPP variant as per request from Karsten Keil <kkeil@suse.de>.
 *
 * This is used in some OSes to allow a kernel socket filter to distinguish
 * between incoming and outgoing packets, on a socket intended to
 * supply pppd with outgoing packets so it can do dial-on-demand and
 * hangup-on-lack-of-demand; incoming packets are filtered out so they
 * don't cause pppd to hold the connection up (you don't want random
 * input packets such as port scans, packets from old lost connections,
 * etc. to force the connection to stay up).
 *
 * The first byte of the PPP header (0xff03) is modified to accomodate
 * the direction - 0x00 = IN, 0x01 = OUT.
 */
#define DLT_PPP_PPPD		166

/*
 * Names for backwards compatibility with older versions of some PPP
 * software; new software should use DLT_PPP_PPPD.
 */
#define DLT_PPP_WITH_DIRECTION	DLT_PPP_PPPD
#define DLT_LINUX_PPP_WITHDIRECTION	DLT_PPP_PPPD

/*
 * Juniper-private data link type, as per request from
 * Hannes Gredler <hannes@juniper.net>.  The DLT_s are used
 * for passing on chassis-internal metainformation such as
 * QOS profiles, cookies, etc..
 */
#define DLT_JUNIPER_PPPOE       167
#define DLT_JUNIPER_PPPOE_ATM   168

#define DLT_GPRS_LLC		169	/* GPRS LLC */
#define DLT_GPF_T		170	/* GPF-T (ITU-T G.7041/Y.1303) */
#define DLT_GPF_F		171	/* GPF-F (ITU-T G.7041/Y.1303) */

/*
 * Requested by Oolan Zimmer <oz@gcom.com> for use in Gcom's T1/E1 line
 * monitoring equipment.
 */
#define DLT_GCOM_T1E1		172
#define DLT_GCOM_SERIAL		173

/*
 * Juniper-private data link type, as per request from
 * Hannes Gredler <hannes@juniper.net>.  The DLT_ is used
 * for internal communication to Physical Interface Cards (PIC)
 */
#define DLT_JUNIPER_PIC_PEER    174

/*
 * Link types requested by Gregor Maier <gregor@endace.com> of Endace
 * Measurement Systems.  They add an ERF header (see
 * http://www.endace.com/support/EndaceRecordFormat.pdf) in front of
 * the link-layer header.
 */
#define DLT_ERF_ETH		175	/* Ethernet */
#define DLT_ERF_POS		176	/* Packet-over-SONET */

/*
 * Requested by Daniele Orlandi <daniele@orlandi.com> for raw LAPD
 * for vISDN (http://www.orlandi.com/visdn/).  Its link-layer header
 * includes additional information before the LAPD header, so it's
 * not necessarily a generic LAPD header.
 */
#define DLT_LINUX_LAPD		177

/*
 * The instruction encodings.
 */
/* instruction classes */
#define BPF_CLASS(code) ((code) & 0x07)
#define		BPF_LD		0x00
#define		BPF_LDX		0x01
#define		BPF_ST		0x02
#define		BPF_STX		0x03
#define		BPF_ALU		0x04
#define		BPF_JMP		0x05
#define		BPF_RET		0x06
#define		BPF_MISC	0x07

/* ld/ldx fields */
#define BPF_SIZE(code)	((code) & 0x18)
#define		BPF_W		0x00
#define		BPF_H		0x08
#define		BPF_B		0x10
#define BPF_MODE(code)	((code) & 0xe0)
#define		BPF_IMM 	0x00
#define		BPF_ABS		0x20
#define		BPF_IND		0x40
#define		BPF_MEM		0x60
#define		BPF_LEN		0x80
#define		BPF_MSH		0xa0

/* alu/jmp fields */
#define BPF_OP(code)	((code) & 0xf0)
#define		BPF_ADD		0x00
#define		BPF_SUB		0x10
#define		BPF_MUL		0x20
#define		BPF_DIV		0x30
#define		BPF_OR		0x40
#define		BPF_AND		0x50
#define		BPF_LSH		0x60
#define		BPF_RSH		0x70
#define		BPF_NEG		0x80
#define		BPF_JA		0x00
#define		BPF_JEQ		0x10
#define		BPF_JGT		0x20
#define		BPF_JGE		0x30
#define		BPF_JSET	0x40
#define BPF_SRC(code)	((code) & 0x08)
#define		BPF_K		0x00
#define		BPF_X		0x08

/* ret - BPF_K and BPF_X also apply */
#define BPF_RVAL(code)	((code) & 0x18)
#define		BPF_A		0x10

/* misc */
#define BPF_MISCOP(code) ((code) & 0xf8)
#define		BPF_TAX		0x00
#define		BPF_TXA		0x80

/*
 * The instruction data structure.
 */
struct bpf_insn {
	u_short	code;
	u_char 	jt;
	u_char 	jf;
	bpf_int32 k;
};

/*
 * Macros for insn array initializers.
 */
#define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
#define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }

#if __STDC__ || defined(__cplusplus)
extern int bpf_validate(struct bpf_insn *, int);
extern u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
#else
extern int bpf_validate();
extern u_int bpf_filter();
#endif

/*
 * Number of scratch memory words (for BPF_LD|BPF_MEM and BPF_ST).
 */
#define BPF_MEMWORDS 16

#ifdef __cplusplus
}
#endif

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区四区在线播放 | 丁香激情综合国产| 日韩国产欧美在线播放| 性感美女久久精品| 亚洲电影视频在线| 日韩中文欧美在线| 蜜臀av一区二区在线观看| 亚洲国产另类av| 日本在线不卡视频一二三区| 亚洲午夜电影网| 午夜欧美一区二区三区在线播放| 亚洲成人黄色小说| 久久国产尿小便嘘嘘| 狠狠色伊人亚洲综合成人| 国产美女久久久久| 91在线视频网址| 欧美欧美欧美欧美首页| 91精品国产91久久综合桃花| 日韩一级完整毛片| 国产精品久久久久永久免费观看| 成人免费在线播放视频| 五月天激情综合| 国产在线麻豆精品观看| aaa欧美日韩| 日韩一本二本av| 中文乱码免费一区二区| 亚洲国产精品麻豆| 久99久精品视频免费观看| 成人国产精品免费网站| 欧美日本在线播放| 国产欧美一区二区精品性色超碰| 一区二区高清视频在线观看| 久久福利视频一区二区| 99国产精品久久久久久久久久久| 欧美亚洲精品一区| 久久精品欧美日韩精品| 亚洲第一二三四区| 成人精品免费网站| 91精品国产美女浴室洗澡无遮挡| 中文字幕欧美日韩一区| 日韩国产欧美在线播放| 91麻豆自制传媒国产之光| 日韩精品一区二区三区中文精品| 国产精品国产三级国产普通话99| 日韩av在线播放中文字幕| www.在线成人| 久久久久国产精品厨房| 天堂精品中文字幕在线| 91蜜桃婷婷狠狠久久综合9色| www成人在线观看| 亚洲国产裸拍裸体视频在线观看乱了| 国产成人无遮挡在线视频| 欧美二区在线观看| 一区二区三区成人| 不卡视频在线观看| 精品国内片67194| 日本不卡视频在线观看| 欧美日韩国产综合视频在线观看 | 日韩欧美亚洲国产另类| 亚洲最新在线观看| 99久久99久久精品免费观看| 国产视频一区在线观看| 久久不见久久见中文字幕免费| 欧美亚洲精品一区| 亚洲精品中文在线影院| 色婷婷久久久亚洲一区二区三区| 国产亚洲欧洲一区高清在线观看| 老司机精品视频导航| 欧美精品xxxxbbbb| 午夜av一区二区三区| 欧美日韩精品高清| 日本伊人午夜精品| 欧美一区二区久久| 久久99精品久久久久| 欧美电视剧在线观看完整版| 日本麻豆一区二区三区视频| 在线综合视频播放| 丝袜美腿亚洲综合| 日韩三级在线观看| 国内久久精品视频| 欧美韩国日本一区| 91丨国产丨九色丨pron| 亚洲免费观看高清完整| 色香蕉成人二区免费| 亚洲一区在线看| 欧美日韩精品久久久| 蜜桃av一区二区| 国产亚洲女人久久久久毛片| 国产精品一区在线观看你懂的| 久久在线观看免费| 99久久精品国产导航| 一区二区三区在线免费观看| 欧美日韩视频在线观看一区二区三区| 午夜亚洲福利老司机| 日韩女优毛片在线| 盗摄精品av一区二区三区| 亚洲美女精品一区| 91精品国模一区二区三区| 极品少妇xxxx偷拍精品少妇| 中文字幕乱码亚洲精品一区| 色哟哟国产精品免费观看| 日本不卡一区二区| 国产欧美日韩视频在线观看| 一本色道久久综合亚洲91| 秋霞午夜av一区二区三区| 欧美mv日韩mv| 97超碰欧美中文字幕| 日本伊人精品一区二区三区观看方式| 亚洲精品在线观看网站| 色婷婷亚洲精品| 国产精品一区一区| 亚洲成a人片在线观看中文| 久久中文字幕电影| 欧美三级日韩三级| 成人美女视频在线观看18| 婷婷中文字幕综合| 国产精品二区一区二区aⅴ污介绍| 欧美日韩和欧美的一区二区| 粉嫩av亚洲一区二区图片| 丝袜美腿亚洲综合| 亚洲精品日韩综合观看成人91| 欧美精品一区二区三区在线 | 国产一区二区伦理片| 有坂深雪av一区二区精品| 久久九九影视网| 91精品国产欧美一区二区成人| 成人a区在线观看| 韩国在线一区二区| 日韩不卡手机在线v区| 亚洲精选在线视频| 亚洲欧洲av色图| 国产校园另类小说区| 欧美一区二区三区播放老司机| 欧美婷婷六月丁香综合色| 播五月开心婷婷综合| 国内精品伊人久久久久影院对白| 亚洲大尺度视频在线观看| ●精品国产综合乱码久久久久| 久久一区二区视频| 91精品国产乱码久久蜜臀| 欧美午夜电影网| 国产99久久久久| 国产精品羞羞答答xxdd| 奇米影视7777精品一区二区| 亚洲电影一区二区三区| 一区二区三区在线视频观看58| 国产精品盗摄一区二区三区| 亚洲国产成人在线| 中文字幕亚洲成人| 亚洲欧洲日韩av| 18涩涩午夜精品.www| 日本一区二区三区四区| 国产欧美一区二区三区在线看蜜臀 | 久久久99精品久久| 国产清纯美女被跳蛋高潮一区二区久久w| 日韩一区二区在线看片| 欧美大片在线观看| 精品剧情v国产在线观看在线| 精品久久久久久久久久久久久久久久久 | 精彩视频一区二区| 国产精品99久久久久久久女警 | 欧美激情一区二区三区全黄| 久久精品在线免费观看| 国产日韩精品一区| 国产精品丝袜久久久久久app| 国产精品久久久久久户外露出| 国产精品久久久久久久久快鸭 | 欧美一区二区高清| 精品av久久707| 国产精品成人免费在线| 怡红院av一区二区三区| 亚洲va欧美va人人爽| 精品在线播放免费| 国模娜娜一区二区三区| av在线播放一区二区三区| 97se亚洲国产综合在线| 99久久精品免费| 欧美三级在线看| 26uuu久久天堂性欧美| 国产欧美日韩不卡免费| 一区二区不卡在线播放| 日韩高清不卡一区二区| 成人av在线网| 欧美精品18+| 欧美国产成人精品| 午夜精品久久久久久久| 国产成人综合在线播放| 91福利国产精品| 久久亚洲春色中文字幕久久久| 中文字幕日韩av资源站| 欧美bbbbb| 一本色道a无线码一区v| 欧美成人性战久久| 亚洲一级二级三级在线免费观看| 久久精品国产第一区二区三区| 91麻豆6部合集magnet| 欧美videos大乳护士334| 一个色在线综合| 成人黄动漫网站免费app| 欧美成人官网二区|