RtnGetMcastCount

RtnGetMcastCount is normally used in RtndIoctl to determine the multicast address count.  

Syntax

int RtnGetMcastCount(
    void *ndp
);

Parameters

ndp

Network Device Pointer. Opaque network device identifier (pointer).

Return Value

Number of multicast addresses that have been added to this instance of the network device.

Remarks

If RtnGetMcastCount returns 0 during the processing of a ENIOADDMULTI command, then it is the first multicast address being added to the NIC. If RtnGetMcastCount returns 0 during the processing of ENIODELMULTI, then it is the last address being deleted from the NIC. In other words, RtnGetMcastCount returns a pre-increment/post-decrement counter of the number of addresses added to the NIC.

Requirements

Minimum Supported Version RTX64 2013
Header rtnapi.h
Library RtTcpip.lib