Home
last modified time | relevance | path

Searched refs:ip6addr (Results 1 – 13 of 13) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
Dip6_addr.h71 #define IP6_ADDR_PART(ip6addr, index, a, b, c, d) \ argument
72 (ip6addr)->addr[index] = PP_HTONL(LWIP_MAKEU32(a, b, c, d))
76 #define IP6_ADDR(ip6addr, idx0, idx1, idx2, idx3) do { \ argument
77 (ip6addr)->addr[0] = idx0; \
78 (ip6addr)->addr[1] = idx1; \
79 (ip6addr)->addr[2] = idx2; \
80 (ip6addr)->addr[3] = idx3; \
81 ip6_addr_clear_zone(ip6addr); } while(0)
84 #define IP6_ADDR_BLOCK1(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[0]) >> 16) & 0xffff)) argument
86 #define IP6_ADDR_BLOCK2(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[0])) & 0xffff)) argument
[all …]
Dip6_zone.h99 #define ip6_addr_zone(ip6addr) ((ip6addr)->zone) argument
102 #define ip6_addr_has_zone(ip6addr) (ip6_addr_zone(ip6addr) != IP6_NO_ZONE) argument
105 #define ip6_addr_set_zone(ip6addr, zone_idx) ((ip6addr)->zone = (zone_idx)) argument
108 #define ip6_addr_clear_zone(ip6addr) ((ip6addr)->zone = IP6_NO_ZONE) argument
114 #define ip6_addr_equals_zone(ip6addr, zone_idx) ((ip6addr)->zone == (zone_idx)) argument
159 #define ip6_addr_has_scope(ip6addr, type) \ argument
160 (ip6_addr_islinklocal(ip6addr) || (((type) != IP6_UNICAST) && \
161 (ip6_addr_ismulticast_iflocal(ip6addr) || \
162 ip6_addr_ismulticast_linklocal(ip6addr))))
180 #define ip6_addr_assign_zone(ip6addr, type, netif) \ argument
[all …]
Dnat64_addr.h10 int nat64_stateless_addr_4to6(const ip4_addr_t *ip4addr, ip6_addr_t *ip6addr);
11 int nat64_addr_mac_to6(const linklayer_addr_t *mac, ip6_addr_t *ip6addr);
12 int nat64_stateless_addr_6to4(const ip6_addr_t *ip6addr, ip4_addr_t *ip4addr);
13 int nat64_addr_6to4(const ip6_addr_t *ip6addr, ip4_addr_t *ip4addr);
14 int nat64_addr_is_ip4(const ip6_addr_t *ip6addr);
15 int nat64_entry_to6(const nat64_entry_t *entry, ip6_addr_t *ip6addr);
Dlwip_rpl.h23 const ip6_addr_t *lwip_rpl_route_nexthop_lookup(struct netif *iface, const ip6_addr_t *ip6addr);
25 void *lwip_rpl_route_entry_lookup(const ip6_addr_t *ip6addr);
30 void lwip_rpl_dao_proxy(const ip6_addr_t *ip6addr, const u8_t *mac, u8_t maclen);
36 void lwip_rpl_set_ip6_iid(const linklayer_addr_t *lladdr, uint8_t mnid, ip6_addr_t *ip6addr);
37 void lwip_rpl_set_addr_iid(ip6_addr_t *ip6addr, const linklayer_addr_t *lladdr);
38 err_t lwip_rpl_get_lladdr(const ip6_addr_t *ip6addr, linklayer_addr_t *lladdr);
Dnd6.h113 struct netif *nd6_find_route(const ip6_addr_t *ip6addr);
114 err_t nd6_get_next_hop_addr_or_queue(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr,
116 u16_t nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif);
118 void nd6_reachability_hint(const ip6_addr_t *ip6addr);
136 const ip6_addr_t *nd6_get_prefix_addr(const ip6_addr_t *ip6addr, struct netif *netif);
176 struct nd6_neighbor_cache_entry *nd6_neighbor_cache_lookup(const ip6_addr_t *ip6addr, struct netif …
180 s8_t nd6_find_neighbor_cache_entry(const ip6_addr_t *ip6addr, struct netif *netif);
184 u8_t *nd6_get_neighbor_lladdr(struct netif *linkiface, const ip6_addr_t *ip6addr, u8_t *lladdrlen);
Dip_addr.h274 #define ip4_2_ipv4_mapped_ipv6(ip6addr, ip4addr) do { \ argument
275 (ip6addr)->addr[3] = (ip4addr)->addr; \
276 (ip6addr)->addr[2] = PP_HTONL(0x0000FFFFUL); \
277 (ip6addr)->addr[1] = 0; \
278 (ip6addr)->addr[0] = 0; \
279 ip6_addr_clear_zone(ip6addr); } while (0)
282 #define unmap_ipv4_mapped_ipv6(ip4addr, ip6addr) \ argument
283 (ip4addr)->addr = (ip6addr)->addr[3];
Dplcip6.h23 const ip6_addr_t *ip6addr);
Dethip6.h58 err_t ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr);
Dnat64_dns64.h16 err_t nat64_dns64_get_prefix(ip6_addr_t *ip6addr, u8_t *len);
Dnetif.h883 s8_t netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr);
885 err_t netif_create_ip6_linklocal_address_from_mac(const linklayer_addr_t *mac, ip6_addr_t *ip6addr);
891 err_t netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx);
899 …reate_ip6_address_80bit_prefix(struct netif *netif, const ip6_addr_t *prefix, ip6_addr_t *ip6addr);
901 struct netif *netif_find_by_ip6addr(const ip6_addr_t *ip6addr);
Dnetifapi.h508 netifapi_netif_join_ip6_multicastgroup(struct netif *netif, ip6_addr_t *ip6addr);
/device/soc/esp/esp32/components/esp_netif/include/
Desp_netif_ip_addr.h39 #define ESP_IP6_ADDR_BLOCK1(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[0]) >> 16) & 0xff… argument
40 #define ESP_IP6_ADDR_BLOCK2(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[0])) & 0xffff)) argument
41 #define ESP_IP6_ADDR_BLOCK3(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[1]) >> 16) & 0xff… argument
42 #define ESP_IP6_ADDR_BLOCK4(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[1])) & 0xffff)) argument
43 #define ESP_IP6_ADDR_BLOCK5(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[2]) >> 16) & 0xff… argument
44 #define ESP_IP6_ADDR_BLOCK6(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[2])) & 0xffff)) argument
45 #define ESP_IP6_ADDR_BLOCK7(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[3]) >> 16) & 0xff… argument
46 #define ESP_IP6_ADDR_BLOCK8(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[3])) & 0xffff)) argument
/device/soc/esp/esp32/components/esp_lwip/port/include/lwip/
Dnetif.h556 s8_t netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr);
558 err_t netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx);