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

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

?? plugins-wimax-msg_dsc.c

?? Intel的WIMAX代碼,主要是mac層code
?? C
字號(hào):
plugins/wimax/msg_dsc.c - Google Code Search這是 Google 取自 
      http://anonsvn.wireshark.org/wireshark/trunk 的 plugins/wimax/msg_dsc.c 
緩存副本

      Google 和網(wǎng)頁(yè)作者無關(guān),不對(duì)網(wǎng)頁(yè)的內(nèi)容負(fù)責(zé)。



http://anonsvn.wireshark.org/wireshark/trunk/plugins/wimax/
          AUTHORS
COPYING
ChangeLog
Makefile.am
Makefile.common
Makefile.nmake
README.wimax
crc.c
crc.h
crc_data.c
mac_hd_generic_decoder.c
mac_hd_type1_decoder.c
mac_hd_type2_decoder.c
mac_mgmt_msg_decoder.c
moduleinfo.h
moduleinfo.nmake
msg_aas_beam.c
msg_aas_fbck.c
msg_arq.c
msg_clk_cmp.c
msg_dcd.c
msg_dlmap.c
msg_dreg.c
msg_dsa.c
msg_dsc.c
msg_dsd.c
msg_dsx_rvd.c
msg_fpc.c
msg_pkm.c
msg_pmc.c
msg_prc_lt_ctrl.c
msg_reg_req.c
msg_reg_rsp.c
msg_rep.c
msg_res_cmd.c
msg_rng_req.c
msg_rng_rsp.c
msg_sbc.c
msg_ucd.c
msg_ulmap.c
packet-wmx.c
plugin.rc.in
wimax_bits.h
wimax_cdma_code_decoder.c
wimax_compact_dlmap_ie_decoder.c
wimax_compact_ulmap_ie_decoder.c
wimax_fch_decoder.c
wimax_ffb_decoder.c
wimax_hack_decoder.c
wimax_harq_map_decoder.c
wimax_mac.h
wimax_pdu_decoder.c
wimax_phy_attributes_decoder.c
wimax_tlv.c
wimax_tlv.h
wimax_utils.c
wimax_utils.h
    /* msg_dsc.c
 * WiMax MAC Management DSC-REQ/RSP/ACK Messages decoder
 *
 * Copyright (c) 2007 by Intel Corporation.
 *
 * Author: Lu Pan <lu.pan@intel.com>
 *
 * $Id$
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1999 Gerald Combs
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

/* Include files */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

/*
#define DEBUG
*/

#include <glib.h>
#include <epan/packet.h>
#include "wimax_tlv.h"
#include "wimax_mac.h"
#include "wimax_utils.h"

extern gint proto_mac_mgmt_msg_dsa_decoder;

/* forward reference */
void proto_register_mac_mgmt_msg_dsc(void);
void dissect_mac_mgmt_msg_dsc_req_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
void dissect_mac_mgmt_msg_dsc_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
void dissect_mac_mgmt_msg_dsc_ack_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);

static gint proto_mac_mgmt_msg_dsc_decoder = -1;
static gint ett_mac_mgmt_msg_dsc_req_decoder = -1;
static gint ett_mac_mgmt_msg_dsc_rsp_decoder = -1;
static gint ett_mac_mgmt_msg_dsc_ack_decoder = -1;

/* Setup protocol subtree array */
static gint *ett[] =
{
	&ett_mac_mgmt_msg_dsc_req_decoder,
	&ett_mac_mgmt_msg_dsc_rsp_decoder,
	&ett_mac_mgmt_msg_dsc_ack_decoder
};

static gchar *dsc_msgs[] =
{
	"Dynamic Service Change Request (DSC-REQ)",
	"Dynamic Service Change Response (DSC-RSP)",
	"Dynamic Service Change Acknowledge (DSC-ACK)"
};

/* fix fields */
static gint hf_dsc_req_message_type = -1;
static gint hf_dsc_transaction_id = -1;
static gint hf_dsc_rsp_message_type = -1;
static gint hf_dsc_confirmation_code = -1;
static gint hf_dsc_ack_message_type = -1;

/* DSx display */
static hf_register_info hf[] =
{
	{
		&hf_dsc_ack_message_type,
		{
			"MAC Management Message Type", "wimax.macmgtmsgtype.dsc_ack",
			FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL
		}
	},
	{
		&hf_dsc_req_message_type,
		{
			"MAC Management Message Type", "wimax.macmgtmsgtype.dsc_req",
			FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL
		}
	},
	{
		&hf_dsc_rsp_message_type,
		{
			"MAC Management Message Type", "wimax.macmgtmsgtype.dsc_rsp",
			FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL
		}
	},
	{
		&hf_dsc_confirmation_code,
		{
			"Confirmation code", "wimax.dsc.confirmation_code",
			FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL
		}
	},
	{
		&hf_dsc_transaction_id,
		{
			"Transaction ID", "wimax.dsc.transaction_id",
			FT_UINT16, BASE_DEC, NULL, 0x0, "", HFILL
		}
	}
};

/* Register Wimax Mac Payload Protocol and Dissector */
void proto_register_mac_mgmt_msg_dsc(void)
{
	if (proto_mac_mgmt_msg_dsc_decoder == -1)
	{
		proto_mac_mgmt_msg_dsc_decoder = proto_mac_mgmt_msg_dsa_decoder;

		proto_register_field_array(proto_mac_mgmt_msg_dsc_decoder, hf, array_length(hf));
		proto_register_subtree_array(ett, array_length(ett));
	}
}

void dissect_mac_mgmt_msg_dsc_req_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
	guint offset = 0;
	guint tvb_len, payload_type;
	guint dsc_transaction_id;
	proto_item *dsc_item = NULL;
	proto_tree *dsc_tree = NULL;

	if(tree)
	{	/* we are being asked for details */
		/* get the message type */
		payload_type = tvb_get_guint8(tvb, offset);
		/* ensure the message type is DSC REQ/RSP/ACK */
		if(payload_type != MAC_MGMT_MSG_DSC_REQ)
			return;
		/* Get the tvb reported length */
		tvb_len =  tvb_reported_length(tvb);
		/* display MAC message type */
		dsc_item = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_dsc_decoder, tvb, offset, tvb_len, "%s (%u bytes)", dsc_msgs[payload_type - MAC_MGMT_MSG_DSC_REQ], tvb_len);
		/* add MAC DSx subtree */
		dsc_tree = proto_item_add_subtree(dsc_item, ett_mac_mgmt_msg_dsc_req_decoder);
		/* Decode and display the Uplink Channel Descriptor (UCD) */
		/* display the Message Type */
		proto_tree_add_item(dsc_tree, hf_dsc_req_message_type, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* get the Configuration Change Count */
		dsc_transaction_id = tvb_get_ntohs(tvb, offset);
		/* display the Transaction ID */
		proto_tree_add_item(dsc_tree, hf_dsc_transaction_id, tvb, offset, 2, FALSE);
		/* move to next field */
		offset += 2;
		/* process DSC REQ message TLV Encode Information */
		wimax_common_tlv_encoding_decoder(tvb_new_subset(tvb, offset, (tvb_len - offset), (tvb_len - offset)), pinfo, dsc_tree);
	}
}

void dissect_mac_mgmt_msg_dsc_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
	guint offset = 0;
	guint tvb_len, payload_type;
	guint dsc_transaction_id;
	proto_item *dsc_item = NULL;
	proto_tree *dsc_tree = NULL;

	if(tree)
	{	/* we are being asked for details */
		/* get the message type */
		payload_type = tvb_get_guint8(tvb, offset);
		/* ensure the message type is DSC REQ/RSP/ACK */
		if(payload_type != MAC_MGMT_MSG_DSC_RSP)
			return;
		/* Get the tvb reported length */
		tvb_len =  tvb_reported_length(tvb);
		/* display MAC message type */
		dsc_item = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_dsc_decoder, tvb, offset, tvb_len, "%s (%u bytes)", dsc_msgs[payload_type - MAC_MGMT_MSG_DSC_REQ], tvb_len);
		/* add MAC DSx subtree */
		dsc_tree = proto_item_add_subtree(dsc_item, ett_mac_mgmt_msg_dsc_rsp_decoder);
		/* Decode and display the Uplink Channel Descriptor (UCD) */
		/* display the Message Type */
		proto_tree_add_item(dsc_tree, hf_dsc_rsp_message_type, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* get the Configuration Change Count */
		dsc_transaction_id = tvb_get_ntohs(tvb, offset);
		/* display the Transaction ID */
		proto_tree_add_item(dsc_tree, hf_dsc_transaction_id, tvb, offset, 2, FALSE);
		/* move to next field */
		offset += 2;
		/* display the Confirmation Code */
		proto_tree_add_item(dsc_tree, hf_dsc_confirmation_code, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* process DSC RSP message TLV Encode Information */
		wimax_common_tlv_encoding_decoder(tvb_new_subset(tvb, offset, (tvb_len - offset), (tvb_len - offset)), pinfo, dsc_tree);
	}
}

void dissect_mac_mgmt_msg_dsc_ack_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
	guint offset = 0;
	guint tvb_len, payload_type;
	guint dsc_transaction_id;
	proto_item *dsc_item = NULL;
	proto_tree *dsc_tree = NULL;

	if(tree)
	{	/* we are being asked for details */
		/* get the message type */
		payload_type = tvb_get_guint8(tvb, offset);
		/* ensure the message type is DSC REQ/RSP/ACK */
		if((payload_type < MAC_MGMT_MSG_DSC_REQ) || (payload_type > MAC_MGMT_MSG_DSC_ACK))
			return;
		/* Get the tvb reported length */
		tvb_len =  tvb_reported_length(tvb);
		/* display MAC message type */
		dsc_item = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_dsc_decoder, tvb, offset, tvb_len, "%s (%u bytes)", dsc_msgs[payload_type - MAC_MGMT_MSG_DSC_REQ], tvb_len);
		/* add MAC DSx subtree */
		dsc_tree = proto_item_add_subtree(dsc_item, ett_mac_mgmt_msg_dsc_ack_decoder);
		/* Decode and display the Uplink Channel Descriptor (UCD) */
		/* display the Message Type */
		proto_tree_add_item(dsc_tree, hf_dsc_ack_message_type, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* get the Configuration Change Count */
		dsc_transaction_id = tvb_get_ntohs(tvb, offset);
		/* display the Transaction ID */
		proto_tree_add_item(dsc_tree, hf_dsc_transaction_id, tvb, offset, 2, FALSE);
		/* move to next field */
		offset += 2;
		/* display the Confirmation Code */
		proto_tree_add_item(dsc_tree, hf_dsc_confirmation_code, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* process DSC ACK message TLV Encode Information */
		wimax_common_tlv_encoding_decoder(tvb_new_subset(tvb, offset, (tvb_len - offset), (tvb_len - offset)), pinfo, dsc_tree);
	}
}




      取自 
      http://anonsvn.wireshark.org/wireshark/trunk 的 plugins/wimax/msg_dsc.c - 
      LGPL - C


?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性猛交xxxx黑人交| 日韩午夜小视频| 成人成人成人在线视频| 国产一区二区不卡老阿姨| 美女免费视频一区二区| 蜜臀久久久久久久| 秋霞成人午夜伦在线观看| 婷婷开心激情综合| 美洲天堂一区二卡三卡四卡视频| 舔着乳尖日韩一区| 美国十次综合导航| 激情久久五月天| 国产成人亚洲综合a∨猫咪| 国产98色在线|日韩| jvid福利写真一区二区三区| 972aa.com艺术欧美| 久久综合色播五月| 国产日本一区二区| 1024亚洲合集| 夜夜嗨av一区二区三区四季av| 亚洲一区二区三区四区不卡| 日韩精品国产精品| 国模套图日韩精品一区二区| 国产成人av一区二区三区在线| 成人免费va视频| 欧美主播一区二区三区美女| 日韩欧美色电影| 中文字幕乱码久久午夜不卡| 亚洲伦在线观看| 日本欧洲一区二区| 国产制服丝袜一区| 99re热视频精品| 欧美高清视频www夜色资源网| 日韩欧美激情四射| 国产精品国产三级国产普通话99| 一区二区不卡在线播放| 蜜桃视频一区二区三区在线观看| 国产成人在线视频播放| 91精品1区2区| 欧美xxxxx裸体时装秀| 国产精品丝袜在线| 丝袜美腿亚洲综合| 成人性色生活片免费看爆迷你毛片| 日本高清不卡在线观看| 日韩欧美国产1| 亚洲欧洲精品一区二区三区 | 亚洲私人影院在线观看| 亚瑟在线精品视频| 成人激情开心网| 欧美丰满少妇xxxbbb| 欧美国产一区二区在线观看| 亚洲一区在线看| 国产成人精品一区二区三区网站观看| 色偷偷久久一区二区三区| 精品国产一二三| 亚洲美女一区二区三区| 韩国一区二区视频| 在线视频你懂得一区二区三区| 欧美精品一区二区在线播放| 亚洲一区在线视频| av在线不卡电影| 精品日产卡一卡二卡麻豆| 亚洲一区二区视频在线观看| 成人av免费在线观看| 91精品国产手机| 一区二区三区**美女毛片| 国产精品一区二区无线| 91麻豆精品国产自产在线| 亚洲嫩草精品久久| 高清不卡一区二区| 欧美精品一区二区精品网| 视频一区中文字幕国产| 色综合久久综合中文综合网| 国产精品免费人成网站| 老鸭窝一区二区久久精品| 91老司机福利 在线| 精品国产乱码久久久久久久久| 亚洲成人动漫av| 粉嫩aⅴ一区二区三区四区| 91麻豆精品国产91久久久更新时间| 亚洲欧洲美洲综合色网| 国产一区二区免费看| 88在线观看91蜜桃国自产| 一区二区三区日韩精品视频| 粉嫩av一区二区三区| 日韩精品一区二区三区在线播放| 夜色激情一区二区| 成av人片一区二区| 精品国产91亚洲一区二区三区婷婷| 久久久久成人黄色影片| 亚洲在线中文字幕| 不卡的av网站| 一级精品视频在线观看宜春院| 国模大尺度一区二区三区| 91精品免费在线| 一区二区成人在线| 国产一区二区在线看| 精品精品国产高清a毛片牛牛| 丝袜脚交一区二区| 欧美日韩中文国产| 一区二区三区四区亚洲| 成人黄色免费短视频| 久久精品夜夜夜夜久久| 日韩在线一二三区| 日韩一区二区精品| 水野朝阳av一区二区三区| 欧洲国内综合视频| 亚洲精品成人在线| 91亚洲精华国产精华精华液| 国产精品久久久一本精品| 国产精品一区免费在线观看| 精品日韩一区二区三区| 日本sm残虐另类| 欧美一区二区精品在线| 天堂在线一区二区| 欧美日韩精品久久久| 综合色天天鬼久久鬼色| 欧美亚洲综合色| 亚洲午夜国产一区99re久久| 欧美视频在线观看一区| 亚洲国产综合在线| 欧美日本一区二区三区| 一区二区在线电影| 884aa四虎影成人精品一区| 日韩国产一二三区| 日韩一区二区三区视频| 美腿丝袜一区二区三区| 久久青草欧美一区二区三区| 麻豆成人综合网| 日本一区二区三区国色天香| www.欧美色图| 一区二区久久久久| 欧美高清视频在线高清观看mv色露露十八| 午夜欧美视频在线观看 | 久久先锋影音av鲁色资源网| 国内成+人亚洲+欧美+综合在线 | 亚洲电影在线播放| 91精品午夜视频| 国产又粗又猛又爽又黄91精品| 亚洲欧洲日产国码二区| 欧美在线免费视屏| 免费日本视频一区| www激情久久| 色综合视频一区二区三区高清| 亚洲日本va午夜在线影院| 91精品国产品国语在线不卡 | 欧美美女一区二区在线观看| 美女一区二区视频| 国产女主播视频一区二区| 99v久久综合狠狠综合久久| 亚洲综合在线视频| 精品日韩99亚洲| 91丨九色porny丨蝌蚪| 五月天精品一区二区三区| 久久综合色播五月| 一本久久a久久免费精品不卡| 亚洲第一二三四区| 中文字幕欧美国产| 欧美日韩国产bt| 欧美日韩aaaaaa| 国产精品资源在线| 亚洲精品久久久久久国产精华液| 欧美日韩性生活| 成人av电影在线网| 奇米色一区二区| 国产农村妇女毛片精品久久麻豆 | 久久嫩草精品久久久精品| 国产69精品久久久久毛片| 亚洲电影一级片| 国产欧美中文在线| 欧美一区二区三区在线看| www.色精品| 日韩精品一二三四| 亚洲一区二区三区国产| 欧美激情中文字幕一区二区| 欧美精品国产精品| 成人国产精品免费观看视频| 日韩精品国产精品| 亚洲成人激情自拍| 日韩美女视频19| 日韩限制级电影在线观看| 91国产免费观看| 国产a视频精品免费观看| 蜜臀av性久久久久av蜜臀妖精| 亚洲男女一区二区三区| 久久综合九色欧美综合狠狠| 欧美四级电影在线观看| 成人短视频下载| 七七婷婷婷婷精品国产| 婷婷综合久久一区二区三区| 中文字幕亚洲一区二区va在线| 欧美一区二区啪啪| 欧美自拍偷拍午夜视频| 成人午夜激情视频| 国产呦萝稀缺另类资源| 日产国产高清一区二区三区| 日韩电影免费在线观看网站| 亚洲一区影音先锋| 亚洲欧美日韩综合aⅴ视频| 日本一区二区视频在线|