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

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

?? plugins-wimax-msg_dsc.c

?? Intel的WIMAX代碼,主要是mac層code
?? C
字號:
plugins/wimax/msg_dsc.c - Google Code Search這是 Google 取自 
      http://anonsvn.wireshark.org/wireshark/trunk 的 plugins/wimax/msg_dsc.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_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


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区在线视频观看| 精品一区二区三区不卡| 午夜欧美大尺度福利影院在线看| 精品一区二区三区蜜桃| 欧美日韩国产乱码电影| 国产精品久久久久久久久图文区 | 欧美日韩免费在线视频| 日本一区二区免费在线| 奇米精品一区二区三区在线观看一| 成人h动漫精品一区二区| 欧美一区二区三区在线看| 一区二区三区视频在线看| 国产高清不卡一区| 精品国内片67194| 香蕉久久一区二区不卡无毒影院| 91免费看`日韩一区二区| 欧美激情一区二区三区蜜桃视频 | 99久久er热在这里只有精品66| 欧美一级日韩不卡播放免费| 亚洲一区二区高清| 色8久久精品久久久久久蜜| 国产欧美一区二区三区鸳鸯浴| 久久精品久久久精品美女| 欧美日韩国产123区| 亚洲va欧美va人人爽| 在线免费不卡视频| 亚洲成人动漫av| 欧美日韩成人在线| 日本不卡中文字幕| 欧美α欧美αv大片| 久久精品噜噜噜成人88aⅴ| 日韩三级免费观看| 国内精品免费**视频| 久久久综合九色合综国产精品| 狠狠色丁香婷综合久久| 欧美mv日韩mv国产| 国产69精品久久99不卡| 国产精品视频yy9299一区| 不卡视频在线观看| 亚洲欧美日韩中文字幕一区二区三区| 成人av片在线观看| 一区二区三区小说| 欧美精品电影在线播放| 国产主播一区二区三区| 国产精品―色哟哟| 色综合久久综合中文综合网| 午夜视频在线观看一区二区| 欧美一区二区美女| 成人avav影音| 亚洲五码中文字幕| 久久先锋资源网| 99久久伊人网影院| 性感美女极品91精品| 欧美videos中文字幕| 大胆欧美人体老妇| 亚洲第一狼人社区| 久久午夜电影网| 日本精品一区二区三区高清| 日本午夜精品视频在线观看| 久久久久综合网| 一本色道久久综合精品竹菊| 日韩激情一二三区| 国产精品嫩草久久久久| 欧美肥大bbwbbw高潮| 国产高清不卡一区| 日韩中文字幕av电影| 中文字幕欧美日韩一区| 欧美视频在线一区| 国产成人无遮挡在线视频| 亚洲精品伦理在线| 久久天天做天天爱综合色| 91成人网在线| 成人午夜视频网站| 日本不卡视频一二三区| 亚洲天堂成人在线观看| 日韩三级中文字幕| 欧美亚洲日本一区| 高清在线不卡av| 蜜桃视频免费观看一区| 亚洲卡通动漫在线| 国产日韩精品一区二区三区在线| 欧美精品三级在线观看| 91丨porny丨蝌蚪视频| 国产一区二三区好的| 亚洲高清视频在线| 亚洲欧美日韩在线| 中文字幕乱码久久午夜不卡| 日韩视频国产视频| 51精品视频一区二区三区| 色呦呦网站一区| 成人午夜免费av| 国产精品综合视频| 91久久精品一区二区| 国产**成人网毛片九色| 国产一区二区三区视频在线播放| 亚洲国产欧美日韩另类综合| 欧美极品少妇xxxxⅹ高跟鞋| 久久免费的精品国产v∧| 日韩欧美国产高清| 日韩一区二区三区精品视频| 欧美天堂一区二区三区| 91丨国产丨九色丨pron| 91在线视频免费91| 91在线视频官网| 色综合天天做天天爱| 色综合天天综合在线视频| 99久久精品免费看| 不卡的av电影| 成人网在线播放| 成人91在线观看| 99免费精品在线观看| 99麻豆久久久国产精品免费优播| 成人精品小蝌蚪| 成人的网站免费观看| 丁香天五香天堂综合| 成人精品国产一区二区4080| a4yy欧美一区二区三区| av电影天堂一区二区在线观看| av在线播放成人| 色久综合一二码| 在线观看国产一区二区| 欧美在线free| 欧美一级搡bbbb搡bbbb| 欧美成人高清电影在线| 国产亚洲一区字幕| 国产精品色哟哟| 亚洲最大色网站| 午夜不卡av免费| 韩国中文字幕2020精品| 成人黄色软件下载| 色94色欧美sute亚洲13| 欧美一区二区三区四区五区| 精品国产91久久久久久久妲己| 日本一区二区三区久久久久久久久不 | 国产色一区二区| 亚洲视频综合在线| 午夜精品免费在线| 狠狠色丁香久久婷婷综| av亚洲精华国产精华精华| 91国产免费看| 亚洲精品在线免费播放| 中文久久乱码一区二区| 亚洲综合av网| 激情亚洲综合在线| 一本大道久久a久久精品综合| 欧美狂野另类xxxxoooo| 国产欧美一区二区精品性色| 亚洲色图欧美偷拍| 免费成人在线观看| 粉嫩久久99精品久久久久久夜| 色哟哟亚洲精品| 精品国产乱码久久久久久1区2区| 中文字幕在线一区| 日韩激情在线观看| 成人av在线影院| 欧美一级欧美三级| 国产精品久久久久久户外露出| 亚洲福利一二三区| 粉嫩aⅴ一区二区三区四区| 欧美三级欧美一级| 欧美激情一区二区三区蜜桃视频| 91麻豆swag| 久久久久久久久久久99999| 亚洲男人的天堂一区二区| 美女在线视频一区| 欧美综合亚洲图片综合区| 久久女同精品一区二区| 视频在线观看一区二区三区| av中文字幕不卡| 久久欧美一区二区| 欧美96一区二区免费视频| 色综合色狠狠天天综合色| 国产亚洲午夜高清国产拍精品| 日韩精品一二三| 在线观看不卡视频| 国产精品麻豆欧美日韩ww| 精品一区二区在线看| 欧美丝袜丝交足nylons图片| 国产精品不卡在线观看| 另类小说视频一区二区| 7777精品伊人久久久大香线蕉的| 国产精品久久久久久久久久久免费看| 精品一二线国产| 91精品国产入口| 午夜精品久久久久久久久| 91同城在线观看| 国产精品久久久久久久久久久免费看| 美女在线一区二区| 欧美成人bangbros| 免费观看91视频大全| 337p亚洲精品色噜噜噜| 亚洲成人免费影院| 欧美日免费三级在线| 亚洲午夜免费电影| 色婷婷精品久久二区二区蜜臂av| 国产农村妇女精品| 成人久久久精品乱码一区二区三区| 精品国产自在久精品国产| 美女网站在线免费欧美精品| 91首页免费视频|