see also: http://www.cbttn.com/nwc/artica2_1_03.htm下面是IGMPv1和IGMPv2的报文格式: 0bits 4bits 8bits 16bits 31bits Ver Type Unused Checksum Class D address (D类地址) IGMP v1报文的格式 0bit 8bits 16bits 31bits Type Mix Response Time Checksum
Number Title Author or Ed. Date Format More Info (Obs&Upd) Status STD0005 RFC0791 internet protocol j. postel sep-01-1981 ascii obsoletes RFC760, updated by RFC1349 standard STD0005 RFC0792 internet control message protocol j. postel sep-01-1981 ascii obsoletes RFC777, updated by RFC950 standard STD0005 RFC0919 broadcasting internet datagrams j.c. mogul oct-01-1984 ascii standard STD0005 RFC0922 broadcasting internet datagrams in the presence of subnets j.c. mogul oct-01-1984 ascii standard STD0005 RFC0950 internet standard subnetting procedure j.c. mogul, j. postel aug-01-1985 ascii updates RFC792 standard STD0005 RFC1112 host extensions for ip multicasting s.e. deering aug-01-1989 ascii obsoletes RFC988, RFC1054, updated by RFC2236 standard RFC3376 Internet Group Management Protocol, Version 3 B. Cain, S. Deering, I. Kouvelas, B. Fenner, A. Thyagarajan October 2002 ASCII obsoletes RFC988, RFC1054, updated by RFC2236 Obsoletes RFC2236 PROPOSED STANDARD RFC3228 BCP0057 IANA Considerations for IPv4 Internet Group Management Protocol (IGMP) B. Fenner February 2002 ASCII BEST CURRENT PRACTICE RFC2933 Internet Group Management Protocol MIB K. McCloghrie, D. Farinacci, D. Thaler October 2000 ASCII PROPOSED STANDARD RFC2236 Internet Group Management Protocol, Version 2 W. Fenner November 1997 ASCII Obsoleted by RFC3376, Updates RFC1112 PROPOSED STANDARD RFC1885 Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) A. Conta, S. Deering December 1995 ASCII Obsoleted by RFC2463 PROPOSED STANDARD
http://www.cbttn.com/nwc/artica2_1_03.htm下面是IGMPv1和IGMPv2的报文格式: 0bits 4bits 8bits 16bits 31bits Ver Type Unused Checksum Class D address (D类地址)
IGMP v1报文的格式 0bit 8bits 16bits 31bits Type
Mix Response Time
Checksum
Class D address (D类地址)
IGMPv2报文的格式
{
BYTE i_type;//ICMP报文类型
BYTE i_code;//ICMP代码
USHORT i_cksum;//检验和
USHORT i_seq;//序列号
USHORT i_id;//
ULONG timestamp;//时间戳
}IcmpHeader;
STD0005
RFC0791 internet protocol j. postel sep-01-1981 ascii obsoletes RFC760, updated by RFC1349 standard
STD0005
RFC0792 internet control message protocol j. postel sep-01-1981 ascii obsoletes RFC777, updated by RFC950 standard
STD0005
RFC0919 broadcasting internet datagrams j.c. mogul oct-01-1984 ascii standard
STD0005
RFC0922 broadcasting internet datagrams in the presence of subnets j.c. mogul oct-01-1984 ascii standard
STD0005
RFC0950 internet standard subnetting procedure j.c. mogul, j. postel aug-01-1985 ascii updates RFC792 standard
STD0005
RFC1112 host extensions for ip multicasting s.e. deering aug-01-1989 ascii obsoletes RFC988, RFC1054, updated by RFC2236 standard
RFC3376
Internet Group Management Protocol, Version 3 B. Cain, S. Deering, I. Kouvelas, B. Fenner, A. Thyagarajan October 2002 ASCII obsoletes RFC988, RFC1054, updated by RFC2236 Obsoletes RFC2236 PROPOSED STANDARD
RFC3228
BCP0057
IANA Considerations for IPv4 Internet Group Management Protocol (IGMP) B. Fenner February 2002 ASCII BEST CURRENT PRACTICE
RFC2933
Internet Group Management Protocol MIB K. McCloghrie, D. Farinacci, D. Thaler October 2000 ASCII PROPOSED STANDARD
RFC2236
Internet Group Management Protocol, Version 2 W. Fenner November 1997 ASCII Obsoleted by RFC3376, Updates RFC1112 PROPOSED STANDARD
RFC1885
Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) A. Conta, S. Deering December 1995 ASCII Obsoleted by RFC2463 PROPOSED STANDARD