Searched refs:ip4_addr_cmp (Results 1 – 15 of 15) sorted by relevance
/third_party/lwip/src/core/ipv4/ |
D | igmp.c | 223 if (ip4_addr_cmp(&(group->group_address), addr)) { in igmp_lookfor_group() 269 (ip4_addr_cmp(addr, &allsystems) != 0)); in igmp_lookup_group() 275 (ip4_addr_cmp(addr, &allsystems) == 0)); in igmp_lookup_group() 369 if ((ip4_addr_cmp(dest, &allsystems)) && ip4_addr_isany(&igmp->igmp_group_address)) { in igmp_input() 398 if (ip4_addr_cmp(dest, &allsystems)) { in igmp_input() 458 …LWIP_ERROR("igmp_joingroup: attempt to join allsystems address", (!ip4_addr_cmp(groupaddr, &allsys… in igmp_joingroup() 463 …if ((netif->flags & NETIF_FLAG_IGMP) && ((ip4_addr_isany(ifaddr) || ip4_addr_cmp(netif_ip4_addr(ne… in igmp_joingroup() 493 …LWIP_ERROR("igmp_joingroup_netif: attempt to join allsystems address", (!ip4_addr_cmp(groupaddr, &… in igmp_joingroup_netif() 555 …LWIP_ERROR("igmp_leavegroup: attempt to leave allsystems address", (!ip4_addr_cmp(groupaddr, &alls… in igmp_leavegroup() 560 …if ((netif->flags & NETIF_FLAG_IGMP) && ((ip4_addr_isany(ifaddr) || ip4_addr_cmp(netif_ip4_addr(ne… in igmp_leavegroup() [all …]
|
D | autoip.c | 481 if ((ip4_addr_cmp(&sipaddr, &autoip->llipaddr)) || in autoip_arp_reply() 483 ip4_addr_cmp(&dipaddr, &autoip->llipaddr) && in autoip_arp_reply() 494 if (ip4_addr_cmp(&sipaddr, &autoip->llipaddr) && in autoip_arp_reply() 524 return (autoip != NULL) && ip4_addr_cmp(addr, &(autoip->llipaddr)); in autoip_accept_packet()
|
D | ip4.c | 179 if (((netif->flags & NETIF_FLAG_BROADCAST) == 0) && ip4_addr_cmp(dest, netif_ip4_gw(netif))) { in ip4_route() 385 if (ip4_addr_cmp(ip4_current_dest_addr(), netif_ip4_addr(netif)) || in ip4_input_accept() 525 if (ip4_addr_cmp(ip4_current_dest_addr(), &allsystems) && 984 if (ip4_addr_cmp(dest, netif_ip4_addr(netif))
|
D | etharp.c | 294 if (ipaddr && ip4_addr_cmp(ipaddr, &arp_table[i].ipaddr) in etharp_find_entry() 686 for_us = (u8_t)ip4_addr_cmp(&dipaddr, netif_ip4_addr(netif)); 865 (ip4_addr_cmp(dst_addr, &arp_table[etharp_cached_entry].ipaddr))) { 882 (ip4_addr_cmp(dst_addr, &arp_table[i].ipaddr))) {
|
D | ip4_frag.c | 109 (ip4_addr_cmp(&(iphdrA)->src, &(iphdrB)->src) && \ 110 ip4_addr_cmp(&(iphdrA)->dest, &(iphdrB)->dest) && \
|
D | dhcp.c | 922 if (ip4_addr_cmp(addr, &dhcp->offered_ip_addr)) { in dhcp_arp_reply()
|
/third_party/lwip/src/netif/ppp/ |
D | vj.c | 221 if (!ip4_addr_cmp(&ip->src, &cs->cs_ip.src) in vj_compress_tcp() 222 || !ip4_addr_cmp(&ip->dest, &cs->cs_ip.dest) in vj_compress_tcp() 242 if (ip4_addr_cmp(&ip->src, &cs->cs_ip.src) in vj_compress_tcp() 243 && ip4_addr_cmp(&ip->dest, &cs->cs_ip.dest) in vj_compress_tcp()
|
/third_party/lwip/src/core/ |
D | udp.c | 271 …if (!IP_IS_V4_VAL(uncon_pcb->local_ip) || !ip4_addr_cmp(ip_2_ip4(&uncon_pcb->local_ip), netif_ip4_… in udp_input() 273 … if (IP_IS_V4_VAL(pcb->local_ip) && ip4_addr_cmp(ip_2_ip4(&pcb->local_ip), netif_ip4_addr(inp))) { in udp_input() 324 for_us = ip4_addr_cmp(netif_ip4_addr(inp), ip4_current_dest_addr()); in udp_input() 577 !ip4_addr_cmp(&pcb->mcast_ip4, IP4_ADDR_BROADCAST)) { in udp_sendto_chksum() 685 if (!ip4_addr_cmp(ip_2_ip4(&(pcb->local_ip)), netif_ip4_addr(netif))) { in udp_sendto_if_chksum()
|
D | netif.c | 466 if (ip4_addr_cmp(ipaddr, netif_ip4_addr(netif)) == 0) { in netif_do_set_ipaddr() 529 if (ip4_addr_cmp(netmask, netif_ip4_netmask(netif)) == 0) { in netif_do_set_netmask() 593 if (ip4_addr_cmp(gw, netif_ip4_gw(netif)) == 0) { in netif_do_set_gw()
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_mib2_tcp.c | 230 ip4_addr_cmp(&local_ip, ip_2_ip4(&pcb->local_ip)) && (local_port == pcb->local_port)) { in tcp_ConnTable_get_cell_value() 234 if (ip4_addr_cmp(&remote_ip, IP4_ADDR_ANY4) && (remote_port == 0)) { in tcp_ConnTable_get_cell_value() 240 … ip4_addr_cmp(&remote_ip, ip_2_ip4(&pcb->remote_ip)) && (remote_port == pcb->remote_port)) { in tcp_ConnTable_get_cell_value()
|
D | snmp_mib2_ip.c | 266 if (ip4_addr_cmp(&ip, netif_ip4_addr(netif))) { in ip_AddrTable_get_cell_value() 420 if (ip4_addr_cmp(&dst, &test_ip)) { in ip_RouteTable_get_cell_value() 538 if ((netif_index == netif_to_num(netif)) && ip4_addr_cmp(&ip_in, ip)) { in ip_NetToMediaTable_get_cell_value()
|
D | snmp_mib2_udp.c | 266 if (ip4_addr_cmp(&ip, ip_2_ip4(&pcb->local_ip)) && (port == pcb->local_port)) { in udp_Table_get_cell_value()
|
/third_party/lwip/src/include/lwip/ |
D | ip_addr.h | 204 ip4_addr_cmp(ip_2_ip4(addr1), ip_2_ip4(addr2)))) 208 ip4_addr_cmp(ip_2_ip4(addr1), ip_2_ip4(addr2)))) 299 #define ip_addr_cmp(addr1, addr2) ip4_addr_cmp(addr1, addr2)
|
D | ip4_addr.h | 145 #define ip4_addr_cmp(addr1, addr2) ((addr1)->addr == (addr2)->addr) macro
|
/third_party/lwip/src/api/ |
D | sockets.c | 4103 ip4_addr_cmp(&socket_ipv4_multicast_memberships[i].if_addr, if_addr) && in lwip_socket_unregister_membership() 4104 ip4_addr_cmp(&socket_ipv4_multicast_memberships[i].multi_addr, multi_addr)) { in lwip_socket_unregister_membership()
|