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.
本セクションでは、マルチキャストリスナー(ホストまたはルーター)に適用されるMLDv2の部分について説明する。本セクションで説明するプロトコルは、マルチキャスト受信がサポートされている各インターフェース上で実行される。
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.
マルチキャストリスナーは、各マルチキャストアドレスに対してインターフェースごとの状態を維持する。この状態は、フィルタモードとソースアドレスのリストで構成される。
-
Filter Mode: Can be either INCLUDE or EXCLUDE.
フィルタモード(Filter Mode): INCLUDEまたはEXCLUDEのいずれかである。
-
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): マルチキャストパケットが受け入れられる(モードがINCLUDEの場合)か、拒否される(モードがEXCLUDEの場合)ユニキャストIPアドレスのセット。
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.
インターフェース上のマルチキャスト受信状態が変化した場合(例:アプリケーションがグループに参加する、またはソースフィルタを変更するなど)、リスナーは直ちに状態変更レポート(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:
状態変更レポートには、影響を受けるマルチキャストアドレスのマルチキャストアドレスレコードが含まれる。レコードタイプと内容は変更によって異なる:
| 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:
リスナーがクエリを受信すると、以下のアクションを実行する:
-
If the Query is a General Query, the listener sends a Current State Report for all multicast addresses for which it has state.
クエリが一般クエリ(General Query)の場合、リスナーは状態を持つすべてのマルチキャストアドレスについて現在状態レポート(Current State Report)を送信する。
-
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).
クエリがマルチキャストアドレス特定クエリ(Multicast-Address-Specific Query)の場合、リスナーは指定されたマルチキャストアドレスについて現在状態レポートを送信する(状態を持っている場合)。
-
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.
クエリがマルチキャストアドレスおよびソース特定クエリ(Multicast-Address-and-Source-Specific Query)の場合、指定されたソースに関心があれば、リスナーは指定されたマルチキャストアドレスについて現在状態レポートを送信する。
The Current State Report contains Multicast Address Records with the following 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: インターフェースが指定されたマルチキャストアドレスに対してINCLUDEのフィルタモードを持っていることを示す。ソースリストには、関心のある特定のソースが含まれる。
-
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: インターフェースが指定されたマルチキャストアドレスに対してEXCLUDEのフィルタモードを持っていることを示す。ソースリストには、除外される特定のソースが含まれる。
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.
レポートは、複数のリスナーからのレポートの同期を避けるために、ランダムな遅延(クエリで指定された最大応答遅延まで)の後に送信される。