parent
9b2e608670
commit
ed0861abaa
|
@ -117,6 +117,7 @@ static int hf_mip_nvse_vendor_nvse_type = -1;
|
|||
static int hf_mip_nvse_vendor_nvse_value = -1;
|
||||
static int hf_mip_nvse_3gpp2_type = -1;
|
||||
static int hf_mip_nvse_3gpp2_type17_entity = -1;
|
||||
static int hf_mip_nvse_3gpp2_type16_value = -1;
|
||||
static int hf_mip_nvse_3gpp2_type17_subtype1 = -1;
|
||||
static int hf_mip_nvse_3gpp2_type17_subtype2 = -1;
|
||||
static int hf_mip_nvse_3gpp2_type17_length = -1;
|
||||
|
@ -409,6 +410,7 @@ static const value_string mip_cvse_verizon_cvse_types[]= {
|
|||
|
||||
|
||||
static const value_string mip_nvse_3gpp2_type_vals[]= {
|
||||
{16, "PPP Link Indicator"}, /* X.S0011-003-C v1.0 */
|
||||
{17, "DNS server IP address"},
|
||||
{0, NULL}
|
||||
};
|
||||
|
@ -421,6 +423,13 @@ static const value_string mip_nvse_3gpp2_type17_entity_vals[]= {
|
|||
{0, NULL}
|
||||
};
|
||||
|
||||
static const value_string mip_nvse_3gpp2_type17_vals[]= {
|
||||
{0, "main service instance"},
|
||||
{1, "negotiate PPP"},
|
||||
{2, "do not negotiate PPP"},
|
||||
{0, NULL}
|
||||
};
|
||||
|
||||
static dissector_handle_t ip_handle;
|
||||
|
||||
/* Code to dissect 3GPP2 extensions */
|
||||
|
@ -437,6 +446,9 @@ dissect_mip_priv_ext_3gpp2(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
|
|||
offset+=2;
|
||||
|
||||
switch(type){
|
||||
case 16: /* PPP Link Indicato X.S0011-003-C v1.0 */
|
||||
proto_tree_add_item(tree, hf_mip_nvse_3gpp2_type16_value, tvb, offset, 2, ENC_BIG_ENDIAN);
|
||||
break;
|
||||
case 17: /* DNS server IP address X.S0011-002-C v3.0*/
|
||||
/* Entity-Type */
|
||||
proto_tree_add_item(tree, hf_mip_nvse_3gpp2_type17_entity, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
|
@ -1361,6 +1373,11 @@ void proto_register_mip(void)
|
|||
FT_UINT16, BASE_DEC, VALS(mip_nvse_3gpp2_type_vals), 0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_mip_nvse_3gpp2_type16_value ,
|
||||
{ "value", "mip.ext.nvse.3gpp2.type16.value",
|
||||
FT_UINT16, BASE_DEC, VALS(mip_nvse_3gpp2_type17_vals), 0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_mip_nvse_3gpp2_type17_entity,
|
||||
{ "Entity-Type", "mip.ext.nvse.3gpp2.type17.entity",
|
||||
FT_UINT8, BASE_DEC, VALS(mip_nvse_3gpp2_type17_entity_vals), 0,
|
||||
|
|
Loading…
Reference in New Issue