/third_party/lwip/src/include/lwip/ |
H A D | ip6_addr.h | 70 #define IP6_ADDR_PART(ip6addr, index, a,b,c,d) \ 71 (ip6addr)->addr[index] = PP_HTONL(LWIP_MAKEU32(a,b,c,d)) 75 #define IP6_ADDR(ip6addr, idx0, idx1, idx2, idx3) do { \ 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) [all...] |
H A D | ip6_zone.h | 109 #define ip6_addr_zone(ip6addr) ((ip6addr)->zone) 112 #define ip6_addr_has_zone(ip6addr) (ip6_addr_zone(ip6addr) != IP6_NO_ZONE) 115 #define ip6_addr_set_zone(ip6addr, zone_idx) ((ip6addr)->zone = (zone_idx)) 118 #define ip6_addr_clear_zone(ip6addr) ((ip6addr)->zone = IP6_NO_ZONE) 124 #define ip6_addr_equals_zone(ip6addr, zone_idx) ((ip6addr) [all...] |
H A 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, const u8_t **hwaddrp); 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);
|
H A D | ip_addr.h | 85 /** @ingroup ip6addr */ 87 /** @ingroup ip6addr */ 97 /** @ingroup ip6addr */ 101 /** @ingroup ip6addr */ 113 /** @ingroup ip6addr 125 /** @ingroup ip6addr */ 128 /** @ingroup ip6addr */ 140 /** @ingroup ip6addr */ 143 /** @ingroup ip6addr */ 170 /** @ingroup ip6addr */ [all...] |
H A D | ethip6.h | 60 err_t ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
|
H A 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_standard/src/ap/ |
H A 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 *ip6add in sta_ip6addr_del() local 71 struct ip6addr *ip6addr; sta_has_ip6addr() local [all...] |
H A D | sta_info.h | 111 struct dl_list ip6addr; /* list head for struct ip6addr */ member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A 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 *ip6add in sta_ip6addr_del() local 71 struct ip6addr *ip6addr; sta_has_ip6addr() local [all...] |
H A D | sta_info.h | 70 struct dl_list ip6addr; /* list head for struct ip6addr */ member
|
H A D | sta_info.c | 725 dl_list_init(&sta->ip6addr); in ap_sta_add()
|
/third_party/lwip/src/core/ipv6/ |
H A D | ethip6.c | 73 * @param ip6addr The IP address of the packet destination. 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()
|
H A 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() 1521 nd6_find_neighbor_cache_entry(const ip6_addr_t *ip6addr) global() argument 1680 nd6_find_destination_cache_entry(const ip6_addr_t *ip6addr) global() argument 1750 nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif) global() argument 1790 nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif) global() argument 1862 nd6_find_route(const ip6_addr_t *ip6addr) global() argument 2044 nd6_get_next_hop_entry(const ip6_addr_t *ip6addr, struct netif *netif) global() argument 2367 nd6_get_next_hop_addr_or_queue(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr, const u8_t **hwaddrp) global() argument 2408 nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif) global() argument 2438 nd6_reachability_hint(const ip6_addr_t *ip6addr) global() argument [all...] |
H A 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/ |
H A 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->addr[1])) { in lowpan6_get_address_mode() 75 if ((ip6addr->addr[2] == lwip_ntohl(((mac_addr->addr[0] ^ 2) << 24) | (mac_addr->addr[1] << 16) | mac_addr->addr[2] << 8 | mac_addr->addr[3])) && in lowpan6_get_address_mode() 76 (ip6addr->addr[3] == lwip_ntohl((mac_addr->addr[4] << 24) | (mac_addr->addr[5] << 16) | mac_addr->addr[6] << 8 | mac_addr->addr[7]))) { 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 in lowpan6_get_address_mode_mc() 115 lowpan6_context_lookup(const ip6_addr_t *lowpan6_contexts, const ip6_addr_t *ip6addr) lowpan6_context_lookup() argument [all...] |
H A D | lowpan6_ble.c | 323 * @param ip6addr The IP address of the packet destination. 328 rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in rfc7668_output() argument 330 /* dst ip6addr is not used here, we only have one peer */ in rfc7668_output() 331 LWIP_UNUSED_ARG(ip6addr); in rfc7668_output()
|
H A D | lowpan6.c | 586 * @param ip6addr The IP address of the packet destination. 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/ |
H A D | netif.c | 1603 * @param ip6addr the IPv6 address to find 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)) { 1705 * @param ip6addr address to add 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", ip6add [all...] |
H A 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() 1427 /* @todo: scope ip6addr? Might be required for link-local addresses at least? */ in dns_recv() 1428 ip_addr_copy_from_ip6_packed(dns_table[i].ipaddr, ip6addr); in dns_recv()
|
/third_party/lwip/src/include/netif/ |
H A D | lowpan6_common.h | 66 s8_t lowpan6_get_address_mode(const ip6_addr_t *ip6addr, const struct lowpan6_link_addr *mac_addr);
|
H A D | lowpan6.h | 73 err_t lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
|
H A 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/ |
H A D | ares__addrinfo2hostent.c | 260 &addr6ttls[*naddrttls].ip6addr, in ares__addrinfo2addrttl()
|
/third_party/cares/include/ |
H A D | ares.h | 526 struct ares_in6_addr ip6addr; member
|
/third_party/node/deps/cares/include/ |
H A D | ares.h | 559 struct ares_in6_addr ip6addr; member
|