FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vl_api_igmp_listen_t |
struct | vl_api_igmp_enable_disable_t |
Used by a 'router' and 'host' to enable the reception of IGMP packets. More... | |
struct | vl_api_igmp_proxy_device_add_del_t |
Add/del proxy device on specified VRF. More... | |
struct | vl_api_igmp_proxy_device_add_del_interface_t |
Add/del downstream interface to/from proxy device. More... | |
struct | vl_api_igmp_dump_t |
dump (S,G)s from interface More... | |
struct | vl_api_igmp_details_t |
igmp details More... | |
struct | vl_api_igmp_clear_interface_t |
remove all (S,G)s from an interface More... | |
struct | vl_api_want_igmp_events_t |
register for igmp events More... | |
struct | vl_api_igmp_event_t |
igmp event details More... | |
struct | vl_api_igmp_group_prefix_set_t |
Configure a prefix for SSM or ASM semantics. More... | |
struct | vl_api_igmp_group_prefix_dump_t |
struct | vl_api_igmp_group_prefix_details_t |
Enumerations | |
enum | filter_mode { EXCLUDE = 0, INCLUDE = 1 } |
Filter mode. More... | |
enum | group_prefix_type { ASM = 0, SSM = 1 } |
enum to specify either ASM or SSM semantics More... | |
Variables | |
option | version = "1.0.0" |
import vnet ip ip_types | api |
typedef | igmp_group |
Used by a 'host' to enable the reception/listening of packets for a specific multicast group. More... | |
u8 | n_srcs |
vl_api_interface_index_t | sw_if_index |
vl_api_ip4_address_t | gaddr |
vl_api_ip4_address_t | saddrs [n_srcs] |
service | |
typedef | group_prefix |
Definition of a Group prefix and its type. More... | |
vl_api_prefix_t | prefix |
enum filter_mode |
enum group_prefix_type |
typedef group_prefix |
typedef igmp_group |
Used by a 'host' to enable the reception/listening of packets for a specific multicast group.
For each socket on which IPMulticastListen has been invoked, the system records the desired multicast reception state for that socket. That state conceptually consists of a set of records of the form:
(interface, multicast-address, filter-mode, source-list)
The socket state evolves in response to each invocation of IPMulticastListen on the socket, as follows:
o If the requested filter mode is INCLUDE and the requested source list is empty, then the entry corresponding to the requested interface and multicast address is deleted if present. If no such entry is present, the request is ignored.
o If the requested filter mode is EXCLUDE or the requested source list is non-empty, then the entry corresponding to the requested interface and multicast address, if present, is changed to contain the requested filter mode and source list. If no such entry is present, a new entry is created, using the parameters specified in the request.
client_index | - opaque cookie to identify the sender |
context | - sender context, to match reply w/ request |
sw_if_index | - interface sw index |
filter | - filter mode |
saddr | - source address |
gaddr | - group address |
service |