Contents

ifnet_set_tso_mtu

Declaration

errno_t ifnet_set_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:

    Maximum segment size supported by the interface

Return Value

0 on success otherwise the errno error.

Discussion

Sets maximum TCP Segmentation Offload segment size for the interface

See Also

Network Kernel Extensions