Searched refs:sin6 (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | getnameinfo.c | 263 const struct sockaddr_in6 *sin6; in getnameinfo_inet() local 264 sin6 = (const struct sockaddr_in6 *)(const void *)sa; in getnameinfo_inet() 265 switch (sin6->sin6_addr.s6_addr[0]) { in getnameinfo_inet() 267 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) in getnameinfo_inet() 269 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) in getnameinfo_inet() 275 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { in getnameinfo_inet() 278 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr)) in getnameinfo_inet()
|
D | getaddrinfo.c | 790 struct sockaddr_in6 *sin6; in explore_numeric_scope() 834 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr; in explore_numeric_scope() 835 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) { in explore_numeric_scope() 839 sin6->sin6_scope_id = scopeid; in explore_numeric_scope() 1012 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid) in ip6_str2scopeid() argument 1019 _DIAGASSERT(sin6 != NULL); in ip6_str2scopeid() 1022 a6 = &sin6->sin6_addr; in ip6_str2scopeid()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | socketmodule.c | 3305 struct sockaddr_in6 sin6; local 3306 memset(&sin6, 0, sizeof(sin6)); 3307 sin6.sin6_family = af; 3309 sin6.sin6_len = sizeof(sin6); 3311 memcpy(&sin6.sin6_addr, *pch, sizeof(sin6.sin6_addr)); 3312 tmp = makeipaddr((struct sockaddr *)&sin6, 3313 sizeof(sin6)); 3315 if (pch == h->h_addr_list && alen >= sizeof(sin6)) 3316 memcpy((char *) addr, &sin6, sizeof(sin6)); 4211 struct sockaddr_in6 *sin6; local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | socketmodule.c | 3387 struct sockaddr_in6 sin6; local 3388 memset(&sin6, 0, sizeof(sin6)); 3389 sin6.sin6_family = af; 3391 sin6.sin6_len = sizeof(sin6); 3393 memcpy(&sin6.sin6_addr, *pch, sizeof(sin6.sin6_addr)); 3394 tmp = makeipaddr((struct sockaddr *)&sin6, 3395 sizeof(sin6)); 3397 if (pch == h->h_addr_list && alen >= sizeof(sin6)) 3398 memcpy((char *) addr, &sin6, sizeof(sin6)); 4313 struct sockaddr_in6 *sin6; local [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/netinet6/ |
D | in6.h | 731 #define sin6tosa(sin6) ((struct sockaddr *)(sin6)) argument
|