Home
last modified time | relevance | path

Searched refs:netif_ip4_addr (Results 1 – 17 of 17) sorted by relevance

/third_party/lwip/src/core/ipv4/
Dip4.c188 …if (netif_is_up(netif) && netif_is_link_up(netif) && !ip4_addr_isany_val(*netif_ip4_addr(netif))) {
190 if (ip4_addr_netcmp(dest, netif_ip4_addr(netif), netif_ip4_netmask(netif))) {
243 ip4_addr_isany_val(*netif_ip4_addr(group->netif_default)) || ip4_addr_isloopback(dest)) {
246 ip4_addr_isany_val(*netif_ip4_addr(netif_default)) || ip4_addr_isloopback(dest)) {
410 … ip4_addr_get_u32(ip4_current_dest_addr()), ip4_addr_get_u32(netif_ip4_addr(netif)),
412 … ip4_addr_get_u32(netif_ip4_addr(netif)) & ip4_addr_get_u32(netif_ip4_netmask(netif)),
416 if ((netif_is_up(netif)) && (!ip4_addr_isany_val(*netif_ip4_addr(netif)))) {
418 if (ip4_addr_cmp(ip4_current_dest_addr(), netif_ip4_addr(netif)) ||
571 if ((netif_is_up(inp)) && (!ip4_addr_isany_val(*netif_ip4_addr(inp)))) {
851 src_used = netif_ip4_addr(netif);
[all …]
Dip4_addr.c73 } else if (addr == ip4_addr_get_u32(netif_ip4_addr(netif))) { in ip4_addr_isbroadcast_u32()
76 } else if (ip4_addr_netcmp(&ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) in ip4_addr_isbroadcast_u32()
Detharp.c714 if (ip4_addr_isany_val(*netif_ip4_addr(netif))) {
718 for_us = (u8_t)ip4_addr_cmp(&dipaddr, netif_ip4_addr(netif));
743 (struct eth_addr *)netif->hwaddr, netif_ip4_addr(netif),
747 } else if (ip4_addr_isany_val(*netif_ip4_addr(netif))) {
857 if (!ip4_addr_netcmp(ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) &&
1224 (struct eth_addr *)netif->hwaddr, netif_ip4_addr(netif), &ethzero,
Digmp.c467 …if ((netif->flags & NETIF_FLAG_IGMP) && ((ip4_addr_isany(ifaddr) || ip4_addr_cmp(netif_ip4_addr(ne…
568 …if ((netif->flags & NETIF_FLAG_IGMP) && ((ip4_addr_isany(ifaddr) || ip4_addr_cmp(netif_ip4_addr(ne…
809 ip4_addr_copy(src, *netif_ip4_addr(netif));
Dicmp.c124 src = netif_ip4_addr(inp); in icmp_input()
134 src = netif_ip4_addr(inp); in icmp_input()
Dautoip.c356 if (ip4_addr_islinklocal(netif_ip4_addr(netif))) { in autoip_stop()
Ddhcp.c2006 ip4_addr_copy(msg_out->ciaddr, *netif_ip4_addr(netif));
/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_ip.c216 value->u32 = netif_ip4_addr(netif)->addr; in ip_AddrTable_get_cell_value_core()
266 if (ip4_addr_cmp(&ip, netif_ip4_addr(netif))) { in ip_AddrTable_get_cell_value()
289 snmp_ip4_to_oid(netif_ip4_addr(netif), &test_oid[0]); in ip_AddrTable_get_next_cell_instance_and_value()
327 ip4_addr_get_network(&tmp, netif_ip4_addr(netif), netif_ip4_netmask(netif)); in ip_RouteTable_get_cell_value_core()
352 value->u32 = netif_ip4_addr(netif)->addr; in ip_RouteTable_get_cell_value_core()
418 ip4_addr_get_network(&dst, netif_ip4_addr(netif), netif_ip4_netmask(netif)); in ip_RouteTable_get_cell_value()
450 ip4_addr_get_network(&dst, netif_ip4_addr(netif), netif_ip4_netmask(netif)); in ip_RouteTable_get_next_cell_instance_and_value()
/third_party/lwip/test/unit/ip4/
Dtest_ip4.c42 ip4_addr_copy(iphdr->src, *netif_ip4_addr(input_netif)); in create_ip4_input_fragment()
44 ip4_addr_copy(iphdr->dest, *netif_ip4_addr(input_netif)); in create_ip4_input_fragment()
/third_party/lwip/src/apps/mdns/
Dmdns.c700 if (!ip4_addr_isany_val(*netif_ip4_addr(netif))) { in check_host()
701 res = mdns_build_reverse_v4_domain(&mydomain, netif_ip4_addr(netif)); in check_host()
714 if (!ip4_addr_isany_val(*netif_ip4_addr(netif)) in check_host()
1176 …ASS_IN, cache_flush, (NETIF_TO_HOST(netif))->dns_ttl, (const u8_t *) netif_ip4_addr(netif), sizeof… in mdns_add_a_answer()
1185 mdns_build_reverse_v4_domain(&revhost, netif_ip4_addr(netif)); in mdns_add_hostv4_ptr_answer()
1459 !ip4_addr_isany_val(*netif_ip4_addr(outpkt->netif))) { in mdns_send_outpacket()
1529 if (!ip4_addr_isany_val(*netif_ip4_addr(netif))) { in mdns_announce()
1674 pbuf_memcmp(pkt->pbuf, ans.rd_offset, netif_ip4_addr(pkt->netif), ans.rd_length) == 0) { in mdns_handle_question()
1983 if (!ip4_addr_isany_val(*netif_ip4_addr(netif))) { in mdns_send_probe()
2034 if (!ip4_addr_isany_val(*netif_ip4_addr(netif)) && in mdns_probe()
[all …]
/third_party/lwip/src/include/lwip/
Detharp.h88 #define etharp_gratuitous(netif) etharp_request((netif), netif_ip4_addr(netif))
Dnetif.h476 #define netif_ip4_addr(netif) ((const ip4_addr_t*)ip_2_ip4(&((netif)->ip_addr))) macro
/third_party/lwip/doc/
DNO_SYS_SampleCode.c46 printf("netif status changed %s\n", ip4addr_ntoa(netif_ip4_addr(netif))); in netif_status_callback()
/third_party/lwip/src/core/
Dudp.c289 …4_VAL(uncon_pcb->local_ip) || !ip4_addr_cmp(ip_2_ip4(&uncon_pcb->local_ip), netif_ip4_addr(inp))) {
291 … if (IP_IS_V4_VAL(pcb->local_ip) && ip4_addr_cmp(ip_2_ip4(&pcb->local_ip), netif_ip4_addr(inp))) {
342 for_us = ip4_addr_cmp(netif_ip4_addr(inp), ip4_current_dest_addr());
727 if (!ip4_addr_cmp(ip_2_ip4(&(pcb->local_ip)), netif_ip4_addr(netif))) {
Dnetif.c546 if (ip4_addr_cmp(ipaddr, netif_ip4_addr(netif)) == 0) {
841 if (!ip4_addr_isany_val(*netif_ip4_addr(netif))) {
1008 !ip4_addr_isany_val(*netif_ip4_addr(netif))) {
/third_party/lwip/src/apps/netbiosns/
Dnetbiosns.c402 ip4_addr_copy(resp->resp_name.addr, *netif_ip4_addr(netif_default)); in netbiosns_recv()
/third_party/libcoap/src/
Dcoap_net.c4212 mreq4.imr_interface.s_addr = netif_ip4_addr(netif)->addr; in coap_join_mcast_group_intf()