IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


IP configuration/address conversion


Detailed Description

Several functions required for IP configuration and address conversion purposes.

TCPIP API main page

Functions

void Get_IPConfig (char *IpStr, char *MaskStr, char *GatewayStr)
 Get IP configuration of the internal ethernet interface.
void Set_IPConfig (char *IpStr, char *MaskStr, char *GatewayStr)
 IP configuration of the internal ethernet interface.
int DHCP_use (unsigned char dhcpUse)
 Set/Reset DHCP usage on the internal Ethernet interface.
void Get_DHCP_Status_Ext (unsigned int *dhcpUse, unsigned int *dhcpStat, UserEthDhcp_Entry **dhcpBootDataPtr)
 Retrieve DHCP status of the ethernet interface.
void Get_DHCP_Status (unsigned int *dhcpUse, unsigned int *dhcpStat)
 Retrieve DHCP status of the ethernet interface.
int AddMulticastIPv4 (unsigned long ipv4Address, unsigned char *macAddress, void *devHandle)
 Install an IPv4 multicast address entry..
int DelMulticastIPv4 (unsigned long ipv4Address, void *devHandle)
 Remove an IPv4 multicast address entry..
int Add_IGMP_Membership (const unsigned long *MulticastIP, const unsigned char *MacAddress, int *error)
 Install an ethernet IPv4 multicast address entry.
int Drop_IGMP_Membership (const unsigned long *MulticastIP, int *error)
 Remove an ethernet IPv4 multicast address entry.
int IPMulticast_to_MacAddr (const unsigned long *MulticastIP, unsigned char *MacAddress, int *error)
 Map IP multicast address to ethernet address.
int inet_pton (int af, const char *source_ptr, void *dest_ptr)
 Convert an IPv4/IPv6 address text to binary.
const char * inet_ntop (int af, const void *source_ptr, char *dest_ptr, int max)
 Convert an IPv4/IPv6 address binary to text.
char * inet_ntoa (struct in_addr inAddr)
 Convert an IP address structure binary to text.
unsigned long inet_aton (const char *ipAddressDottedStringPtr)
 Convert an IP address from text to binary.
int inet_addr (const char *IPAddressStringPtr, unsigned long *IPAddress)
 Convert IPv4 address string.
int InetToAscii (const unsigned long *IPAddress, char *IPAddressStringPtr)
 Convert IPv4 address binary to text.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:39 2017 by Doxygen 1.6.1