PMIPV6 support over IPV4 network

PMIPv6 is an extension of MIPv6, adding a certain number of options to the
MIPv6 protocol. These options are already implemented in the wireshark
dissector, and the MIPv6 headers are recognized, but only inside IPv6 packets.

However, RFC5844 extends the PMIPv6 protocol to make it work over IPv4 networks
: as explained in section 4 of this RFC, the MIPv6 message is carried inside an
IPv4 packet with a UDP header. The port number in the UDP header is 5436


svn path=/trunk/; revision=43505
This commit is contained in:
Alexis La Goutte 2012-06-27 13:27:28 +00:00
parent 2851255f53
commit fca94d1d2d

View file

@ -41,6 +41,8 @@
#include <epan/expert.h>
#include <epan/sminmpec.h>
#define UDP_PORT_PMIP6_CNTL 5436
/* Mobility Header types */
typedef enum {
MIP6_BRR = 0,
@ -2501,5 +2503,7 @@ proto_reg_handoff_mip6(void)
mip6_handle = create_dissector_handle(dissect_mip6, proto_mip6);
dissector_add_uint("ip.proto", IP_PROTO_MIPV6_OLD, mip6_handle);
dissector_add_uint("ip.proto", IP_PROTO_MIPV6, mip6_handle);
/* Add support for PMIPv6 control messages over IPV4 */
dissector_add_uint("udp.port", UDP_PORT_PMIP6_CNTL, mip6_handle);
ip_dissector_table = find_dissector_table("ip.proto");
}