/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
H A D | mcast.py | 32 addrinfo = socket.getaddrinfo(group, None)[0]
34 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
38 if addrinfo[0] == socket.AF_INET: # IPv4
45 s.sendto(data + '\0', (addrinfo[4][0], MYPORT))
51 addrinfo = socket.getaddrinfo(group, None)[0]
54 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
63 group_bin = socket.inet_pton(addrinfo[0], addrinfo[4][0])
65 if addrinfo[0] == socket.AF_INET: # IPv4
|
/device/generic/goldfish/wifi/ipv6proxy/ |
H A D | address.cpp | 63 struct addrinfo hints; 67 struct addrinfo* addrinfo; local 68 int res = ::getaddrinfo(address.c_str(), nullptr, &hints, &addrinfo); 72 mStorage.resize(addrinfo->ai_addrlen); 73 memcpy(mStorage.data(), addrinfo->ai_addr, mStorage.size()); 74 freeaddrinfo(addrinfo);
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
H A D | getaddrinfo.c | 208 static int explore_fqdn(const struct addrinfo *, const char *,
209 const char *, struct addrinfo **, struct servent_data *);
210 static int explore_null(const struct addrinfo *,
211 const char *, struct addrinfo **, struct servent_data *);
212 static int explore_numeric(const struct addrinfo *, const char *,
213 const char *, struct addrinfo **, const char *, struct servent_data *);
214 static int explore_numeric_scope(const struct addrinfo *, const char *,
215 const char *, struct addrinfo **, struct servent_data *);
216 static int get_canonname(const struct addrinfo *,
217 struct addrinfo *, cons [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/ |
H A D | netdb.h | 169 struct addrinfo {
struct 180 struct addrinfo *ai_next; /**< next structure in linked list */
218 /* valid flags for addrinfo (not a standard def, apps should not use it) */
259 const struct addrinfo * __restrict,
260 struct addrinfo ** __restrict);
264 void freeaddrinfo (struct addrinfo *);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
H A D | getaddrinfo.c | 57 #include "addrinfo.h"
133 struct addrinfo **, char *, struct addrinfo *,
135 static int get_addr Py_PROTO((const char *, int, struct addrinfo **,
136 struct addrinfo *, int));
170 if (((ai) = (struct addrinfo *)malloc(sizeof(struct addrinfo) +\
173 memcpy(ai, pai, sizeof(struct addrinfo));\
185 if (((ai) = (struct addrinfo *)malloc(sizeof(struct addrinfo) [all...] |
H A D | addrinfo.h | 91 /* valid flags for addrinfo */
128 struct addrinfo {
struct 136 struct addrinfo *ai_next; /* next structure in linked list */
|
H A D | socketmodule.c | 305 /* include Python's addrinfo.h unless it causes trouble */
312 /* Do not include addrinfo.h for MSVC7 or greater. 'addrinfo' and
316 # include "addrinfo.h"
781 struct addrinfo hints, *res;
4057 struct addrinfo hints, *res;
4058 struct addrinfo *res0 = NULL;
4152 Resolve host and port into addrinfo struct.");
4165 struct addrinfo hints, *res = NULL;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetAddrInfo/ |
H A D | GetAddrInfo.c | 47 struct addrinfo * pAddrInfo;
49 struct addrinfo * pInfo;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNameInfo/ |
H A D | GetNameInfo.c | 46 struct addrinfo * pAddrInfo;
48 struct addrinfo * pInfo;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
H A D | addrinfo.h | 91 /* valid flags for addrinfo */
128 struct addrinfo {
struct 136 struct addrinfo *ai_next; /* next structure in linked list */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
H A D | addrinfo.h | 91 /* valid flags for addrinfo */
127 struct addrinfo {
struct 135 struct addrinfo *ai_next; /* next structure in linked list */
|
H A D | socketmodule.c | 310 /* include Python's addrinfo.h unless it causes trouble */
317 /* Do not include addrinfo.h for MSVC7 or greater. 'addrinfo' and
321 # include "addrinfo.h"
839 struct addrinfo hints, *res;
4139 struct addrinfo hints, *res;
4140 struct addrinfo *res0 = NULL;
4248 Resolve host and port into addrinfo struct.");
4262 struct addrinfo hints, *res = NULL;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
H A D | addrinfo.h | 100 /* valid flags for addrinfo */
137 struct addrinfo {
struct 145 struct addrinfo *ai_next; /* next structure in linked list */
|