| /lib/lwip/lwip/src/include/lwip/ |
| A D | ip6_addr.h | 217 #define ip6_addr_isglobal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xe0000000UL)) == PP_HTONL(0x200… 219 #define ip6_addr_islinklocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xffc00000UL)) == PP_HTONL(0x… 221 #define ip6_addr_issitelocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xffc00000UL)) == PP_HTONL(0x… 223 #define ip6_addr_isuniquelocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xfe000000UL)) == PP_HTONL(… 232 #define ip6_addr_ismulticast(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff000000UL)) == PP_HTONL(0x… 247 …6_addr_ismulticast_iflocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xf… 248 …addr_ismulticast_linklocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xf… 250 …addr_ismulticast_sitelocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xf… 251 …_addr_ismulticast_orglocal(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xf… 252 …p6_addr_ismulticast_global(ip6addr) (((ip6addr)->addr[0] & PP_HTONL(0xff8f0000UL)) == PP_HTONL(0xf… [all …]
|
| A 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… 273 (ip6addr)->addr[2] = PP_HTONL(0x0000FFFFUL); \ 296 #define IPADDR4_INIT_BYTES(a,b,c,d) IPADDR4_INIT(PP_HTONL(LWIP_MAKEU32(a,b,c,d))) 346 #define IPADDR6_INIT_HOST(a, b, c, d) { { PP_HTONL(a), PP_HTONL(b), PP_HTONL(c), PP_HTONL… 358 …ADDR6_HOST(ipaddr,i0,i1,i2,i3) IP_ADDR6(ipaddr,PP_HTONL(i0),PP_HTONL(i1),PP_HTONL(i2),PP_HTO…
|
| A 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… 165 #define ip4_addr_ismulticast(addr1) (((addr1)->addr & PP_HTONL(0xf0000000UL)) == PP_HTONL(0xe000000… 167 #define ip4_addr_islinklocal(addr1) (((addr1)->addr & PP_HTONL(0xffff0000UL)) == PP_HTONL(0xa9fe000…
|
| A 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)
|
| A D | inet.h | 89 #define IN6ADDR_LOOPBACK_INIT {{{0,0,0,PP_HTONL(1)}}}
|
| /lib/lwip/lwip/src/netif/ |
| A D | lowpan6_common.c | 81 if ((ip6addr->addr[2] == PP_HTONL(0x000000ffUL)) && in lowpan6_get_address_mode() 95 if ((ip6addr->addr[0] == PP_HTONL(0xff020000)) && in lowpan6_get_address_mode_mc() 100 } else if (((ip6addr->addr[0] & PP_HTONL(0xff00ffff)) == PP_HTONL(0xff000000)) && in lowpan6_get_address_mode_mc() 509 ip6hdr->src.addr[0] = PP_HTONL(0xfe800000UL); in lowpan6_decompress_hdr() 517 ip6hdr->src.addr[0] = PP_HTONL(0xfe800000UL); in lowpan6_decompress_hdr() 519 ip6hdr->src.addr[2] = PP_HTONL(0x000000ffUL); in lowpan6_decompress_hdr() 527 ip6hdr->src.addr[0] = PP_HTONL(0xfe800000UL); in lowpan6_decompress_hdr() 581 ip6hdr->src.addr[2] = PP_HTONL(0x000000ffUL); in lowpan6_decompress_hdr() 636 ip6hdr->dest.addr[0] = PP_HTONL(0xff020000UL); in lowpan6_decompress_hdr() 664 ip6hdr->dest.addr[0] = PP_HTONL(0xfe800000UL); in lowpan6_decompress_hdr() [all …]
|
| /lib/lwip/lwip/contrib/apps/rtp/ |
| A D | rtp.c | 134 rtphdr->ssrc = PP_HTONL(RTP_SSRC); in rtp_send_packets() 188 local.sin_addr.s_addr = PP_HTONL(INADDR_ANY); in rtp_send_thread() 245 local.sin_addr.s_addr = PP_HTONL(INADDR_ANY); in rtp_recv_thread() 258 ipmreq.imr_interface.s_addr = PP_HTONL(INADDR_ANY); in rtp_recv_thread()
|
| /lib/lwip/lwip/test/unit/ip6/ |
| A D | test_ip6.c | 254 …const u32_t expected_ip6_addr_1[4] = {PP_HTONL(0xfe800000), 0, PP_HTONL(0xb2a1a2ff), PP_HTONL(0xfe… in START_TEST() 255 …const u32_t expected_ip6_addr_2[4] = {PP_HTONL(0xfe800000), 0, PP_HTONL(0x0000b0a1), PP_HTONL(0xa2… in START_TEST()
|
| /lib/lwip/lwip/src/apps/lwiperf/ |
| A D | lwiperf.c | 290 if (conn->settings.amount & PP_HTONL(0x80000000)) { in lwiperf_tcp_client_send_more() 474 if (conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_TEST)) { in lwiperf_tcp_recv() 475 if ((conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_NOW)) == 0) { in lwiperf_tcp_recv() 501 if (conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_TEST)) { in lwiperf_tcp_recv() 502 if (conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_NOW)) { in lwiperf_tcp_recv() 513 if (conn->settings.flags & PP_HTONL(LWIPERF_FLAGS_ANSWER_TEST)) { in lwiperf_tcp_recv()
|
| /lib/lwip/lwip/contrib/examples/mqtt/ |
| A D | mqtt_example.c | 40 #define LWIP_MQTT_EXAMPLE_IPADDR_INIT = IPADDR4_INIT(PP_HTONL(IPADDR_LOOPBACK))
|
| /lib/lwip/lwip/test/unit/api/ |
| A 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()
|
| /lib/lwip/lwip/src/core/ |
| A D | def.c | 92 return PP_HTONL(n); in lwip_htonl()
|
| A D | tcp_out.c | 1148 opts[0] = PP_HTONL(0x0101080A); in tcp_build_timestamp_option() 1207 *(opts++) = PP_HTONL(0x01010500 + 2 + num_sacks * 8); in tcp_build_sack_option() 1228 opts[0] = PP_HTONL(0x01030300 | TCP_RCV_SCALE); in tcp_build_wnd_scale_option() 1524 *(opts++) = PP_HTONL(0x01010402); in tcp_output_segment()
|
| A D | netif.c | 1560 ip_2_ip6(&netif->ip6_addr[0])->addr[0] = PP_HTONL(0xfe800000ul); in netif_create_ip6_linklocal_address()
|
| /lib/lwip/lwip/contrib/apps/chargen/ |
| A D | chargen.c | 160 chargen_saddr.sin_addr.s_addr = PP_HTONL(INADDR_ANY); in chargen_thread()
|
| /lib/lwip/lwip/src/core/ipv4/ |
| A D | dhcp.c | 1130 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xff000000UL)); in dhcp_bind() 1132 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffffff00UL)); in dhcp_bind() 1134 ip4_addr_set_u32(&sn_mask, PP_HTONL(0xffff0000UL)); in dhcp_bind() 1952 msg_out->cookie = PP_HTONL(DHCP_MAGIC_COOKIE); in dhcp_create_msg()
|
| A D | ip4.c | 423 || (ip4_addr_get_u32(ip4_current_dest_addr()) == PP_HTONL(IPADDR_LOOPBACK)) in ip4_input_accept()
|
| /lib/lwip/lwip/src/apps/netbiosns/ |
| A D | netbiosns.c | 399 resp->resp_name.ttl = PP_HTONL(NETBIOS_NAME_TTL); in netbiosns_recv()
|
| /lib/lwip/lwip/src/netif/ppp/ |
| A D | ppp.c | 1228 mask = PP_HTONL(0xffffff00UL) | lwip_htonl(nmask); in get_mask() 1244 ip6.addr[0] = PP_HTONL(0xfe800000); \
|