Home
last modified time | relevance | path

Searched refs:ip4_addr_get_u32 (Results 1 – 11 of 11) sorted by relevance

/third_party/lwip/src/core/ipv4/
Dip4_addr.c73 } else if (addr == ip4_addr_get_u32(netif_ip4_addr(netif))) { in ip4_addr_isbroadcast_u32()
78 && ((addr & ~ip4_addr_get_u32(netif_ip4_netmask(netif))) == in ip4_addr_isbroadcast_u32()
79 (IPADDR_BROADCAST & ~ip4_addr_get_u32(netif_ip4_netmask(netif))))) { in ip4_addr_isbroadcast_u32()
128 return ip4_addr_get_u32(&val); in ipaddr_addr()
296 s_addr = ip4_addr_get_u32(addr); in ip4addr_ntoa_r()
Dip4.c274 u32_t addr = lwip_htonl(ip4_addr_get_u32(ip4_current_dest_addr()));
410ip4_addr_get_u32(ip4_current_dest_addr()), ip4_addr_get_u32(netif_ip4_addr(netif)),
411ip4_addr_get_u32(ip4_current_dest_addr()) & ip4_addr_get_u32(netif_ip4_netmask(netif)),
412ip4_addr_get_u32(netif_ip4_addr(netif)) & ip4_addr_get_u32(netif_ip4_netmask(netif)),
413ip4_addr_get_u32(ip4_current_dest_addr()) & ~ip4_addr_get_u32(netif_ip4_netmask(netif))));
422 || (ip4_addr_get_u32(ip4_current_dest_addr()) == PP_HTONL(IPADDR_LOOPBACK))
957 chk_sum += ip4_addr_get_u32(&iphdr->dest) & 0xFFFF;
958 chk_sum += ip4_addr_get_u32(&iphdr->dest) >> 16;
985 chk_sum += ip4_addr_get_u32(&iphdr->src) & 0xFFFF;
986 chk_sum += ip4_addr_get_u32(&iphdr->src) >> 16;
Ddhcp.c350 ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr)))); in dhcp_handle_offer()
354 ip4_addr_get_u32(&dhcp->offered_ip_addr))); in dhcp_handle_offer()
397 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offere… in dhcp_select()
400 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&dhc… in dhcp_select()
986 ip4_addr_get_u32(addr)));
1023 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offere…
1200ip4_addr_get_u32(&dhcp->offered_ip_addr), ip4_addr_get_u32(&sn_mask), ip4_addr_get_u32(&gw_addr)));
1346 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offere…
1423 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&ser…
/third_party/lwip/src/core/
Dinet_chksum.c316 addr = ip4_addr_get_u32(src); in inet_chksum_pseudo()
319 addr = ip4_addr_get_u32(dest); in inet_chksum_pseudo()
462 addr = ip4_addr_get_u32(src); in inet_chksum_pseudo_partial()
465 addr = ip4_addr_get_u32(dest); in inet_chksum_pseudo_partial()
/third_party/lwip/src/include/netif/ppp/
Dppp.h483 #define ppp_set_ipcp_ouraddr(ppp, addr) do { ppp->ipcp_wantoptions.ouraddr = ip4_addr_get_u32(addr)…
485 #define ppp_set_ipcp_hisaddr(ppp, addr) (ppp->ipcp_wantoptions.hisaddr = ip4_addr_get_u32(addr))
493 …set_ipcp_dnsaddr(ppp, index, addr) (ppp->ipcp_allowoptions.dnsaddr[index] = ip4_addr_get_u32(addr))
/third_party/lwip/src/include/lwip/
Dinet.h135 …om_ip4addr(target_inaddr, source_ipaddr) ((target_inaddr)->s_addr = ip4_addr_get_u32(source_ipaddr…
Dip4_addr.h128 #define ip4_addr_get_u32(src_ipaddr) ((src_ipaddr)->addr) macro
Dip_addr.h157 ip4_addr_get_u32(ip_2_ip4(ipaddr)) : 0)
289 #define ip_addr_get_ip4_u32(ipaddr) ip4_addr_get_u32(ip_2_ip4(ipaddr))
/third_party/lwip/
D0080-enable-ipv6.patch247 - psd_hdr.src_addr = ip4_addr_get_u32(src);
248 - psd_hdr.dst_addr = ip4_addr_get_u32(dst);
D0023-refactor-event-and-checksum-offload-support.patch519 + psd_hdr.src_addr = ip4_addr_get_u32(src);
520 + psd_hdr.dst_addr = ip4_addr_get_u32(dst);
/third_party/lwip/test/sockets/
Dsockets_stresstest.c710 ((struct sockaddr_in *)addr)->sin_addr.s_addr = ip4_addr_get_u32(&ip4); in sockets_stresstest_init_client()