Contents

ifnet_get_tso_mtu

Declaration

errno_t ifnet_get_tso_mtu(ifnet_t interface, sa_family_t family, u_int32_t *mtuLen);

Parameters

  • interface:

    The interface.

  • family:

    The family for which the offload MTU is provided for (AF_INET or AF_INET6)

  • mtuLen:

    Value of the maximum MTU supported for the interface and family provided.

Return Value

0 on success otherwise the errno error.

Discussion

Returns maximum TCP Segmentation Offload segment size for the interface

See Also

Network Kernel Extensions