Changeset 262 for uKadecot/trunk/uip/net/ip/uiplib.h
- Timestamp:
- Nov 18, 2016, 2:58:30 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uKadecot/trunk/uip/net/ip/uiplib.h
r157 r262 53 53 * 54 54 * This function takes a textual representation of an IP address in 55 * the form a.b.c.d and converts it into a 4-byte array that can be 56 * used by other uIP functions. 55 * the form a.b.c.d for IPv4 or a:b:c:d:e:f:g:h for IPv6 and converts 56 * it into a numeric IP address representation that can be used by 57 * other uIP functions. 57 58 * 58 59 * \param addrstr A pointer to a string containing the IP address in 59 60 * textual form. 60 61 * 61 * \param addr A pointer to a 4-byte arraythat will be filled in with62 * \param addr A pointer to a uip_ipaddr_t that will be filled in with 62 63 * the numerical representation of the address. 63 64 * … … 65 66 * \retval Non-zero If the IP address was parsed. 66 67 */ 67 unsigned char uiplib_ipaddrconv(char *addrstr, unsigned char*addr);68 int uiplib_ipaddrconv(const char *addrstr, uip_ipaddr_t *addr); 68 69 69 70 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.