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

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

?? print-null.c

?? TCPDUMP的C語言源代碼,是在數據鏈路層的應用
?? C
字號:
/* * Copyright (c) 1991, 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. */#ifndef lintstatic const char rcsid[] _U_ =    "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.57 2006-03-23 14:58:44 hannes Exp $ (LBL)";#endif#ifdef HAVE_CONFIG_H#include "config.h"#endif#include <tcpdump-stdinc.h>#include <pcap.h>#include <stdio.h>#include <string.h>#include "interface.h"#include "addrtoname.h"#include "ip.h"#ifdef INET6#include "ip6.h"#endif#include "af.h"/* * The DLT_NULL packet header is 4 bytes long. It contains a host-byte-order * 32-bit integer that specifies the family, e.g. AF_INET. * * Note here that "host" refers to the host on which the packets were * captured; that isn't necessarily *this* host. * * The OpenBSD DLT_LOOP packet header is the same, except that the integer * is in network byte order. */#define	NULL_HDRLEN 4/* * Byte-swap a 32-bit number. * ("htonl()" or "ntohl()" won't work - we want to byte-swap even on * big-endian platforms.) */#define	SWAPLONG(y) \((((y)&0xff)<<24) | (((y)&0xff00)<<8) | (((y)&0xff0000)>>8) | (((y)>>24)&0xff))static inline voidnull_hdr_print(u_int family, u_int length){	if (!qflag) {		(void)printf("AF %s (%u)",			tok2str(bsd_af_values,"Unknown",family),family);	} else {		(void)printf("%s",			tok2str(bsd_af_values,"Unknown AF %u",family));	}	(void)printf(", length %u: ", length);}/* * This is the top level routine of the printer.  'p' points * to the ether header of the packet, 'h->ts' is the timestamp, * 'h->len' is the length of the packet off the wire, and 'h->caplen' * is the number of bytes actually captured. */u_intnull_if_print(const struct pcap_pkthdr *h, const u_char *p){	u_int length = h->len;	u_int caplen = h->caplen;	u_int family;	if (caplen < NULL_HDRLEN) {		printf("[|null]");		return (NULL_HDRLEN);	}	memcpy((char *)&family, (char *)p, sizeof(family));	/*	 * This isn't necessarily in our host byte order; if this is	 * a DLT_LOOP capture, it's in network byte order, and if	 * this is a DLT_NULL capture from a machine with the opposite	 * byte-order, it's in the opposite byte order from ours.	 *	 * If the upper 16 bits aren't all zero, assume it's byte-swapped.	 */	if ((family & 0xFFFF0000) != 0)		family = SWAPLONG(family);	if (eflag)		null_hdr_print(family, length);	length -= NULL_HDRLEN;	caplen -= NULL_HDRLEN;	p += NULL_HDRLEN;	switch (family) {	case BSD_AFNUM_INET:		ip_print(gndo, p, length);		break;#ifdef INET6	case BSD_AFNUM_INET6_BSD:	case BSD_AFNUM_INET6_FREEBSD:	case BSD_AFNUM_INET6_DARWIN:		ip6_print(p, length);		break;#endif	case BSD_AFNUM_ISO:		isoclns_print(p, length, caplen);		break;	case BSD_AFNUM_APPLETALK:		atalk_print(p, length);		break;	case BSD_AFNUM_IPX:		ipx_print(p, length);		break;	default:		/* unknown AF_ value */		if (!eflag)			null_hdr_print(family, length + NULL_HDRLEN);		if (!suppress_default_print)			default_print(p, caplen);	}	return (NULL_HDRLEN);}/* * Local Variables: * c-style: whitesmith * c-basic-offset: 8 * End: */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久久一区二区三区| 亚洲人成亚洲人成在线观看图片 | 欧美日韩在线直播| 久久不见久久见免费视频7| 最新热久久免费视频| 欧美一区二区三区视频| 成人做爰69片免费看网站| 亚洲福中文字幕伊人影院| 欧美国产精品一区二区三区| 日韩一区二区三免费高清| 欧美在线观看你懂的| 成人黄色国产精品网站大全在线免费观看 | 久久精品国产免费看久久精品| 亚洲欧美在线视频观看| 久久婷婷国产综合精品青草 | hitomi一区二区三区精品| 蜜桃视频第一区免费观看| 樱花草国产18久久久久| 国产精品污网站| 26uuu成人网一区二区三区| 欧美日韩一区二区在线观看视频| 99在线精品免费| 国产黄色精品网站| 国精产品一区一区三区mba桃花| 亚洲成人激情自拍| 夜夜揉揉日日人人青青一国产精品 | 欧美综合久久久| jlzzjlzz亚洲女人18| 国产精品主播直播| 韩国成人福利片在线播放| 免费高清在线一区| 日韩和欧美一区二区| 亚洲午夜羞羞片| 亚洲一区在线观看免费| 亚洲精选视频免费看| 18涩涩午夜精品.www| 18欧美亚洲精品| 18欧美乱大交hd1984| 中文字幕永久在线不卡| 国产精品色眯眯| 中文天堂在线一区| 中文字幕一区在线| 亚洲欧美日韩中文播放| 亚洲免费看黄网站| 一区二区三区波多野结衣在线观看| 亚洲视频资源在线| 亚洲乱码国产乱码精品精可以看| 亚洲乱码国产乱码精品精可以看| 亚洲三级免费电影| 一区二区三区成人在线视频| 亚洲国产美国国产综合一区二区| 午夜精品久久久久久不卡8050| 天堂一区二区在线| 精品一区二区三区免费播放| 国产高清不卡一区| av动漫一区二区| 在线亚洲精品福利网址导航| 欧美三级视频在线观看| 91精品婷婷国产综合久久竹菊| 精品人在线二区三区| 中文字幕免费不卡| 亚洲综合色丁香婷婷六月图片| 亚洲不卡一区二区三区| 久久黄色级2电影| 成年人午夜久久久| 欧美日韩中字一区| 26uuu国产一区二区三区| 国产精品午夜春色av| 亚洲国产欧美一区二区三区丁香婷| 午夜婷婷国产麻豆精品| 国产永久精品大片wwwapp| 成年人国产精品| 欧美福利一区二区| 国产欧美日韩不卡| 亚洲动漫第一页| 狠狠色狠狠色合久久伊人| 不卡av在线网| 欧美另类高清zo欧美| 久久精品亚洲一区二区三区浴池| 亚洲精品日日夜夜| 久久精品噜噜噜成人88aⅴ| 成人福利视频在线看| 欧美丝袜丝交足nylons图片| 亚洲精品一区在线观看| 亚洲欧美日韩一区| 日本不卡1234视频| 99久久久免费精品国产一区二区| 555www色欧美视频| 亚洲天堂免费在线观看视频| 久久精品久久99精品久久| 97精品视频在线观看自产线路二| 日韩欧美综合一区| 亚洲久草在线视频| 极品美女销魂一区二区三区| 在线视频一区二区免费| 欧美国产一区二区在线观看| 午夜精品123| 97久久超碰国产精品电影| 精品国产区一区| 亚洲国产视频直播| 成人黄色软件下载| 精品sm捆绑视频| 亚洲电影激情视频网站| av亚洲产国偷v产偷v自拍| 中文字幕佐山爱一区二区免费| 免费在线看成人av| 在线观看国产日韩| 综合色天天鬼久久鬼色| 国产精品一卡二卡在线观看| 8x8x8国产精品| 一区二区欧美在线观看| 成人av在线电影| 久久色成人在线| 美女视频免费一区| 欧美日韩你懂得| 亚洲一区二区中文在线| 91在线视频播放| 国产精品伦一区二区三级视频| 久久激情五月激情| 日韩视频123| 日韩在线a电影| 欧美老肥妇做.爰bbww视频| 曰韩精品一区二区| 色猫猫国产区一区二在线视频| 中文字幕不卡在线| 国产盗摄一区二区三区| www日韩大片| 国产精品综合二区| 欧美r级电影在线观看| 蜜臀av性久久久久蜜臀av麻豆| 欧美人牲a欧美精品| 亚洲地区一二三色| 欧美性做爰猛烈叫床潮| 亚洲一区二区综合| 欧美三级电影网站| 日韩专区中文字幕一区二区| 这里只有精品视频在线观看| 日韩av一区二| 欧美成人aa大片| 国内久久婷婷综合| 国产日韩欧美精品电影三级在线| 国产精品自拍一区| 欧美国产日本视频| 99视频一区二区| 一区二区三区中文在线| 欧美午夜影院一区| 午夜精品久久久| 欧美一级日韩免费不卡| 久久狠狠亚洲综合| 国产日产欧美一区二区视频| 丁香另类激情小说| 亚洲人成人一区二区在线观看| 91九色最新地址| 婷婷久久综合九色综合伊人色| 日韩视频在线一区二区| 国产资源在线一区| 国产蜜臀av在线一区二区三区| eeuss国产一区二区三区| 亚洲另类中文字| 欧美精品日韩精品| 国产精品中文欧美| 亚洲男人的天堂在线aⅴ视频 | 精品国产乱码久久久久久闺蜜| 黄色小说综合网站| 中文字幕一区二区三区不卡| 欧美艳星brazzers| 国内外成人在线| 亚洲少妇中出一区| 日韩三级中文字幕| 成人激情文学综合网| 五月婷婷激情综合网| 精品国产一区二区在线观看| 99在线热播精品免费| 日韩av电影一区| 国产精品欧美久久久久无广告| 欧美三级电影网站| 国产精品一区在线观看乱码| 亚洲综合一二三区| 精品久久久久久久人人人人传媒 | 日韩精品在线一区二区| av中文字幕不卡| 天天综合网天天综合色| 国产精品女同一区二区三区| 欧美久久久久中文字幕| 成人免费毛片app| 日韩高清不卡在线| 亚洲天堂久久久久久久| 欧美不卡一区二区| 欧美亚洲综合在线| 成人一区二区三区视频| 轻轻草成人在线| 亚洲人被黑人高潮完整版| 精品对白一区国产伦| 欧美日韩中文字幕一区| 成人国产精品免费观看动漫| 久久精品国产**网站演员| 一区二区激情视频| 中文字幕av一区二区三区| 日韩一区二区三区在线| 欧美亚洲国产一区二区三区va|