Searched refs:sock_family (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Modules/ |
D | socketmodule.h | 127 int sock_family; /* Address family, e.g., AF_INET */ member
|
D | socketmodule.c | 813 s->sock_family = family; in init_sockobject() 1265 switch (s->sock_family) { in getsockaddrarg() 1297 addr->sun_family = s->sock_family; in getsockaddrarg() 1405 addr->sin6_family = s->sock_family; in getsockaddrarg() 1633 switch (s->sock_family) { in getsockaddrlen() 1761 s->sock_family, in sock_accept() 2244 s->sock_family, 3129 {"family", T_INT, offsetof(PySocketSockObject, sock_family), READONLY, "the socket family"}, 3175 sock_fd, s->sock_family,
|
/external/python/cpython3/Modules/ |
D | socketmodule.h | 218 int sock_family; /* Address family, e.g., AF_INET */ member
|
D | socketmodule.c | 950 s->sock_family = family; in init_sockobject() 1596 switch (s->sock_family) { in getsockaddrarg() 1640 addr->sun_family = s->sock_family; in getsockaddrarg() 1692 addr->svm_family = s->sock_family; in getsockaddrarg() 1779 addr->sin6_family = s->sock_family; in getsockaddrarg() 2207 switch (s->sock_family) { in getsockaddrlen() 2490 if (s->sock_family == AF_ALG) { in sock_accept_impl() 2773 if (s->sock_family == AF_VSOCK) { in sock_setsockopt() 2866 if (s->sock_family == AF_VSOCK) { in sock_getsockopt() 2884 if (s->sock_family == AF_VSOCK) { in sock_getsockopt() [all …]
|