3. Packet Formats
This section describes the details of the MLDv2 packet formats. All MLDv2 messages are sent in ICMPv6 packets [RFC2463].
Questa sezione descrive i dettagli dei formati dei pacchetti MLDv2. Tutti i messaggi MLDv2 vengono inviati in pacchetti ICMPv6 [RFC2463].
3.1. Multicast Listener Query Message
Multicast Listener Query Messages are sent by multicast routers to query the multicast reception state of neighboring interfaces. They have the following format:
I messaggi di interrogazione ascoltatore multicast (Multicast Listener Query Messages) vengono inviati dai router multicast per interrogare lo stato di ricezione multicast delle interfacce vicine. Hanno il seguente formato:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type = 130 | Code | Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Maximum Response Code | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
* *
| Multicast Address |
* *
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Resv |S| QRV | QQIC | Number of Sources (N) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
* *
| Source Address [1] |
* *
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
* *
| Source Address [2] |
* *
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. . .
. . .
. . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
* *
| Source Address [N] |
* *
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3.1.1. Type
130 (Multicast Listener Query)
130 (Interrogazione ascoltatore multicast)
3.1.2. Code
Initialized to zero by the sender; ignored by receivers.
Inizializzato a zero dal mittente; ignorato dai destinatari.
3.1.3. Checksum
The standard ICMPv6 checksum.
Il checksum ICMPv6 standard.
3.1.4. Maximum Response Code
Specifies the maximum time allowed before sending a responding Report. The actual time allowed, called the Maximum Response Delay, is represented in units of milliseconds, and is derived from the Maximum Response Code as follows:
Specifica il tempo massimo consentito prima dell'invio di un report di risposta. Il tempo effettivo consentito, chiamato ritardo massimo di risposta (Maximum Response Delay), è rappresentato in unità di millisecondi ed è derivato dal codice di risposta massimo (Maximum Response Code) come segue:
If Maximum Response Code < 32768, Maximum Response Delay = Maximum Response Code
Se Maximum Response Code < 32768, Maximum Response Delay = Maximum Response Code
If Maximum Response Code >= 32768, Maximum Response Code represents a floating-point value as follows:
Se Maximum Response Code >= 32768, Maximum Response Code rappresenta un valore in virgola mobile come segue:
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|1| exp | mant |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Maximum Response Delay = (mant | 0x1000) << (exp + 3)
3.1.5. Reserved
Initialized to zero by the sender; ignored by receivers.
Inizializzato a zero dal mittente; ignorato dai destinatari.
3.1.6. Multicast Address
-
For a General Query, the Multicast Address field is set to zero.
-
For a Multicast-Address-Specific Query, it is set to the multicast address being queried.
-
For a Multicast-Address-and-Source-Specific Query, it is set to the multicast address being queried.
-
Per un'interrogazione generale (General Query), il campo Indirizzo Multicast è impostato a zero.
-
Per un'interrogazione specifica per indirizzo multicast (Multicast-Address-Specific Query), è impostato sull'indirizzo multicast interrogato.
-
Per un'interrogazione specifica per indirizzo multicast e sorgente (Multicast-Address-and-Source-Specific Query), è impostato sull'indirizzo multicast interrogato.
3.1.7. S Flag (Suppress Router-Side Processing)
When set to one, indicates to any receiving multicast router that they are to suppress the normal timer updates that they perform upon hearing a Query.
Quando impostato a uno, indica a qualsiasi router multicast ricevente che devono sopprimere i normali aggiornamenti del timer che eseguono quando sentono un'interrogazione.
3.1.8. QRV (Querier's Robustness Variable)
If non-zero, contains the [Robustness Variable] value used by the sender of the Query. If the sender's [Robustness Variable] exceeds 7, the maximum value of 7 is sent.
Se diverso da zero, contiene il valore [Robustness Variable] utilizzato dal mittente dell'interrogazione. Se la [Robustness Variable] del mittente supera 7, viene inviato il valore massimo di 7.
3.1.9. QQIC (Querier's Query Interval Code)
Specifies the [Query Interval] used by the Querier. The actual interval, called the Querier's Query Interval (QQI), is represented in units of seconds, and is derived from the Querier's Query Interval Code as follows:
Specifica l'[Query Interval] utilizzato dal Querier. L'intervallo effettivo, chiamato Intervallo di Interrogazione del Querier (QQI), è rappresentato in unità di secondi ed è derivato dal Codice dell'Intervallo di Interrogazione del Querier (QQIC) come segue:
If QQIC < 128, QQI = QQIC
Se QQIC < 128, QQI = QQIC
If QQIC >= 128, QQIC represents a floating-point value as follows:
Se QQIC >= 128, QQIC rappresenta un valore in virgola mobile come segue:
0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+
|1| exp | mant |
+-+-+-+-+-+-+-+-+
QQI = (mant | 0x10) << (exp + 3)
3.1.10. Number of Sources (N)
Specifies how many source addresses are present in the Query. This number is zero for General Queries and Multicast-Address-Specific Queries, and non-zero for Multicast-Address-and-Source-Specific Queries.
Specifica quanti indirizzi sorgente sono presenti nell'interrogazione. Questo numero è zero per le interrogazioni generali e le interrogazioni specifiche per indirizzo multicast, e diverso da zero per le interrogazioni specifiche per indirizzo multicast e sorgente.
3.1.11. Source Address [i]
The Source Address [i] fields are a vector of n IPv6 unicast addresses, where n is the value in the Number of Sources (N) field.
I campi Indirizzo Sorgente [i] sono un vettore di n indirizzi unicast IPv6, dove n è il valore nel campo Numero di Sorgenti (N).
3.2. Multicast Listener Report Message
Multicast Listener Report Messages are sent by multicast listeners to report their current multicast reception state. They have the following format:
I messaggi di report ascoltatore multicast (Multicast Listener Report Messages) vengono inviati dagli ascoltatori multicast per segnalare il loro attuale stato di ricezione multicast. Hanno il seguente formato:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type = 143 | Reserved | Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved | Nr of Mcast Address Records |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. .
. Multicast Address Record [1] .
. .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. .
. Multicast Address Record [2] .
. .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| . |
. . .
| . |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. .
. Multicast Address Record [M] .
. .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3.2.1. Type
143 (Version 2 Multicast Listener Report)
143 (Report ascoltatore multicast versione 2)
3.2.2. Reserved
Initialized to zero by the sender; ignored by receivers.
Inizializzato a zero dal mittente; ignorato dai destinatari.
3.2.3. Checksum
The standard ICMPv6 checksum.
Il checksum ICMPv6 standard.
3.2.4. Nr of Mcast Address Records (M)
Specifies how many Multicast Address Records are present in this Report.
Specifica quanti record di indirizzo multicast sono presenti in questo report.
3.2.5. Multicast Address Record
Each Multicast Address Record has the following internal format:
Ogni record di indirizzo multicast ha il seguente formato interno:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Record Type | Aux Data Len | Number of Sources (N) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
* *
| Multicast Address |
* *
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
* *
| Source Address [1] |
* *
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. . .
. . .
. . .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
* *
| Source Address [N] |
* *
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. .
. Auxiliary Data .
. .
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3.2.6.1. Record Type
See Section 4.
Vedi Sezione 4.
3.2.6.2. Aux Data Len
The length of the Auxiliary Data field in this Multicast Address Record, in units of 32-bit words.
La lunghezza del campo Dati Ausiliari in questo record di indirizzo multicast, in unità di parole da 32 bit.
3.2.6.3. Number of Sources (N)
Specifies how many source addresses are present in this Multicast Address Record.
Specifica quanti indirizzi sorgente sono presenti in questo record di indirizzo multicast.
3.2.6.4. Multicast Address
The multicast address to which this Multicast Address Record pertains.
L'indirizzo multicast a cui si riferisce questo record di indirizzo multicast.
3.2.6.5. Source Address [i]
The Source Address [i] fields are a vector of n IPv6 unicast addresses, where n is the value in the Number of Sources (N) field.
I campi Indirizzo Sorgente [i] sono un vettore di n indirizzi unicast IPv6, dove n è il valore nel campo Numero di Sorgenti (N).
3.2.6.6. Auxiliary Data
Additional data associated with this Multicast Address Record. Currently, no Auxiliary Data is defined, so Aux Data Len is set to 0 and the field is absent.
Dati aggiuntivi associati a questo record di indirizzo multicast. Attualmente, non sono definiti Dati Ausiliari, quindi Aux Data Len è impostato a 0 e il campo è assente.