Home
last modified time | relevance | path

Searched refs:AF_INET6 (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/lwip/lwip2.0.0/api/
A Dnetdb.c296 && (ai_family != AF_INET6) in lwip_getaddrinfo()
323 (IP_IS_V4_VAL(addr) && ai_family == AF_INET6)) { in lwip_getaddrinfo()
333 } else if (ai_family == AF_INET6) { in lwip_getaddrinfo()
348 ip_addr_set_any(ai_family == AF_INET6, &addr); in lwip_getaddrinfo()
350 ip_addr_set_loopback(ai_family == AF_INET6, &addr); in lwip_getaddrinfo()
382 sa6->sin6_family = AF_INET6; in lwip_getaddrinfo()
385 ai->ai_family = AF_INET6; in lwip_getaddrinfo()
A Dsockets.c98 (sin6)->sin6_family = AF_INET6; \
114 ((name)->sa_family == AF_INET6))
117 (((name)->sa_family == AF_INET6) && (NETCONNTYPE_ISIPV6((sock)->conn->type))))
129 #define IS_SOCK_ADDR_TYPE_VALID(name) ((name)->sa_family == AF_INET6)
445 if ((sockaddr->sa_family) == AF_INET6) { in sockaddr_to_ipaddr_port()
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dsockets.h228 #define AF_INET6 10 macro
230 #define AF_INET6 AF_UNSPEC macro
234 #define PF_INET6 AF_INET6
588 (((af) == AF_INET6) ? ip6addr_ntoa_r((const ip6_addr_t*)(src),(dst),(size)) \
592 (((af) == AF_INET6) ? ip6addr_aton((src),(ip6_addr_t*)(dst)) \
601 (((af) == AF_INET6) ? ip6addr_ntoa_r((const ip6_addr_t*)(src),(dst),(size)) : NULL)
603 (((af) == AF_INET6) ? ip6addr_aton((src),(ip6_addr_t*)(dst)) : 0)
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dsockets.h217 #define AF_INET6 10 macro
219 #define AF_INET6 AF_UNSPEC macro
222 #define PF_INET6 AF_INET6
569 (((af) == AF_INET6) ? ip6addr_ntoa_r((const ip6_addr_t*)(src),(dst),(size)) \
573 (((af) == AF_INET6) ? ip6addr_aton((src),(ip6_addr_t*)(dst)) \
582 (((af) == AF_INET6) ? ip6addr_ntoa_r((const ip6_addr_t*)(src),(dst),(size)) : NULL)
584 (((af) == AF_INET6) ? ip6addr_aton((src),(ip6_addr_t*)(dst)) : 0)
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/ping/
A Dping.c174 to6->sin6_family = AF_INET6; in ping_send()
207 if(from.ss_family == AF_INET6) { in ping_recv()
264 s = lwip_socket(AF_INET6, SOCK_RAW, IP_PROTO_ICMP); in ping_thread()
266 s = lwip_socket(AF_INET6, SOCK_RAW, IP6_NEXTH_ICMP6); in ping_thread()
511 if(((struct sockaddr*)(res->ai_addr))->sa_family == AF_INET6) { in ping_run()
/AliOS-Things-master/components/amp-utility/python/
A Dusocket.py12 AF_INET6 = 1 variable
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c851 case AF_INET6: in mod_socket_inet_pton()
905 case AF_INET6: in mod_socket_sockaddr()
909 t->items[0] = MP_OBJ_NEW_SMALL_INT(AF_INET6); in mod_socket_sockaddr()
940 { MP_ROM_QSTR(MP_QSTR_AF_INET6), MP_ROM_INT(AF_INET6) },
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodsocket.c890 case AF_INET6: in mod_socket_inet_pton()
949 case AF_INET6: in mod_socket_sockaddr()
953 t->items[0] = MP_OBJ_NEW_SMALL_INT(AF_INET6); in mod_socket_sockaddr()
988 { MP_ROM_QSTR(MP_QSTR_AF_INET6), MP_ROM_INT(AF_INET6) },
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodsocket.c826 case AF_INET6: in mod_socket_inet_pton()
876 case AF_INET6: { in mod_socket_sockaddr()
879 t->items[0] = MP_OBJ_NEW_SMALL_INT(AF_INET6); in mod_socket_sockaddr()
909 { MP_ROM_QSTR(MP_QSTR_AF_INET6), MP_ROM_INT(AF_INET6) },
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dipv6cp.c360 if (inet_pton(AF_INET6, arg, &addr) == 0 || !VALIDID(addr)) {
377 if (inet_pton(AF_INET6, comma, &addr) == 0 || !VALIDID(addr)) {

Completed in 25 milliseconds