Contents

ifnet_stat_increment

Declaration

errno_t ifnet_stat_increment(ifnet_t interface, const struct ifnet_stat_increment_param *counts);

Parameters

  • interface:

    The interface.

  • counts:

    A pointer to a structure containing the amount to increment each counter by. Any counts not appearing in the ifnet_counter_increment structure are handled in the stack.

Return Value

0 on success otherwise the errno error.

Discussion

This function is intended to be called by the driver. A kext must not call this function on an interface the kext does not own.

See Also

Network Kernel Extensions