UdpLeaveMulticastSourcesCommand

Namespace: inet

class UdpLeaveMulticastSourcesCommand

Control info for letting an UDP socket to leave a multicast group for the selected sources.

see IP_DROP_SOURCE_MEMBERSHIP socket option

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

UdpSetOptionCommand

class

Base class for UDP socket option control info classes.

Fields

Name

Type

Description

optionCode

UdpSetOptionSubcode

optionCode

interfaceId

int

multicastAddr

L3Address

sourceList

L3Address[]

Source code

//
// Control info for letting an UDP socket to leave a multicast group
// for the selected sources.
//
// see IP_DROP_SOURCE_MEMBERSHIP socket option
class UdpLeaveMulticastSourcesCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_LEAVE_MCAST_SRC;
    int interfaceId;
    L3Address multicastAddr;
    L3Address sourceList[];
}

File: src/inet/transportlayer/contract/udp/UdpCommand.msg