IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


Functions
Device driver API

Detailed Description

The SC1x, SC2x, SC1x3 and SC2x3 TCP/IP device driver API is no longer supported on the @CHIP-RTOS-LNX to add own device drivers. However, some function of this API are useful for setting/getting the device configuration. Such functions are still provided here.

Functions

DevUserIfaceHandle Dev_Find_Iface_By_Name (const char *name)
 Get the driver handle. More...
 
int Dev_Get_IfaceEntries (Iface_Device_Entry *iface_entry, int max)
 Get device interface table for IPv4 interfaces. More...
 
int Dev_Get_IfaceEntries_IPv6 (IfaceIPv6_Entry *iface_entry, int max)
 Get device interface table for IPv6 interfaces. More...
 
int Dev_Get_IP (DevUserIfaceHandle IfaceHandle, unsigned long *IpAddr, unsigned long *Netmask, int *errorCode)
 Get IP configuration of an interface. More...
 
int Dev_Get_Handle_By_Name (const char *drivername, DevUserIfaceHandle *DevHandlePtr, int *error)
 Get the driver handle. More...
 
int Dev_Config_Iface (DevIpv4IfaceCfg *devIPv4CfgData, int *error)
 IPv4 configuration of a device. More...
 
int Dev_Config_Iface_IPv6 (DevIpv6IfaceCfg *devIPv6CfgData, int *error)
 IPv6 configuration of a device. More...
 
int Dev_UnConfig_Iface (DevUserIfaceHandle IfaceHandle, unsigned int proto, unsigned char mHomeIndex, int *error)
 Un-Configure an interface. More...
 
UserEthDhcp_EntryDev_Get_DHCP_BootData (DevUserIfaceHandle devHandlePtr)
 Retrieve DHCP boot data. More...
 
int Dev_Get_DHCP_Data (DevUserIfaceHandle devHandlePtr, UserEthDhcp_Entry **dhcpDataPtr)
 Retrieve DHCP boot data. More...
 
void Dev_Get_DHCP_Status (DevUserIfaceHandle devUserIfaceHandle, unsigned int *dhcp_use, unsigned int *dhcp_stat)
 Retrieve DHCP status of an interface. More...
 
int Dev_Renew_DHCP (DevUserIfaceHandle DevHandlePtr, int *error)
 Request the renewal of the DHCP lease. More...
 
int Dev_PPP_Get_Peer_DNSIP (DevUserIfaceHandle devHandlePtr, long *ipAddress, int flag, int *errorCode)
 Set PPP option on an own PPP device driver. More...
 
int Dev_PPP_Get_Peer_IP (DevUserIfaceHandle devHandlePtr, long *ipAddress, int *errorCode)
 Set PPP option on an own PPP device driver. More...
 
int Dev_Set_IfaceMTU (DevUserIfaceHandle devHandlePtr, int ifMTU)
 Set MTU. More...
 
int SetIfaceMTU (IP_INTERFACE which_interface, const void *userIfaceHandle, int ifMTU, int *error)
 Set device MTU. More...
 





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:15 by Doxygen 1.8.13