Home
last modified time | relevance | path

Searched refs:ip4_current_dest_addr (Results 1 – 4 of 4) sorted by relevance

/third_party/lwip/src/core/ipv4/
Dip4.c274 u32_t addr = lwip_htonl(ip4_addr_get_u32(ip4_current_dest_addr()));
326 if (ip4_addr_islinklocal(ip4_current_dest_addr())) {
328 … ip4_addr1_16(ip4_current_dest_addr()), ip4_addr2_16(ip4_current_dest_addr()),
329 … ip4_addr3_16(ip4_current_dest_addr()), ip4_addr4_16(ip4_current_dest_addr())));
334 netif = ip4_route_src(ip4_current_src_addr(), ip4_current_dest_addr());
337 … ip4_addr1_16(ip4_current_dest_addr()), ip4_addr2_16(ip4_current_dest_addr()),
338 … ip4_addr3_16(ip4_current_dest_addr()), ip4_addr4_16(ip4_current_dest_addr())));
373 … ip4_addr1_16(ip4_current_dest_addr()), ip4_addr2_16(ip4_current_dest_addr()),
374 … ip4_addr3_16(ip4_current_dest_addr()), ip4_addr4_16(ip4_current_dest_addr())));
385 ip4_frag(p, netif, ip4_current_dest_addr());
[all …]
Dicmp.c119 src = ip4_current_dest_addr(); in icmp_input()
121 if (ip4_addr_ismulticast(ip4_current_dest_addr())) { in icmp_input()
131 if (ip4_addr_isbroadcast(ip4_current_dest_addr(), ip_current_netif())) { in icmp_input()
/third_party/lwip/src/include/lwip/
Dip.h200 #define ip4_current_dest_addr() (ip_2_ip4(&ip_data.current_iphdr_dest)) macro
217 #define ip4_current_dest_addr() (&ip_data.current_iphdr_dest) macro
/third_party/lwip/src/core/
Dudp.c176 ((ip4_current_dest_addr()->addr == IPADDR_BROADCAST)) || in udp_input_local_match()
177 … ip4_addr_netcmp(ip_2_ip4(&pcb->local_ip), ip4_current_dest_addr(), netif_ip4_netmask(inp))) { in udp_input_local_match()
287 } else if (broadcast && ip4_current_dest_addr()->addr == IPADDR_BROADCAST) {
342 for_us = ip4_addr_cmp(netif_ip4_addr(inp), ip4_current_dest_addr());