// netadapter.h
void NetAdapterSetLinkLayerMtuSize(
[_In_] NETADAPTER Adapter,
[_In_] ULONG MtuSize
);
View the official Windows Driver Kit DDI referenceNo description available.
Sets the link layer maximum transfer unit size of the adapter.
Adapter [_In_]The network adapter object that the client created in a prior call to NetAdapterCreate.
MtuSize [_In_]The new size of the adapter's MTU, in bytes.
The client driver first sets MTU size by calling NetAdapterSetLinkLayerMtuSize when starting a net adapter, before calling NetAdapterStart.
The client driver can change the MTU size after NetAdapterStart returns by calling this function again. Doing so causes all of the adapter's transmit (Tx) and receive (Rx) queues to be recreated.
NetAdapterSetLinkLayerCapabilities