/third_party/lwip/src/include/lwip/ |
D | ip6_addr.h | 71 (ip6addr)->addr[index] = PP_HTONL(LWIP_MAKEU32(a,b,c,d)) 138 (ip6addr)->addr[3] = PP_HTONL(0x00000001UL); \ 201 ((ip6addr)->addr[3] == PP_HTONL(0x00000001UL))) 203 #define ip6_addr_isglobal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xe0000000UL)) == PP_HTONL(0x200… 205 #define ip6_addr_islinklocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xffc00000UL)) == PP_HTONL(0x… 207 #define ip6_addr_issitelocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xffc00000UL)) == PP_HTONL(0x… 209 #define ip6_addr_isuniquelocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xfe000000UL)) == PP_HTONL(… 211 …r)->addr[0] == 0) && ((ip6addr)->addr[1] == 0) && (((ip6addr)->addr[2]) == PP_HTONL(0x0000FFFFUL))) 213 #define ip6_addr_ismulticast(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff000000UL)) == PP_HTONL(0x… 214 #define ip6_addr_multicast_transient_flag(ip6addr) ((ip6addr)->addr[0] & PP_HTONL(0x00100000UL)) [all …]
|
D | ip_addr.h | 83 #define IPADDR4_INIT_BYTES(a,b,c,d) IPADDR4_INIT(PP_HTONL(LWIP_MAKEU32(a,b,c,d))) 88 #define IPADDR6_INIT_HOST(a, b, c, d) { { { { PP_HTONL(a), PP_HTONL(b), PP_HTONL(c), PP_HTONL(d) } … 129 …e IP_ADDR6_HOST(ipaddr,i0,i1,i2,i3) IP_ADDR6(ipaddr,PP_HTONL(i0),PP_HTONL(i1),PP_HTONL(i2),PP_HTO… 249 (ip6addr)->addr[2] = PP_HTONL(0x0000FFFFUL); \ 272 #define IPADDR4_INIT_BYTES(a,b,c,d) IPADDR4_INIT(PP_HTONL(LWIP_MAKEU32(a,b,c,d))) 320 #define IPADDR6_INIT_HOST(a, b, c, d) { { PP_HTONL(a), PP_HTONL(b), PP_HTONL(c), PP_HTONL… 332 …ADDR6_HOST(ipaddr,i0,i1,i2,i3) IP_ADDR6(ipaddr,PP_HTONL(i0),PP_HTONL(i1),PP_HTONL(i2),PP_HTO…
|
D | ip4_addr.h | 104 #define IP4_ADDR(ipaddr, a,b,c,d) (ipaddr)->addr = PP_HTONL(LWIP_MAKEU32(a,b,c,d)) 117 #define ip4_addr_set_loopback(ipaddr) ((ipaddr)->addr = PP_HTONL(IPADDR_LOOPBACK)) 119 #define ip4_addr_isloopback(ipaddr) (((ipaddr)->addr & PP_HTONL(IP_CLASSA_NET)) == PP_HTONL(((u3… 156 #define ip4_addr_ismulticast(addr1) (((addr1)->addr & PP_HTONL(0xf0000000UL)) == PP_HTONL(0xe000000… 158 #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe000…
|
D | def.h | 92 #define PP_HTONL(x) ((u32_t)(x)) macro 110 #define PP_HTONL(x) ((((x) & (u32_t)0x000000ffUL) << 24) | \ 114 #define PP_NTOHL(x) PP_HTONL(x)
|
D | inet.h | 84 #define IN6ADDR_LOOPBACK_INIT {{{0,0,0,PP_HTONL(1)}}}
|
/third_party/lwip/src/netif/ |
D | lowpan6_common.c | 68 if ((ip6addr->addr[2] == (u32_t)PP_HTONL(0x000000ff)) && in lowpan6_get_address_mode() 69 ((ip6addr->addr[3] & PP_HTONL(0xffff0000)) == PP_NTOHL(0xfe000000))) { in lowpan6_get_address_mode() 70 …if ((ip6addr->addr[3] & PP_HTONL(0x0000ffff)) == lwip_ntohl((mac_addr->addr[0] << 8) | mac_addr->… in lowpan6_get_address_mode() 81 if ((ip6addr->addr[2] == PP_HTONL(0x000000ffUL)) && in lowpan6_get_address_mode() 82 ((ip6addr->addr[3] & PP_HTONL(0xffff0000)) == PP_NTOHL(0xfe000000UL))) { in lowpan6_get_address_mode() 95 if ((ip6addr->addr[0] == PP_HTONL(0xff020000)) && in lowpan6_get_address_mode_mc() 98 ((ip6addr->addr[3] & PP_HTONL(0xffffff00)) == 0)) { in lowpan6_get_address_mode_mc() 100 } else if (((ip6addr->addr[0] & PP_HTONL(0xff00ffff)) == PP_HTONL(0xff000000)) && in lowpan6_get_address_mode_mc() 103 ((ip6addr->addr[3] & PP_HTONL(0xff000000)) == 0)) { in lowpan6_get_address_mode_mc() 105 } else if ((ip6addr->addr[2] & PP_HTONL(0xffffff00)) == 0) { in lowpan6_get_address_mode_mc() [all …]
|
/third_party/lwip/test/unit/ip6/ |
D | test_ip6.c | 249 …const u32_t expected_ip6_addr_1[4] = {PP_HTONL(0xfe800000), 0, PP_HTONL(0xb2a1a2ff), PP_HTONL(0xfe… in START_TEST() 250 …const u32_t expected_ip6_addr_2[4] = {PP_HTONL(0xfe800000), 0, PP_HTONL(0x0000b0a1), PP_HTONL(0xa2… in START_TEST()
|
/third_party/lwip/src/apps/lwiperf/ |
D | lwiperf.c | 289 if (conn->settings.amount & PP_HTONL(0x80000000)) { in lwiperf_tcp_client_send_more() 473 if (conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_TEST)) { in lwiperf_tcp_recv() 474 if ((conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_NOW)) == 0) { in lwiperf_tcp_recv() 500 if (conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_TEST)) { in lwiperf_tcp_recv() 501 if (conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_NOW)) { in lwiperf_tcp_recv() 512 if (conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_TEST)) { in lwiperf_tcp_recv()
|
/third_party/lwip/test/unit/api/ |
D | test_sockets.c | 130 addr4->sin_addr.s_addr = PP_HTONL(INADDR_LOOPBACK); in test_sockets_allfunctions_basic_domain() 239 addr->sin_addr.s_addr = PP_HTONL(INADDR_LOOPBACK); in test_sockets_init_loopback_addr() 609 fail_unless(pktinfo->ipi_addr.s_addr == PP_HTONL(INADDR_LOOPBACK)); in test_sockets_msgapi_cmsg() 707 sa_listen.sin_addr.s_addr = PP_HTONL(INADDR_LOOPBACK); in START_TEST()
|
/third_party/lwip/src/core/ |
D | def.c | 92 return PP_HTONL(n); in lwip_htonl()
|
D | tcp_out.c | 1157 opts[0] = PP_HTONL(0x0101080A); in tcp_build_timestamp_option() 1216 *(opts++) = PP_HTONL(0x01010500 + 2 + num_sacks * 8); in tcp_build_sack_option() 1237 opts[0] = PP_HTONL(0x01030300 | TCP_RCV_SCALE); in tcp_build_wnd_scale_option() 1541 *(opts++) = PP_HTONL(0x01010402); in tcp_output_segment()
|
D | netif.c | 1650 ip_2_ip6(&netif->ip6_addr[0])->addr[0] = PP_HTONL(0xfe800000ul);
|
/third_party/lwip/src/core/ipv4/ |
D | dhcp.c | 1182 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xff000000UL)); 1184 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffffff00UL)); 1186 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffff0000UL)); 2012 msg_out->cookie = PP_HTONL(DHCP_MAGIC_COOKIE);
|
D | ip4.c | 422 || (ip4_addr_get_u32(ip4_current_dest_addr()) == PP_HTONL(IPADDR_LOOPBACK))
|
/third_party/lwip/src/apps/netbiosns/ |
D | netbiosns.c | 399 resp->resp_name.ttl = PP_HTONL(NETBIOS_NAME_TTL); in netbiosns_recv()
|
/third_party/lwip/src/netif/ppp/ |
D | ppp.c | 1217 mask = PP_HTONL(0xffffff00UL) | lwip_htonl(nmask); in get_mask() 1233 ip6.addr[0] = PP_HTONL(0xfe800000); \
|