/third_party/lwip/src/include/lwip/ |
D | ip6_addr.h | 70 #define IP6_ADDR_PART(ip6addr, index, a,b,c,d) \ argument 71 (ip6addr)->addr[index] = PP_HTONL(LWIP_MAKEU32(a,b,c,d)) 75 #define IP6_ADDR(ip6addr, idx0, idx1, idx2, idx3) do { \ argument 76 (ip6addr)->addr[0] = idx0; \ 77 (ip6addr)->addr[1] = idx1; \ 78 (ip6addr)->addr[2] = idx2; \ 79 (ip6addr)->addr[3] = idx3; \ 80 ip6_addr_clear_zone(ip6addr); } while(0) 83 #define IP6_ADDR_BLOCK1(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[0]) >> 16) & 0xffff)) argument 85 #define IP6_ADDR_BLOCK2(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[0])) & 0xffff)) argument [all …]
|
D | ip6_zone.h | 109 #define ip6_addr_zone(ip6addr) ((ip6addr)->zone) argument 112 #define ip6_addr_has_zone(ip6addr) (ip6_addr_zone(ip6addr) != IP6_NO_ZONE) argument 115 #define ip6_addr_set_zone(ip6addr, zone_idx) ((ip6addr)->zone = (zone_idx)) argument 118 #define ip6_addr_clear_zone(ip6addr) ((ip6addr)->zone = IP6_NO_ZONE) argument 124 #define ip6_addr_equals_zone(ip6addr, zone_idx) ((ip6addr)->zone == (zone_idx)) argument 177 #define ip6_addr_has_scope(ip6addr, type) \ argument 178 (ip6_addr_islinklocal(ip6addr) || (((type) != IP6_UNICAST) && \ 179 (ip6_addr_ismulticast_iflocal(ip6addr) || \ 180 ip6_addr_ismulticast_linklocal(ip6addr)))) 198 #define ip6_addr_assign_zone(ip6addr, type, netif) \ argument [all …]
|
D | nd6.h | 72 struct netif *nd6_find_route(const ip6_addr_t *ip6addr); 73 err_t nd6_get_next_hop_addr_or_queue(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr… 74 u16_t nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif); 76 void nd6_reachability_hint(const ip6_addr_t *ip6addr);
|
D | ip_addr.h | 247 #define ip4_2_ipv4_mapped_ipv6(ip6addr, ip4addr) do { \ argument 248 (ip6addr)->addr[3] = (ip4addr)->addr; \ 249 (ip6addr)->addr[2] = PP_HTONL(0x0000FFFFUL); \ 250 (ip6addr)->addr[1] = 0; \ 251 (ip6addr)->addr[0] = 0; \ 252 ip6_addr_clear_zone(ip6addr); } while(0); 255 #define unmap_ipv4_mapped_ipv6(ip4addr, ip6addr) \ argument 256 (ip4addr)->addr = (ip6addr)->addr[3];
|
D | ethip6.h | 60 err_t ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
|
D | netif.h | 555 s8_t netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr); 557 err_t netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | ndisc_snoop.c | 22 struct ip6addr { struct 43 struct ip6addr *ip6addr; in sta_ip6addr_add() local 45 ip6addr = os_zalloc(sizeof(*ip6addr)); in sta_ip6addr_add() 46 if (!ip6addr) in sta_ip6addr_add() 49 os_memcpy(&ip6addr->addr, addr, sizeof(*addr)); in sta_ip6addr_add() 51 dl_list_add_tail(&sta->ip6addr, &ip6addr->list); in sta_ip6addr_add() 59 struct ip6addr *ip6addr, *prev; in sta_ip6addr_del() local 61 dl_list_for_each_safe(ip6addr, prev, &sta->ip6addr, struct ip6addr, in sta_ip6addr_del() 63 hostapd_drv_br_delete_ip_neigh(hapd, 6, (u8 *) &ip6addr->addr); in sta_ip6addr_del() 64 os_free(ip6addr); in sta_ip6addr_del() [all …]
|
D | sta_info.h | 70 struct dl_list ip6addr; /* list head for struct ip6addr */ member
|
D | sta_info.c | 725 dl_list_init(&sta->ip6addr); in ap_sta_add()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | ndisc_snoop.c | 22 struct ip6addr { struct 43 struct ip6addr *ip6addr; in sta_ip6addr_add() local 45 ip6addr = os_zalloc(sizeof(*ip6addr)); in sta_ip6addr_add() 46 if (!ip6addr) in sta_ip6addr_add() 49 os_memcpy(&ip6addr->addr, addr, sizeof(*addr)); in sta_ip6addr_add() 51 dl_list_add_tail(&sta->ip6addr, &ip6addr->list); in sta_ip6addr_add() 59 struct ip6addr *ip6addr, *prev; in sta_ip6addr_del() local 61 dl_list_for_each_safe(ip6addr, prev, &sta->ip6addr, struct ip6addr, in sta_ip6addr_del() 63 hostapd_drv_br_delete_ip_neigh(hapd, 6, (u8 *) &ip6addr->addr); in sta_ip6addr_del() 64 os_free(ip6addr); in sta_ip6addr_del() [all …]
|
D | sta_info.h | 111 struct dl_list ip6addr; /* list head for struct ip6addr */ member
|
D | sta_info.c | 762 dl_list_init(&sta->ip6addr); in ap_sta_add()
|
/third_party/lwip/src/core/ipv6/ |
D | ethip6.c | 79 ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in ethip6_output() argument 88 IP6_ADDR_ZONECHECK_NETIF(ip6addr, netif); in ethip6_output() 91 if (ip6_addr_ismulticast(ip6addr)) { in ethip6_output() 95 dest.addr[2] = ((const u8_t *)(&(ip6addr->addr[3])))[0]; in ethip6_output() 96 dest.addr[3] = ((const u8_t *)(&(ip6addr->addr[3])))[1]; in ethip6_output() 97 dest.addr[4] = ((const u8_t *)(&(ip6addr->addr[3])))[2]; in ethip6_output() 98 dest.addr[5] = ((const u8_t *)(&(ip6addr->addr[3])))[3]; in ethip6_output() 108 result = nd6_get_next_hop_addr_or_queue(netif, q, ip6addr, &hwaddr); in ethip6_output()
|
D | nd6.c | 107 static s8_t nd6_find_neighbor_cache_entry(const ip6_addr_t *ip6addr); 110 static s16_t nd6_find_destination_cache_entry(const ip6_addr_t *ip6addr); 112 static int nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif); 113 static s8_t nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif); 118 static s8_t nd6_get_next_hop_entry(const ip6_addr_t *ip6addr, struct netif *netif); 189 ip6_addr_t ip6addr; in nd6_process_autoconfig_prefix() local 254 IP6_ADDR(&ip6addr, prefix_addr->addr[0], prefix_addr->addr[1], in nd6_process_autoconfig_prefix() 256 ip6_addr_assign_zone(&ip6addr, IP6_UNICAST, netif); in nd6_process_autoconfig_prefix() 261 if (ip6_addr_cmp(&ip6addr, netif_ip6_addr(netif, i))) { in nd6_process_autoconfig_prefix() 273 ip_addr_copy_from_ip6(netif->ip6_addr[free_idx], ip6addr); in nd6_process_autoconfig_prefix() [all …]
|
D | mld6.c | 355 ip6_addr_t ip6addr; local 360 ip6_addr_set(&ip6addr, groupaddr); 361 ip6_addr_assign_zone(&ip6addr, IP6_MULTICAST, netif); 362 groupaddr = &ip6addr; 449 ip6_addr_t ip6addr; local 452 ip6_addr_set(&ip6addr, groupaddr); 453 ip6_addr_assign_zone(&ip6addr, IP6_MULTICAST, netif); 454 groupaddr = &ip6addr;
|
/third_party/lwip/src/netif/ |
D | lowpan6_common.c | 65 lowpan6_get_address_mode(const ip6_addr_t *ip6addr, const struct lowpan6_link_addr *mac_addr) in lowpan6_get_address_mode() argument 68 if ((ip6addr->addr[2] == (u32_t)PP_HTONL(0x000000ff)) && in lowpan6_get_address_mode() 69 ((ip6addr->addr[3] & PP_HTONL(0xffff0000)) == PP_NTOHL(0xfe000000))) { in lowpan6_get_address_mode() 70 …if ((ip6addr->addr[3] & PP_HTONL(0x0000ffff)) == lwip_ntohl((mac_addr->addr[0] << 8) | mac_addr->… in lowpan6_get_address_mode() 75 …if ((ip6addr->addr[2] == lwip_ntohl(((mac_addr->addr[0] ^ 2) << 24) | (mac_addr->addr[1] << 16) | … in lowpan6_get_address_mode() 76 …(ip6addr->addr[3] == lwip_ntohl((mac_addr->addr[4] << 24) | (mac_addr->addr[5] << 16) | mac_addr->… in lowpan6_get_address_mode() 81 if ((ip6addr->addr[2] == PP_HTONL(0x000000ffUL)) && in lowpan6_get_address_mode() 82 ((ip6addr->addr[3] & PP_HTONL(0xffff0000)) == PP_NTOHL(0xfe000000UL))) { in lowpan6_get_address_mode() 93 lowpan6_get_address_mode_mc(const ip6_addr_t *ip6addr) in lowpan6_get_address_mode_mc() argument 95 if ((ip6addr->addr[0] == PP_HTONL(0xff020000)) && in lowpan6_get_address_mode_mc() [all …]
|
D | lowpan6_ble.c | 328 rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in rfc7668_output() argument 331 LWIP_UNUSED_ARG(ip6addr); in rfc7668_output()
|
D | lowpan6.c | 591 lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in lowpan6_output() argument 621 if (ip6_addr_ismulticast(ip6addr)) { in lowpan6_output() 638 (lowpan6_get_address_mode(ip6addr, &dest) == 3)) { in lowpan6_output() 646 result = nd6_get_next_hop_addr_or_queue(netif, q, ip6addr, &hwaddr); in lowpan6_output()
|
/third_party/lwip/src/core/ |
D | netif.c | 1608 netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr) argument 1615 LWIP_ASSERT("netif_get_ip6_addr_match: invalid ip6addr", ip6addr != NULL); 1618 if (ip6_addr_has_zone(ip6addr) && !ip6_addr_test_zone(ip6addr, netif)) { 1625 ip6_addr_cmp_zoneless(netif_ip6_addr(netif, i), ip6addr)) { 1709 netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx) argument 1716 LWIP_ASSERT("netif_add_ip6_address: invalid ip6addr", ip6addr != NULL); 1718 i = netif_get_ip6_addr_match(netif, ip6addr); 1728 for (i = ip6_addr_islinklocal(ip6addr) ? 0 : 1; i < LWIP_IPV6_NUM_ADDRESSES; i++) { 1730 ip_addr_copy_from_ip6(netif->ip6_addr[i], *ip6addr);
|
D | dns.c | 1422 ip6_addr_p_t ip6addr; in dns_recv() local 1424 … if (pbuf_copy_partial(p, &ip6addr, sizeof(ip6_addr_p_t), res_idx) != sizeof(ip6_addr_p_t)) { in dns_recv() 1428 ip_addr_copy_from_ip6_packed(dns_table[i].ipaddr, ip6addr); in dns_recv()
|
/third_party/lwip/src/include/netif/ |
D | lowpan6_common.h | 66 s8_t lowpan6_get_address_mode(const ip6_addr_t *ip6addr, const struct lowpan6_link_addr *mac_addr);
|
D | lowpan6.h | 73 err_t lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
|
D | lowpan6_ble.h | 56 err_t rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
|
/third_party/node/deps/cares/src/lib/ |
D | ares__addrinfo2hostent.c | 244 memcpy(&addr6ttls[*naddrttls].ip6addr, in ares__addrinfo2addrttl()
|
/third_party/node/deps/cares/include/ |
D | ares.h | 527 struct ares_in6_addr ip6addr; member
|