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

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

?? plugins-wimax-msg_dsa.c

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

      Google 和網頁作者無關,不對網頁的內容負責。



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_dsa.c
 * WiMax MAC Management DSA-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_wimax;

/* forward reference */
void proto_register_mac_mgmt_msg_dsa(void);
void dissect_mac_mgmt_msg_dsa_req_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
void dissect_mac_mgmt_msg_dsa_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
void dissect_mac_mgmt_msg_dsa_ack_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);

gint proto_mac_mgmt_msg_dsa_decoder = -1;
static gint ett_mac_mgmt_msg_dsa_req_decoder = -1;
static gint ett_mac_mgmt_msg_dsa_rsp_decoder = -1;
static gint ett_mac_mgmt_msg_dsa_ack_decoder = -1;

/* Setup protocol subtree array */
static gint *ett[] =
{
	&ett_mac_mgmt_msg_dsa_req_decoder,
	&ett_mac_mgmt_msg_dsa_rsp_decoder,
	&ett_mac_mgmt_msg_dsa_ack_decoder,
};

static gchar *dsa_msgs[] =
{
	"Dynamic Service Addition Request (DSA-REQ)",
	"Dynamic Service Addition Response (DSA-RSP)",
	"Dynamic Service Addition Acknowledge (DSA-ACK)"
};

/* fix fields */
static gint hf_dsa_req_message_type = -1;
static gint hf_dsa_transaction_id = -1;
static gint hf_dsa_rsp_message_type = -1;
static gint hf_dsa_confirmation_code = -1;
static gint hf_dsa_ack_message_type = -1;

/* DSx display */
static hf_register_info hf[] =
{
	{
		&hf_dsa_ack_message_type,
		{
			"MAC Management Message Type", "wimax.macmgtmsgtype.dsa_ack",
			FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL
		}
	},
	{
		&hf_dsa_req_message_type,
		{
			"MAC Management Message Type", "wimax.macmgtmsgtype.dsa_req",
			FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL
		}
	},
	{
		&hf_dsa_rsp_message_type,
		{
			"MAC Management Message Type", "wimax.macmgtmsgtype.dsa_rsp",
			FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL
		}
	},
	{
		&hf_dsa_confirmation_code,
		{
			"Confirmation code", "wimax.dsa.confirmation_code",
			FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL
		}
	},
	{
		&hf_dsa_transaction_id,
		{
			"Transaction ID", "wimax.dsa.transaction_id",
			FT_UINT16, BASE_HEX, NULL, 0x0, "", HFILL
		}
	}
};

/* Register Wimax Mac Payload Protocol and Dissector */
void proto_register_mac_mgmt_msg_dsa(void)
{
	if (proto_mac_mgmt_msg_dsa_decoder == -1)
	{
		proto_mac_mgmt_msg_dsa_decoder = proto_register_protocol (
							"WiMax DSA/C/D Messages", /* name */
							"WiMax DSA/C/D (ds)", /* short name */
							"ds" /* abbrev */
							);

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

void dissect_mac_mgmt_msg_dsa_req_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
	guint offset = 0;
	guint tvb_len, payload_type;
	proto_item *dsa_item = NULL;
	proto_tree *dsa_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 DSA REQ */
		if(payload_type != MAC_MGMT_MSG_DSA_REQ)
			return;
		/* Get the tvb reported length */
		tvb_len =  tvb_reported_length(tvb);
		/* display MAC message type */
		dsa_item = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_dsa_decoder, tvb, offset, tvb_len, "%s (%u bytes)", dsa_msgs[payload_type - MAC_MGMT_MSG_DSA_REQ], tvb_len);
		/* add MAC DSx subtree */
		dsa_tree = proto_item_add_subtree(dsa_item, ett_mac_mgmt_msg_dsa_req_decoder);
		/* Decode and display the Uplink Channel Descriptor (UCD) */
		/* display the Message Type */
		proto_tree_add_item(dsa_tree, hf_dsa_req_message_type, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* display the Transaction ID */
		proto_tree_add_item(dsa_tree, hf_dsa_transaction_id, tvb, offset, 2, FALSE);
		/* move to next field */
		offset += 2;
		/* process DSA-REQ message TLV Encode Information */
		wimax_common_tlv_encoding_decoder(tvb_new_subset(tvb, offset, (tvb_len - offset), (tvb_len - offset)), pinfo, dsa_tree);
	}
}

void dissect_mac_mgmt_msg_dsa_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
	guint offset = 0;
	guint tvb_len, payload_type;
	proto_item *dsa_item = NULL;
	proto_tree *dsa_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 DSA RSP */
		if(payload_type != MAC_MGMT_MSG_DSA_RSP)
			return;
		/* Get the tvb reported length */
		tvb_len =  tvb_reported_length(tvb);
		/* display MAC message type */
		dsa_item = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_dsa_decoder, tvb, offset, tvb_len, "%s (%u bytes)", dsa_msgs[payload_type - MAC_MGMT_MSG_DSA_REQ], tvb_len);
		/* add MAC DSx subtree */
		dsa_tree = proto_item_add_subtree(dsa_item, ett_mac_mgmt_msg_dsa_rsp_decoder);
		/* Decode and display the Uplink Channel Descriptor (UCD) */
		/* display the Message Type */
		proto_tree_add_item(dsa_tree, hf_dsa_rsp_message_type, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* display the Transaction ID */
		proto_tree_add_item(dsa_tree, hf_dsa_transaction_id, tvb, offset, 2, FALSE);
		/* move to next field */
		offset += 2;
		/* display the Confirmation Code */
		proto_tree_add_item(dsa_tree, hf_dsa_confirmation_code, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* process DSA RSP message TLV Encode Information */
		wimax_common_tlv_encoding_decoder(tvb_new_subset(tvb, offset, (tvb_len - offset), (tvb_len - offset)), pinfo, dsa_tree);
	}
}

void dissect_mac_mgmt_msg_dsa_ack_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
	guint offset = 0;
	guint tvb_len, payload_type;
	proto_item *dsa_item = NULL;
	proto_tree *dsa_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 DSA ACK */
		if(payload_type != MAC_MGMT_MSG_DSA_ACK)
			return;
		/* Get the tvb reported length */
		tvb_len =  tvb_reported_length(tvb);
		/* display MAC message type */
		dsa_item = proto_tree_add_protocol_format(tree, proto_mac_mgmt_msg_dsa_decoder, tvb, offset, tvb_len, "%s (%u bytes)", dsa_msgs[payload_type - MAC_MGMT_MSG_DSA_REQ], tvb_len);
		/* add MAC DSx subtree */
		dsa_tree = proto_item_add_subtree(dsa_item, ett_mac_mgmt_msg_dsa_ack_decoder);
		/* Decode and display the Uplink Channel Descriptor (UCD) */
		/* display the Message Type */
		proto_tree_add_item(dsa_tree, hf_dsa_ack_message_type, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* display the Transaction ID */
		proto_tree_add_item(dsa_tree, hf_dsa_transaction_id, tvb, offset, 2, FALSE);
		/* move to next field */
		offset += 2;
		/* display the Confirmation Code */
		proto_tree_add_item(dsa_tree, hf_dsa_confirmation_code, tvb, offset, 1, FALSE);
		/* move to next field */
		offset++;
		/* process DSA-REQ message TLV Encode Information */
		wimax_common_tlv_encoding_decoder(tvb_new_subset(tvb, offset, (tvb_len - offset), (tvb_len - offset)), pinfo, dsa_tree);
	}
}




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


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品在线网站| 欧美三级日韩三级| 日韩情涩欧美日韩视频| 国产91精品在线观看| 欧美色综合网站| 中文字幕欧美激情| 久久国产精品72免费观看| 91久久人澡人人添人人爽欧美| 精品国产网站在线观看| 亚洲第一搞黄网站| 91免费看`日韩一区二区| 久久久久久久久久久电影| 日韩中文字幕91| 在线视频中文字幕一区二区| 国产精品人成在线观看免费| 精品一区二区三区蜜桃| 日韩一区二区三区四区五区六区| 亚洲国产cao| 成人免费高清视频| 国产视频一区二区在线观看| 激情小说亚洲一区| 日韩欧美在线不卡| 日韩电影免费在线| 欧美视频精品在线观看| 一区二区在线电影| 色综合久久88色综合天天| 中文字幕精品三区| 成人免费视频网站在线观看| 国产日产欧美一区二区视频| 国产一区二区三区精品视频| 欧美成人午夜电影| 奇米精品一区二区三区在线观看一 | 欧美性淫爽ww久久久久无| 久久久.com| 日本大胆欧美人术艺术动态| 欧美色国产精品| 亚洲美女屁股眼交| 日韩电影一二三区| 91啪九色porn原创视频在线观看| 国产精品免费视频一区| 国产精品一区二区在线播放| 日韩欧美一级二级三级久久久| 亚洲不卡在线观看| 一本大道久久a久久精二百| 国产精品欧美经典| 国产黄色精品网站| 久久老女人爱爱| 久久99国产精品久久| 欧美va在线播放| 久久se精品一区二区| 日韩视频一区二区三区| 丝袜亚洲另类欧美综合| 欧美日韩国产乱码电影| 欧美日韩免费一区二区三区视频| 亚洲色图在线播放| 国模一区二区三区白浆| 欧美一级久久久久久久大片| 免费成人在线视频观看| 日韩三级av在线播放| 精品中文av资源站在线观看| 日韩欧美在线123| 九色|91porny| 26uuu欧美| 激情综合五月婷婷| 国产三级精品视频| 国产91精品久久久久久久网曝门| 中文字幕乱码一区二区免费| 成人福利视频在线| 亚洲欧美福利一区二区| 在线观看91精品国产入口| 亚洲视频一区二区在线| 色哟哟精品一区| 亚洲r级在线视频| 欧美一区二区三区四区久久| 麻豆精品国产传媒mv男同| 精品欧美一区二区三区精品久久 | 日韩欧美国产1| 精品一区二区久久久| 久久久激情视频| 国产剧情一区二区三区| 国产拍揄自揄精品视频麻豆| 99视频在线精品| 亚洲一区影音先锋| 51久久夜色精品国产麻豆| 久久国产精品无码网站| 国产日韩欧美制服另类| 色婷婷精品久久二区二区蜜臀av| 亚洲制服丝袜av| 欧美一区中文字幕| 久久99精品久久久久久动态图| 久久综合九色综合欧美就去吻 | 中文一区二区完整视频在线观看| 99久久婷婷国产| 香蕉乱码成人久久天堂爱免费| 欧美一区中文字幕| eeuss鲁片一区二区三区| 亚洲最大成人综合| 欧美va日韩va| 成人国产精品视频| 亚洲国产欧美另类丝袜| 精品免费99久久| 不卡的av电影| 首页亚洲欧美制服丝腿| www国产成人| 一本大道久久a久久精品综合| 免费欧美日韩国产三级电影| 国产人伦精品一区二区| 国产精品第四页| 色老头久久综合| 蜜臀av性久久久久蜜臀aⅴ流畅| 亚洲国产精品ⅴa在线观看| 欧美午夜一区二区| 国产成人一区在线| 亚洲国产日韩在线一区模特| 久久久久国产一区二区三区四区 | 国产三级欧美三级| 91片黄在线观看| 极品瑜伽女神91| 亚洲一区欧美一区| 国产日韩欧美制服另类| 91精品国产一区二区| 成人av电影在线| 欧美aa在线视频| 国产精品萝li| 欧美日韩三级视频| 99在线精品视频| 国模套图日韩精品一区二区| 亚洲精品乱码久久久久久久久| 日韩视频一区二区三区在线播放 | 成人免费一区二区三区视频 | 成人小视频在线| 日本v片在线高清不卡在线观看| 中文字幕中文在线不卡住| 日韩欧美在线网站| 日本道在线观看一区二区| 国产成人亚洲综合a∨猫咪| 视频一区欧美精品| 自拍偷拍欧美精品| 国产欧美一区二区精品性| 在线观看不卡视频| 韩国午夜理伦三级不卡影院| 亚洲国产你懂的| 亚洲欧美另类小说| 欧美国产精品一区二区| 日韩精品一区二区三区swag | 天天色 色综合| 亚洲免费三区一区二区| 国产日韩欧美电影| 精品电影一区二区| 日韩视频在线你懂得| 欧美日韩dvd在线观看| 色乱码一区二区三区88| 成人丝袜18视频在线观看| 精品一区二区国语对白| 日本女优在线视频一区二区| 亚洲国产你懂的| 亚洲色图在线播放| 国产精品免费看片| 亚洲国产高清不卡| 国产欧美日韩久久| 国产99久久久久久免费看农村| 毛片一区二区三区| 日韩高清一区在线| 性感美女久久精品| 亚洲成人动漫av| 亚洲一区二区精品3399| 一区二区三区产品免费精品久久75| 国产欧美精品区一区二区三区| 日韩精品中文字幕一区二区三区| 欧美精品少妇一区二区三区| 日本韩国欧美一区| 欧美亚洲国产怡红院影院| 91小宝寻花一区二区三区| 99精品桃花视频在线观看| 91蜜桃在线免费视频| 色婷婷综合久久久中文字幕| 99精品一区二区三区| 91麻豆精品秘密| 日本乱人伦aⅴ精品| 欧美在线短视频| 91久久一区二区| 欧美久久久一区| 日韩亚洲欧美一区| 日韩欧美国产不卡| 久久―日本道色综合久久| 精品国产乱码91久久久久久网站| 久久午夜色播影院免费高清| 国产日韩精品视频一区| 一区在线观看免费| 亚洲综合激情另类小说区| 亚洲成人av电影在线| 图片区小说区国产精品视频| 日本中文字幕一区二区视频| 久久99热99| 成人深夜福利app| 91在线高清观看| 色呦呦一区二区三区| 欧美日本在线观看| 精品国产乱码久久久久久图片| 久久精品亚洲精品国产欧美|