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

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

?? print-sll.c

?? TCPDUMP的C語言源代碼,是在數(shù)據(jù)鏈路層的應(yīng)用
?? C
字號:
/* * 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. */#ifndef lintstatic const char rcsid[] _U_ =    "@(#) $Header: /tcpdump/master/tcpdump/print-sll.c,v 1.19 2005-11-13 12:12:43 guy Exp $ (LBL)";#endif#ifdef HAVE_CONFIG_H#include "config.h"#endif#include <tcpdump-stdinc.h>#include <stdio.h>#include <string.h>#include <pcap.h>#include "interface.h"#include "addrtoname.h"#include "ethertype.h"#include "extract.h"#include "ether.h"#include "sll.h"const struct tok sll_pkttype_values[] = {    { LINUX_SLL_HOST, "In" },    { LINUX_SLL_BROADCAST, "B" },    { LINUX_SLL_MULTICAST, "M" },    { LINUX_SLL_OTHERHOST, "P" },    { LINUX_SLL_OUTGOING, "Out" },    { 0, NULL}};static inline voidsll_print(register const struct sll_header *sllp, u_int length){	u_short ether_type;        printf("%3s ",tok2str(sll_pkttype_values,"?",EXTRACT_16BITS(&sllp->sll_pkttype)));	/*	 * XXX - check the link-layer address type value?	 * For now, we just assume 6 means Ethernet.	 * XXX - print others as strings of hex?	 */	if (EXTRACT_16BITS(&sllp->sll_halen) == 6)		(void)printf("%s ", etheraddr_string(sllp->sll_addr));	if (!qflag) {		ether_type = EXTRACT_16BITS(&sllp->sll_protocol);			if (ether_type <= ETHERMTU) {			/*			 * Not an Ethernet type; what type is it?			 */			switch (ether_type) {			case LINUX_SLL_P_802_3:				/*				 * Ethernet_802.3 IPX frame.				 */				(void)printf("802.3");				break;			case LINUX_SLL_P_802_2:				/*				 * 802.2.				 */				(void)printf("802.3");				break;			default:				/*				 * What is it?				 */				(void)printf("ethertype Unknown (0x%04x)",				    ether_type);				break;			}		} else {			(void)printf("ethertype %s (0x%04x)",			    tok2str(ethertype_values, "Unknown", ether_type),			    ether_type);		}		(void)printf(", length %u: ", length);	}}/* * This is the top level routine of the printer.  'p' points to the * Linux "cooked capture" 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_intsll_if_print(const struct pcap_pkthdr *h, const u_char *p){	u_int caplen = h->caplen;	u_int length = h->len;	register const struct sll_header *sllp;	u_short ether_type;	u_short extracted_ethertype;	if (caplen < SLL_HDR_LEN) {		/*		 * XXX - this "can't happen" because "pcap-linux.c" always		 * adds this many bytes of header to every packet in a		 * cooked socket capture.		 */		printf("[|sll]");		return (caplen);	}	sllp = (const struct sll_header *)p;	if (eflag)		sll_print(sllp, length);	/*	 * Go past the cooked-mode header.	 */	length -= SLL_HDR_LEN;	caplen -= SLL_HDR_LEN;	p += SLL_HDR_LEN;	ether_type = ntohs(sllp->sll_protocol);	/*	 * Is it (gag) an 802.3 encapsulation, or some non-Ethernet	 * packet type?	 */	if (ether_type <= ETHERMTU) {		/*		 * Yes - what type is it?		 */		switch (ether_type) {		case LINUX_SLL_P_802_3:			/*			 * Ethernet_802.3 IPX frame.			 */			ipx_print(p, length);			break;		case LINUX_SLL_P_802_2:			/*			 * 802.2.			 * Try to print the LLC-layer header & higher layers.			 */			if (llc_print(p, length, caplen, NULL, NULL,			    &extracted_ethertype) == 0)				goto unknown;	/* unknown LLC type */			break;		default:			extracted_ethertype = 0;			/*FALLTHROUGH*/		unknown:			/* ether_type not known, print raw packet */			if (!eflag)				sll_print(sllp, length + SLL_HDR_LEN);			if (extracted_ethertype) {				printf("(LLC %s) ",			       etherproto_string(htons(extracted_ethertype)));			}			if (!suppress_default_print)				default_print(p, caplen);			break;		}	} else if (ether_encap_print(ether_type, p, length, caplen,	    &extracted_ethertype) == 0) {		/* ether_type not known, print raw packet */		if (!eflag)			sll_print(sllp, length + SLL_HDR_LEN);		if (!suppress_default_print)			default_print(p, caplen);	}	return (SLL_HDR_LEN);}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美女诱惑一区二区| 不卡在线观看av| 最新热久久免费视频| 67194成人在线观看| 99在线精品观看| 国内精品久久久久影院色| 亚洲一区二区三区影院| 国产精品美女久久福利网站 | 成人av在线观| 久久国产精品99久久人人澡| 亚洲永久免费视频| 国产精品不卡在线观看| 精品av久久707| 在线不卡欧美精品一区二区三区| 91在线视频18| 不卡av在线网| 丁香六月久久综合狠狠色| 久久国产精品第一页| 五月天激情小说综合| 亚洲色图视频网| 国产精品丝袜一区| 久久久久久久网| 精品久久国产97色综合| 日韩视频一区二区三区| 欧美日韩亚洲综合在线| 欧美午夜一区二区三区免费大片| 东方aⅴ免费观看久久av| 极品少妇一区二区| 精品一区二区三区蜜桃| 伦理电影国产精品| 久久精品久久99精品久久| 青青青伊人色综合久久| 奇米亚洲午夜久久精品| 美女精品自拍一二三四| 久久精品国产色蜜蜜麻豆| 久久爱www久久做| 九九久久精品视频| 久久成人av少妇免费| 国产综合久久久久久鬼色| 国产在线日韩欧美| 国内外精品视频| 国产乱理伦片在线观看夜一区| 国模娜娜一区二区三区| 黄色小说综合网站| 国产成人精品综合在线观看| 成人天堂资源www在线| 波多野结衣在线aⅴ中文字幕不卡| 国产91精品精华液一区二区三区 | 亚洲成人一区二区在线观看| 亚洲一区免费视频| 日韩在线a电影| 精品中文av资源站在线观看| 国产精品99精品久久免费| 国产成a人亚洲| 99久久er热在这里只有精品15 | 91在线高清观看| 日本韩国一区二区| 欧美一区午夜精品| 欧美成人精精品一区二区频| 国产日本欧美一区二区| 亚洲激情在线播放| 天堂成人国产精品一区| 国产在线精品一区二区不卡了 | 欧美精三区欧美精三区| 日韩欧美色综合| 国产精品嫩草影院av蜜臀| 一区二区日韩av| 老司机午夜精品| 99精品1区2区| 91精品国产综合久久婷婷香蕉 | 亚洲日本一区二区| 亚洲成人一二三| 国产精品一区二区久激情瑜伽| 成人91在线观看| 制服.丝袜.亚洲.中文.综合| 国产精品午夜在线观看| 性感美女极品91精品| 国产乱码精品1区2区3区| 色就色 综合激情| 精品国产一区二区亚洲人成毛片| 国产亚洲女人久久久久毛片| 亚洲永久精品国产| 国产高清久久久| 欧美日韩一区二区欧美激情| 欧美精品一区二区三区一线天视频| 国产精品的网站| 日韩精彩视频在线观看| 国产精品99久| 在线播放/欧美激情| 亚洲欧美在线aaa| 日韩av一级片| 91蜜桃视频在线| 精品伦理精品一区| 一区二区免费看| 国产+成+人+亚洲欧洲自线| 欧美日精品一区视频| 欧美激情综合五月色丁香小说| 亚洲高清三级视频| 99免费精品在线| 精品日本一线二线三线不卡| 一区二区三区高清| 成人夜色视频网站在线观看| 欧美一区二区三区爱爱| 亚洲一区二区中文在线| 丰满放荡岳乱妇91ww| 欧美精品一区视频| 日韩激情视频网站| 欧洲亚洲国产日韩| 国产精品电影一区二区| 国产东北露脸精品视频| 精品国内片67194| 亚洲成人动漫在线免费观看| 91小视频免费看| 国产欧美精品一区二区三区四区 | 成人av在线资源网| 国产亚洲精品久| 精品一区二区日韩| 91精品国产91久久久久久一区二区| 亚洲精品五月天| 91色porny在线视频| 中文一区在线播放 | 欧美三级电影在线观看| 亚洲欧美日韩一区| 99久久99久久精品国产片果冻 | 欧美日韩综合一区| 一区二区三区四区亚洲| 色先锋aa成人| 依依成人精品视频| 在线免费观看成人短视频| 亚洲欧美一区二区三区国产精品 | 日本黄色一区二区| 一区二区三区四区国产精品| 色综合天天综合网国产成人综合天 | 自拍偷拍亚洲欧美日韩| 东方aⅴ免费观看久久av| 亚洲国产成人午夜在线一区| 国产精品18久久久久久久久久久久| 日韩欧美国产精品一区| 极品少妇一区二区三区精品视频| 日韩亚洲电影在线| 精品一区二区精品| 26uuu久久天堂性欧美| 国产麻豆9l精品三级站| 国产欧美日本一区视频| jlzzjlzz亚洲日本少妇| 亚洲精品国产一区二区精华液| 色婷婷综合久久久久中文一区二区 | av色综合久久天堂av综合| 中文字幕一区二| 欧美在线免费视屏| 亚洲成人动漫在线观看| 日韩午夜在线观看| 国产米奇在线777精品观看| 国产精品毛片久久久久久久| 色老汉一区二区三区| 五月天激情综合| 精品国产伦理网| k8久久久一区二区三区| 亚洲一级二级在线| 日韩欧美一级二级| 成人av在线一区二区| 亚洲成人自拍偷拍| 亚洲精品一区二区三区99| 99国产精品久久久久久久久久久| 亚洲狠狠爱一区二区三区| 欧美成人精品1314www| 成人黄色777网| 亚洲18影院在线观看| 国产无一区二区| 欧美在线观看视频在线| 极品少妇一区二区三区精品视频| 国产精品久久久久aaaa| 欧美日韩一级片在线观看| 国产伦精品一区二区三区免费| 亚洲特黄一级片| 欧美变态凌虐bdsm| 91麻豆免费看| 麻豆高清免费国产一区| 亚洲欧美激情视频在线观看一区二区三区 | 欧美日韩在线播放| 国产精品99久久久久久似苏梦涵| 亚洲自拍偷拍麻豆| 国产亚洲综合色| 9191久久久久久久久久久| 成人中文字幕在线| 偷拍与自拍一区| 国产精品国产三级国产aⅴ无密码| 91精品国产免费| 色av一区二区| 国产精品影音先锋| 丝袜美腿高跟呻吟高潮一区| 国产精品萝li| 精品少妇一区二区三区日产乱码 | 不卡av在线网| 久久99精品久久久久婷婷| 尤物av一区二区| 国产精品情趣视频| 欧美精品一区二区三| 欧美理论在线播放| 91社区在线播放|