/
NetMLDP_HostGrpLeave
NetMLDP_HostGrpLeave
Leave a MLDP host group.
Files
net_mldp.h/net_mldp.c
Prototype
CPU_BOOLEAN NetMLDP_HostGrpLeave (NET_IF_NBR if_nbr, NET_IPv6_ADDR *p_addr_grp, NET_ERR *p_err);
Arguments
if_nbr
Interface number to leave host group.
p_addr_grp
Pointer to IPv6 address of host group to leave.
p_err
Pointer to variable that will receive the return error code from this function:
NET_MLDP_ERR_NONE
NET_MLDP_ERR_INVALID_ADDR_GRP
NET_MLDP_ERR_HOST_GRP_NOT_FOUND
NET_INIT_ERR_NOT_COMPLETED
NET_IF_ERR_INVALID_IF
NET_MLDP_ERR_TX
NET_ERR_FAULT_LOCK_ACQUIRE
Returned Value
DEF_OK
,
if host group successfully left.
DEF_FAIL
,
otherwise.
Required Configuration
MDLP module is automatically enabled when using IPv6. Therefore, NET_IPv6_CFG_EN
must be enabled to use MLDP module (see section Network Stack Configuration).
Notes / Warnings
None.
Related content
NetMLDP_HostGrpJoin
NetMLDP_HostGrpJoin
More like this
NetIGMP_HostGrpLeave
NetIGMP_HostGrpLeave
More like this
Joining and Leaving a Multicast Group
Joining and Leaving a Multicast Group
More like this
NetIGMP_HostGrpJoin
NetIGMP_HostGrpJoin
More like this
NetIPv6_CfgAddrRemove
NetIPv6_CfgAddrRemove
More like this
NetIPv6_GetAddrHost
NetIPv6_GetAddrHost
More like this