Home
last modified time | relevance | path

Searched refs:ai_addr (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetAddrInfo/
DGetAddrInfo.c93 printf ( " 0x%02x: ai_addr->sa_len\r\n", (UINT8)pInfo->ai_addr->sa_len ); in main()
94 printf ( " 0x%02x: ai_addr->sa_family\r\n", (UINT8)pInfo->ai_addr->sa_family ); in main()
95 MaxLen = pInfo->ai_addr->sa_len; in main()
100 …printf ( " 0x%02x: ai_addr->sa_data[%02d]\r\n", (UINT8)pInfo->ai_addr->sa_data [ Index ], Ind… in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetaddrinfo.c174 (ai)->ai_addr = (struct sockaddr *)((ai) + 1);\
175 memset((ai)->ai_addr, 0, (gai_afd)->a_socklen);\
176 (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (gai_afd)->a_socklen;\
177 (ai)->ai_addr->sa_family = (ai)->ai_family = (gai_afd)->a_af;\
178 ((struct sockinet *)(ai)->ai_addr)->si_port = port;\
179 p = (char *)((ai)->ai_addr);\
189 (ai)->ai_addr = (struct sockaddr *)((ai) + 1);\
190 memset((ai)->ai_addr, 0, (gai_afd)->a_socklen);\
192 (ai)->ai_addr->sa_family = (ai)->ai_family = (gai_afd)->a_af;\
193 ((struct sockinet *)(ai)->ai_addr)->si_port = port;\
[all …]
Daddrinfo.h135 struct sockaddr *ai_addr; /* binary address */ member
Dsocketmodule.c829 memcpy(addr_ret, res->ai_addr, addr_ret_size); in setipaddr()
884 memcpy((char *) addr_ret, res->ai_addr, addr_ret_size); in setipaddr()
4120 makesockaddr(-1, res->ai_addr, res->ai_addrlen, protocol);
4212 sin6 = (struct sockaddr_in6 *)res->ai_addr;
4219 error = getnameinfo(res->ai_addr, res->ai_addrlen,
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNameInfo/
DGetNameInfo.c86 AppStatus = getnameinfo ((struct sockaddr *)pInfo->ai_addr, in main()
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetaddrinfo.c382 pai->ai_addr = NULL; in getaddrinfo()
390 hints->ai_addr || hints->ai_next) in getaddrinfo()
834 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr; in explore_numeric_scope()
881 ai->ai_addr = (struct sockaddr *)(void *)(ai + 1); in get_ai()
882 memset(ai->ai_addr, 0, (size_t)afd->a_socklen); in get_ai()
883 ai->ai_addr->sa_len = (uint8_t)afd->a_socklen; in get_ai()
886 ai->ai_addr->sa_family = (sa_family_t)ai->ai_family; in get_ai()
887 p = (char *)(void *)(ai->ai_addr); in get_ai()
981 ai->ai_addr)->sin_port = (in_port_t)port; in get_port()
986 ai->ai_addr)->sin6_port = (in_port_t)port; in get_port()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
Daddrinfo.h135 struct sockaddr *ai_addr; /* binary address */ member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Daddrinfo.h134 struct sockaddr *ai_addr; /* binary address */ member
Dsocketmodule.c887 memcpy(addr_ret, res->ai_addr, addr_ret_size); in setipaddr()
942 memcpy((char *) addr_ret, res->ai_addr, addr_ret_size); in setipaddr()
4216 makesockaddr(-1, res->ai_addr, res->ai_addrlen, protocol);
4314 sin6 = (struct sockaddr_in6 *)res->ai_addr;
4321 error = getnameinfo(res->ai_addr, res->ai_addrlen,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Daddrinfo.h144 struct sockaddr *ai_addr; /* binary address */ member
/device/linaro/bootloader/edk2/StdLib/Include/
Dnetdb.h179 struct sockaddr *ai_addr; /**< binary address */ member