IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

int SetIfaceMTU ( IP_INTERFACE  which_interface,
const void *  userIfaceHandle,
int  ifMTU,
int *  error 

Set MTU (Maximum Transfer Unit) of a device interface. .

[in] which_interface Specifies the device entry
[in] userIfaceHandle If which_interface==3 Pointer to user device handle, retrievable by Dev_Find_Iface_By_Name().
[in] ifMTU Pointer to gateway IP address in network byte order.
[out] error Error code on failure, 0 on success.
-1: Error, see reported error code
0: Success
Changing the MTU can only be done, if the interface is closed, e.g. after execution of PPP_Client_Close()
SC2x3 V1.00 - CLIB V1.00
This legacy function can be replaced by Dev_Set_IfaceMTU() and is only left for backward compatibility.

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:17 2018 by Doxygen 1.6.1