Searched refs:addr_ret (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | socketmodule.c | 861 setipaddr(char *name, struct sockaddr *addr_ret, size_t addr_ret_size, int af) in setipaddr() argument 868 memset((void *) addr_ret, '\0', sizeof(*addr_ret)); in setipaddr() 911 memcpy(addr_ret, res->ai_addr, addr_ret_size); in setipaddr() 922 sin = (struct sockaddr_in *)addr_ret; in setipaddr() 935 sin = (struct sockaddr_in *)addr_ret; in setipaddr() 966 memcpy((char *) addr_ret, res->ai_addr, addr_ret_size); in setipaddr() 968 switch (addr_ret->sa_family) { in setipaddr() 1263 struct sockaddr *addr_ret, int *len_ret) in getsockaddrarg() argument 1276 addr = (struct sockaddr_un*)addr_ret; in getsockaddrarg() 1313 addr = (struct sockaddr_nl *)addr_ret; in getsockaddrarg() [all …]
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 1022 setipaddr(const char *name, struct sockaddr *addr_ret, size_t addr_ret_size, int af) in setipaddr() argument 1027 memset((void *) addr_ret, '\0', sizeof(*addr_ret)); in setipaddr() 1070 memcpy(addr_ret, res->ai_addr, addr_ret_size); in setipaddr() 1084 sin = (struct sockaddr_in *)addr_ret; in setipaddr() 1098 struct sockaddr_in *sin = (struct sockaddr_in *)addr_ret; in setipaddr() 1113 struct sockaddr_in6 *sin = (struct sockaddr_in6 *)addr_ret; in setipaddr() 1127 struct sockaddr_in *sin = (struct sockaddr_in *)addr_ret; in setipaddr() 1161 memcpy((char *) addr_ret, res->ai_addr, addr_ret_size); in setipaddr() 1163 switch (addr_ret->sa_family) { in setipaddr() 1594 struct sockaddr *addr_ret, int *len_ret) in getsockaddrarg() argument [all …]
|