Nicolas Borla / Mbed OS BBR_1Ebene
Embed: (wiki syntax)

« Back to documentation index

ip_mreq Struct Reference

ip_mreq Struct Reference
[Fnet_socket]

IPv4 multicast group information. More...

#include <fnet_socket.h>

Data Fields

struct in_addr imr_multiaddr
 IPv4 multicast address of group.
fnet_scope_id_t imr_interface
 Interface index.

Detailed Description

IPv4 multicast group information.

The structure is used with the IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP socket options.

See also:
IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP

Definition at line 292 of file sockets.h.


Field Documentation

fnet_scope_id_t imr_interface

Interface index.

It equals to the scope zone index, defining network interface.
If this member is zero, the default interface is used.

Definition at line 297 of file fnet_socket.h.

IPv4 multicast address of group.

Definition at line 293 of file sockets.h.