@CHIP-RTOS C Library V2.06 - TCP/IP API
SetIfaceMTU
Set MTU (Maximum Transfer Unit) of a device interface. int SetIfaceMTU ( IP_INTERFACE which_interface,
const void far *userIfaceHandle,
int mtu,
int *error ); Parameters
which_interface
- Enumeration type:
- II_ETHERNET = 0: Ethernet
- II_PPP_SERVER = 1: PPP server
- II_PPP_CLIENT = 2: PPP client
- II_USER_DEVICE = 3: user device driver
userIfaceHandle
- If which_interface is 3,
this parameter is a pointer to user device handle.
mtu
- Maximum Transfer Unit
error
- Output parameter: Failure
code, 0 on success.
Return Value
- 0: success
-1: See reported error
code.
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.11 | V1.01 | V1.01 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|