RTN_FN_GETMCASTCOUNT

RTN_FN_GETMCASTCOUNT is a pointer to an application function that is normally used in RtndIoctl to determine the multicast address count.

Syntax

INT (*RTN_FN_GETMCASTCOUNT)(
	PVOID pAppContext
);

Parameters

pAppContext

Application context pointer used as an argument in RtNalConfigureQueue.

Return Value

Returns the number of multicast addresses that have been added to this instance of the network device if the function succeeds.

Remarks

If an application callback RTN_FN_GETMCASTCOUNT was supplied in RtNalConfigureQueue, it is called from RtnGetMcastCount in a device driver while processing an ENIOADDMULTI command.

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

Requirements

Minimum Supported Version RTX64 4.0
Header rtnapi.h, RtNalApi.h
Library RtNal.lib

See Also: