Searched refs:ip4_addr_get_u32 (Results 1 – 9 of 9) sorted by relevance
/reactos/drivers/network/tcpip/lwip/src/core/ipv4/ |
H A D | ip4_addr.c | 73 } 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()
|
H A D | ip4.c | 241 u32_t addr = lwip_htonl(ip4_addr_get_u32(ip4_current_dest_addr())); in ip4_canforward() 411 … ip4_addr_get_u32(ip4_current_dest_addr()), ip4_addr_get_u32(netif_ip4_addr(netif)), in ip4_input_accept() 412 … ip4_addr_get_u32(ip4_current_dest_addr()) & ip4_addr_get_u32(netif_ip4_netmask(netif)), in ip4_input_accept() 413 … ip4_addr_get_u32(netif_ip4_addr(netif)) & ip4_addr_get_u32(netif_ip4_netmask(netif)), in ip4_input_accept() 414 … ip4_addr_get_u32(ip4_current_dest_addr()) & ~ip4_addr_get_u32(netif_ip4_netmask(netif)))); in ip4_input_accept() 423 || (ip4_addr_get_u32(ip4_current_dest_addr()) == PP_HTONL(IPADDR_LOOPBACK)) in ip4_input_accept() 950 chk_sum += ip4_addr_get_u32(&iphdr->dest) & 0xFFFF; 951 chk_sum += ip4_addr_get_u32(&iphdr->dest) >> 16; 978 chk_sum += ip4_addr_get_u32(&iphdr->src) & 0xFFFF; 979 chk_sum += ip4_addr_get_u32(&iphdr->src) >> 16;
|
H A D | dhcp.c | 424 ip4_addr_get_u32(ip_2_ip4(&dhcp->server_ip_addr)))); in dhcp_handle_offer() 428 ip4_addr_get_u32(&dhcp->offered_ip_addr))); in dhcp_handle_offer() 471 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offere… in dhcp_select() 474 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&dhc… in dhcp_select() 994 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offere… in dhcp_decline() 1141 …ip4_addr_get_u32(&dhcp->offered_ip_addr), ip4_addr_get_u32(&sn_mask), ip4_addr_get_u32(&gw_addr))); in dhcp_bind() 1287 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(&dhcp->offere… in dhcp_reboot() 1364 …en = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(ip_2_ip4(&ser… in dhcp_release_and_stop()
|
/reactos/drivers/network/tcpip/lwip/src/core/ |
H A D | inet_chksum.c | 316 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()
|
/reactos/drivers/network/tcpip/lwip/src/include/netif/ppp/ |
H A D | ppp.h | 483 #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))
|
/reactos/drivers/network/tcpip/lwip/src/include/lwip/ |
H A D | inet.h | 152 …om_ip4addr(target_inaddr, source_ipaddr) ((target_inaddr)->s_addr = ip4_addr_get_u32(source_ipaddr…
|
H A D | ip4_addr.h | 128 #define ip4_addr_get_u32(src_ipaddr) ((src_ipaddr)->addr) macro
|
H A D | ip_addr.h | 157 ip4_addr_get_u32(ip_2_ip4(ipaddr)) : 0) 313 #define ip_addr_get_ip4_u32(ipaddr) ip4_addr_get_u32(ip_2_ip4(ipaddr))
|
/reactos/drivers/network/tcpip/lwip/test/sockets/ |
H A D | sockets_stresstest.c | 710 ((struct sockaddr_in *)addr)->sin_addr.s_addr = ip4_addr_get_u32(&ip4); in sockets_stresstest_init_client()
|