Defines | |
#define | uip_ipaddr(addr, addr0, addr1, addr2, addr3) |
#define | HTONS(n) |
Functions | |
u16_t | htons (u16_t val) |
|
Convert 16-bit quantity from host byte order to network byte order. This macro is primarily used for converting constants from host byte order to network byte order. For converting variables to network byte order, use the htons() function instead. Definition at line 706 of file uip.h. Referenced by example5_init(), main(), uip_arp_arpin(), and uip_init(). |
|
Pack an IP address into a 4-byte array which is used by uIP to represent IP addresses. Example: u16_t ipaddr[2]; uip_ipaddr(&ipaddr, 192,168,1,2);
|
|
Convert 16-bit quantity from host byte order to network byte order. This function is primarily used for converting variables from host byte order to network byte order. For converting constants to network byte order, use the HTONS() macro instead. Definition at line 1576 of file uip.c. Referenced by main(), uip_init(), and uip_tcpchksum(). |