Searched refs:ip6 (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-latest/components/esp_netif/include/ |
D | esp_netif_ip_addr.h | 83 #define ESP_IP6ADDR_INIT(a, b, c, d) { .type = ESP_IPADDR_TYPE_V6, .u_addr = { .ip6 = { .addr = { … 91 … (addr.type == ESP_IPADDR_TYPE_V6 && ip6_addr_isany_val(addr.u_addr.ip6))) 95 #define ESP_IP_IS_ANY(addr) (ip6_addr_isany_val(addr.u_addr.ip6)) 125 esp_ip6_addr_t ip6; /*!< IPv6 address type */ member 159 dest->u_addr.ip6.addr[0] = src->u_addr.ip6.addr[0]; in esp_netif_ip_addr_copy() 160 dest->u_addr.ip6.addr[1] = src->u_addr.ip6.addr[1]; in esp_netif_ip_addr_copy() 161 dest->u_addr.ip6.addr[2] = src->u_addr.ip6.addr[2]; in esp_netif_ip_addr_copy() 162 dest->u_addr.ip6.addr[3] = src->u_addr.ip6.addr[3]; in esp_netif_ip_addr_copy() 163 dest->u_addr.ip6.zone = src->u_addr.ip6.zone; in esp_netif_ip_addr_copy() 166 dest->u_addr.ip6.addr[1] = 0; in esp_netif_ip_addr_copy() [all …]
|
/hal_espressif-latest/components/esp_wifi/wifi_apps/include/ |
D | esp_nan.h | 159 void esp_wifi_nan_get_ipv6_linklocal_from_mac(ip6_addr_t *ip6, uint8_t *mac_addr);
|
/hal_espressif-latest/components/esp_wifi/wifi_apps/src/ |
D | nan_app.c | 85 void esp_wifi_nan_get_ipv6_linklocal_from_mac(ip6_addr_t *ip6, uint8_t *mac_addr) in esp_wifi_nan_get_ipv6_linklocal_from_mac() argument 87 if (ip6 == NULL || mac_addr == NULL) in esp_wifi_nan_get_ipv6_linklocal_from_mac() 90 ip6->addr[0] = htonl(0xfe800000ul); in esp_wifi_nan_get_ipv6_linklocal_from_mac() 91 ip6->addr[1] = 0; in esp_wifi_nan_get_ipv6_linklocal_from_mac() 94 ip6->addr[2] = htonl((((uint32_t)(mac_addr[0] ^ 0x02)) << 24) | in esp_wifi_nan_get_ipv6_linklocal_from_mac() 98 ip6->addr[3] = htonl((uint32_t)(0xfeul << 24) | in esp_wifi_nan_get_ipv6_linklocal_from_mac() 103 ip6->zone = IP6_NO_ZONE; in esp_wifi_nan_get_ipv6_linklocal_from_mac() 559 esp_wifi_nan_get_ipv6_linklocal_from_mac(&target_addr.u_addr.ip6, evt->peer_ndi); in nan_app_action_ndp_confirm()
|
/hal_espressif-latest/components/esp_netif/lwip/ |
D | esp_netif_lwip.c | 99 #define ESPIP_TO_IP(espip, ip) memcpy((ip), &((espip)->u_addr.ip6), sizeof(ip_addr_t)); 100 #define IP_TO_ESPIP(ip, espip) do { memcpy(&((espip)->u_addr.ip6), (ip), sizeof(ip6_addr_t)); \
|