4. Protocol Description for Multicast Listeners
This section describes the part of MLDv2 that applies to multicast listeners (hosts or routers). The protocol described in this section is performed over each interface on which multicast reception is supported.
Dieser Abschnitt beschreibt den Teil von MLDv2, der für Multicast-Listener (Hosts oder Router) gilt. Das in diesem Abschnitt beschriebene Protokoll wird über jede Schnittstelle ausgeführt, auf der Multicast-Empfang unterstützt wird.
4.1. Multicast Listener State
A multicast listener maintains a per-interface state for each multicast address. This state consists of a filter mode and a list of source addresses.
Ein Multicast-Listener pflegt einen Status pro Schnittstelle für jede Multicast-Adresse. Dieser Status besteht aus einem Filtermodus und einer Liste von Quelladressen.
-
Filter Mode: Can be either INCLUDE or EXCLUDE.
Filter Mode: Kann entweder INCLUDE oder EXCLUDE sein.
-
Source List: A set of unicast IP addresses from which multicast packets are accepted (if mode is INCLUDE) or rejected (if mode is EXCLUDE).
Source List: Eine Menge von Unicast-IP-Adressen, von denen Multicast-Pakete akzeptiert (wenn Modus INCLUDE ist) oder abgelehnt (wenn Modus EXCLUDE ist) werden.
4.2. Action on Change of Interface State
When the multicast reception state on an interface changes (e.g., an application joins a group or changes its source filters), the listener immediately transmits a State Change Report.
Wenn sich der Multicast-Empfangsstatus auf einer Schnittstelle ändert (z. B. tritt eine Anwendung einer Gruppe bei oder ändert ihre Quellfilter), sendet der Listener sofort einen State Change Report.
The State Change Report contains a Multicast Address Record for the affected multicast address. The Record Type and content depend on the change:
Der State Change Report enthält einen Multicast Address Record für die betroffene Multicast-Adresse. Der Record Type und der Inhalt hängen von der Änderung ab:
| Old State | New State | Record Type | Content |
|---|---|---|---|
| INCLUDE (A) | INCLUDE (B) | ALLOW | B - A |
| INCLUDE (A) | INCLUDE (B) | BLOCK | A - B |
| EXCLUDE (A) | EXCLUDE (B) | ALLOW | A - B |
| EXCLUDE (A) | EXCLUDE (B) | BLOCK | B - A |
| INCLUDE (A) | EXCLUDE (B) | TO_EX | B |
| EXCLUDE (A) | INCLUDE (B) | TO_IN | B |
4.3. Action on Reception of a Query
When a listener receives a Query, it performs the following actions:
Wenn ein Listener eine Query empfängt, führt er die folgenden Aktionen aus:
-
If the Query is a General Query, the listener sends a Current State Report for all multicast addresses for which it has state.
Wenn die Query eine General Query ist, sendet der Listener einen Current State Report für alle Multicast-Adressen, für die er einen Status hat.
-
If the Query is a Multicast-Address-Specific Query, the listener sends a Current State Report for the specified multicast address (if it has state for it).
Wenn die Query eine Multicast-Address-Specific Query ist, sendet der Listener einen Current State Report für die angegebene Multicast-Adresse (wenn er einen Status dafür hat).
-
If the Query is a Multicast-Address-and-Source-Specific Query, the listener sends a Current State Report for the specified multicast address if the specified sources are of interest.
Wenn die Query eine Multicast-Address-and-Source-Specific Query ist, sendet der Listener einen Current State Report für die angegebene Multicast-Adresse, wenn die angegebenen Quellen von Interesse sind.
The Current State Report contains Multicast Address Records with the following Record Types:
Der Current State Report enthält Multicast Address Records mit den folgenden Record Types:
-
MODE_IS_INCLUDE: Indicates that the interface has a filter mode of INCLUDE for the specified multicast address. The Source List contains the specific sources of interest.
MODE_IS_INCLUDE: Zeigt an, dass die Schnittstelle einen Filtermodus von INCLUDE für die angegebene Multicast-Adresse hat. Die Source List enthält die spezifischen Quellen von Interesse.
-
MODE_IS_EXCLUDE: Indicates that the interface has a filter mode of EXCLUDE for the specified multicast address. The Source List contains the specific sources to be excluded.
MODE_IS_EXCLUDE: Zeigt an, dass die Schnittstelle einen Filtermodus von EXCLUDE für die angegebene Multicast-Adresse hat. Die Source List enthält die spezifischen Quellen, die ausgeschlossen werden sollen.
The Report is sent after a random delay (up to the Maximum Response Delay specified in the Query) to avoid synchronization of Reports from multiple listeners.
Der Report wird nach einer zufälligen Verzögerung (bis zu dem in der Query angegebenen Maximum Response Delay) gesendet, um eine Synchronisierung von Reports von mehreren Listenern zu vermeiden.