forked from osmocom/wireshark
Add dissection of router address(R) flag. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6350.
svn path=/trunk/; revision=39029
This commit is contained in:
parent
207297d913
commit
afb6549467
|
@ -79,6 +79,7 @@
|
|||
* RFC 5075/5175: IPv6 Router Advertisement Flags Option
|
||||
* RFC 5269: Distributing a Symmetric Fast Mobile IPv6 (FMIPv6) Handover Key Using SEcure Neighbor Discovery (SEND)
|
||||
* RFC 5271: Mobile IPv6 Fast Handovers for 3G CDMA Networks
|
||||
* RFC 6275: Mobility Support in IPv6
|
||||
* draft-ieft-roll-rpl-19.txt: RPL: IPv6 Routing Protocol for Low power and Lossy Networks
|
||||
* draft-ietf-csi-proxy-send-05: Secure Proxy ND Support for SEND
|
||||
* draft-ietf-6lowpan-nd-17: Neighbor Discovery Optimization for Low Power and Lossy Networks (6LoWPAN)
|
||||
|
@ -138,6 +139,7 @@ static int hf_icmpv6_opt_prefix_len = -1;
|
|||
static int hf_icmpv6_opt_prefix_flag = -1;
|
||||
static int hf_icmpv6_opt_prefix_flag_l = -1;
|
||||
static int hf_icmpv6_opt_prefix_flag_a = -1;
|
||||
static int hf_icmpv6_opt_prefix_flag_r = -1;
|
||||
static int hf_icmpv6_opt_prefix_flag_reserved = -1;
|
||||
static int hf_icmpv6_opt_prefix_valid_lifetime = -1;
|
||||
static int hf_icmpv6_opt_prefix_preferred_lifetime = -1;
|
||||
|
@ -1345,6 +1347,7 @@ dissect_icmpv6_nd_opt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree
|
|||
|
||||
proto_tree_add_item(flag_tree, hf_icmpv6_opt_prefix_flag_l, tvb, opt_offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(flag_tree, hf_icmpv6_opt_prefix_flag_a, tvb, opt_offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(flag_tree, hf_icmpv6_opt_prefix_flag_r, tvb, opt_offset, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(flag_tree, hf_icmpv6_opt_prefix_flag_reserved, tvb, opt_offset, 1, ENC_BIG_ENDIAN);
|
||||
opt_offset += 1;
|
||||
|
||||
|
@ -3859,8 +3862,11 @@ proto_register_icmpv6(void)
|
|||
{ &hf_icmpv6_opt_prefix_flag_a,
|
||||
{ "Autonomous address-configuration flag(A)", "icmpv6.opt.prefix.flag.a", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x40,
|
||||
"When set indicates that this prefix can be used for stateless address configuration", HFILL }},
|
||||
{ &hf_icmpv6_opt_prefix_flag_r,
|
||||
{ "Router address flag(R)", "icmpv6.opt.prefix.flag.r", FT_BOOLEAN, 8, TFS(&tfs_set_notset), 0x20,
|
||||
"When set indicates that the Prefix field contains a complete IP address assigned to the sending router", HFILL }},
|
||||
{ &hf_icmpv6_opt_prefix_flag_reserved,
|
||||
{ "Reserved", "icmpv6.opt.prefix.flag.reserved", FT_UINT8, BASE_DEC, NULL, 0x3f,
|
||||
{ "Reserved", "icmpv6.opt.prefix.flag.reserved", FT_UINT8, BASE_DEC, NULL, 0x1f,
|
||||
NULL, HFILL }},
|
||||
{ &hf_icmpv6_opt_prefix_valid_lifetime,
|
||||
{ "Valid Lifetime", "icmpv6.opt.prefix.valid_lifetime", FT_UINT32, BASE_DEC, NULL, 0x00,
|
||||
|
|
Loading…
Reference in New Issue