Home
last modified time | relevance | path

Searched refs:netif_ip4_netmask (Results 1 – 7 of 7) sorted by relevance

/third_party/lwip/src/core/ipv4/
Dip4_addr.c76 } else if (ip4_addr_netcmp(&ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(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()
Dip4.c190 if (ip4_addr_netcmp(dest, netif_ip4_addr(netif), netif_ip4_netmask(netif))) {
411 … ip4_addr_get_u32(ip4_current_dest_addr()) & ip4_addr_get_u32(netif_ip4_netmask(netif)),
412 … ip4_addr_get_u32(netif_ip4_addr(netif)) & ip4_addr_get_u32(netif_ip4_netmask(netif)),
413 … ip4_addr_get_u32(ip4_current_dest_addr()) & ~ip4_addr_get_u32(netif_ip4_netmask(netif))));
Detharp.c857 if (!ip4_addr_netcmp(ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) &&
/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_ip.c222 value->u32 = netif_ip4_netmask(netif)->addr; in ip_AddrTable_get_cell_value_core()
327 ip4_addr_get_network(&tmp, netif_ip4_addr(netif), netif_ip4_netmask(netif)); in ip_RouteTable_get_cell_value_core()
378 value->u32 = netif_ip4_netmask(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/src/core/
Dnetif.c609 if (ip4_addr_cmp(netmask, netif_ip4_netmask(netif)) == 0) {
623 ip4_addr1_16(netif_ip4_netmask(netif)),
624 ip4_addr2_16(netif_ip4_netmask(netif)),
625 ip4_addr3_16(netif_ip4_netmask(netif)),
626 ip4_addr4_16(netif_ip4_netmask(netif))));
Dudp.c177 … ip4_addr_netcmp(ip_2_ip4(&pcb->local_ip), ip4_current_dest_addr(), netif_ip4_netmask(inp))) { in udp_input_local_match()
/third_party/lwip/src/include/lwip/
Dnetif.h478 #define netif_ip4_netmask(netif) ((const ip4_addr_t*)ip_2_ip4(&((netif)->netmask))) macro