/external/openssh/ |
D | canohost.c | 46 if (addr->ss_family != AF_INET6 || in ipv64_normalise_mapped() 88 if (addr.ss_family == AF_INET6) { in get_socket_address() 93 switch (addr.ss_family) { in get_socket_address() 179 if (from.ss_family == AF_INET6) in get_sock_port() 183 if (from.ss_family != AF_INET && from.ss_family != AF_INET6) in get_sock_port()
|
/external/ipsec-tools/src/racoon/ |
D | policy.c | 113 if (spidx->src.ss_family != spidx->dst.ss_family) { 116 spidx->src.ss_family, 117 spidx->dst.ss_family); 120 switch (spidx->src.ss_family) { 131 "invalid family: %d\n", spidx->src.ss_family); 236 if (a->src.ss_family != b->src.ss_family) 238 if (a->dst.ss_family != b->dst.ss_family)
|
D | sockmisc.c | 444 if (ss.ss_family == AF_INET6 470 if (ss.ss_family == AF_INET 488 if (ss.ss_family == AF_INET6 506 if (ss.ss_family == AF_INET 560 if (src->sa_family != ss.ss_family) { 703 if (ss.ss_family == src->sa_family && memcmp(&ss, src, sysdep_sa_len(src)) == 0) {
|
/external/strace/tests-mx32/ |
D | group_req.c | 68 greq4->gr_group.ss_family = AF_INET; in main() 69 inet_pton(AF_INET, multi4addr, &greq4->gr_group.ss_family + 2); in main() 71 greq6->gr_group.ss_family = AF_INET6; in main() 72 inet_pton(AF_INET6, multi6addr, &greq6->gr_group.ss_family + 4); in main()
|
/external/strace/tests/ |
D | group_req.c | 68 greq4->gr_group.ss_family = AF_INET; in main() 69 inet_pton(AF_INET, multi4addr, &greq4->gr_group.ss_family + 2); in main() 71 greq6->gr_group.ss_family = AF_INET6; in main() 72 inet_pton(AF_INET6, multi6addr, &greq6->gr_group.ss_family + 4); in main()
|
/external/strace/tests-m32/ |
D | group_req.c | 68 greq4->gr_group.ss_family = AF_INET; in main() 69 inet_pton(AF_INET, multi4addr, &greq4->gr_group.ss_family + 2); in main() 71 greq6->gr_group.ss_family = AF_INET6; in main() 72 inet_pton(AF_INET6, multi6addr, &greq6->gr_group.ss_family + 4); in main()
|
/external/wpa_supplicant_8/src/common/ |
D | ctrl_iface_common.c | 20 if (a->ss_family != b->ss_family) in sockaddr_compare() 23 switch (a->ss_family) { in sockaddr_compare() 80 switch (sock->ss_family) { in sockaddr_print()
|
/external/webrtc/rtc_base/ |
D | socket_address.cc | 281 addr->ss_family = static_cast<unsigned short>(ip.family()); in ToSockAddrStorageHelper() 282 if (addr->ss_family == AF_INET6) { in ToSockAddrStorageHelper() 288 } else if (addr->ss_family == AF_INET) { in ToSockAddrStorageHelper() 310 if (addr.ss_family == AF_INET) { in SocketAddressFromSockAddrStorage() 315 } else if (addr.ss_family == AF_INET6) { in SocketAddressFromSockAddrStorage()
|
/external/libevent/sample/ |
D | http-server.c | 412 if (ss.ss_family == AF_INET) { in display_listen_sock() 415 } else if (ss.ss_family == AF_INET6) { in display_listen_sock() 420 else if (ss.ss_family == AF_UNIX) { in display_listen_sock() 427 ss.ss_family); in display_listen_sock() 431 addr = evutil_inet_ntop(ss.ss_family, inaddr, addrbuf, in display_listen_sock()
|
/external/python/cpython3/Modules/ |
D | addrinfo.h | 152 unsigned char ss_family; /* address family */ member 154 unsigned short ss_family; /* address family */
|
/external/python/cpython2/Modules/ |
D | addrinfo.h | 156 unsigned char ss_family; /* address family */ member 158 unsigned short ss_family; /* address family */
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/bio/ |
D | bio_test.cc | 76 ss.ss_family = AF_INET6; in TEST() 85 ss.ss_family = AF_INET; in TEST() 101 if (ss.ss_family == AF_INET6) { in TEST() 104 } else if (ss.ss_family == AF_INET) { in TEST()
|
/external/boringssl/src/crypto/bio/ |
D | bio_test.cc | 76 ss.ss_family = AF_INET6; in TEST() 85 ss.ss_family = AF_INET; in TEST() 101 if (ss.ss_family == AF_INET6) { in TEST() 104 } else if (ss.ss_family == AF_INET) { in TEST()
|
/external/libevent/test/ |
D | regress_testutils.c | 84 if (ss.ss_family == AF_INET) in regress_get_socket_port() 86 else if (ss.ss_family == AF_INET6) in regress_get_socket_port()
|
/external/kernel-headers/original/uapi/linux/ |
D | socket.h | 19 __kernel_sa_family_t ss_family; /* address family */ member
|
/external/usrsctp/programs/ |
D | programs_helper.c | 153 switch (spc->spc_aaddr.ss_family) { 175 if (_snprintf(addr_buf, INET6_ADDRSTRLEN, "Unknown family %d", spc->spc_aaddr.ss_family) < 0) { 177 if (snprintf(addr_buf, INET6_ADDRSTRLEN, "Unknown family %d", spc->spc_aaddr.ss_family) < 0) {
|
D | discard_server_upcall.c | 93 switch (addr.ss_family) { in handle_upcall() 187 encaps.sue_address.ss_family = AF_INET6; in main()
|
D | echo_server_upcall.c | 95 switch (addr.ss_family) { in handle_upcall() 204 encaps.sue_address.ss_family = AF_INET6; in main()
|
/external/libnl/include/linux-private/linux/ |
D | socket.h | 15 __kernel_sa_family_t ss_family; /* address family */ member
|
/external/iproute2/include/uapi/linux/ |
D | socket.h | 15 __kernel_sa_family_t ss_family; /* address family */ member
|
/external/libpcap/ |
D | sockutils.c | 1451 if (first->ss_family == second->ss_family) in sock_cmpaddr() 1453 if (first->ss_family == AF_INET) in sock_cmpaddr() 1587 if (sockaddr->ss_family == AF_INET) in sock_getascii_addrport() 1597 if ((sockaddr->ss_family == AF_INET6) && in sock_getascii_addrport()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-optee.h | 45 sa_family_t ss_family; /* address family */ member
|
/external/rust/crates/libc/src/unix/newlib/arm/ |
D | mod.rs | 30 pub ss_family: ::sa_family_t,
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 1101 if (addr1->ss_family != addr2->ss_family) in cmp_addr() 1104 if (addr1->ss_family == AF_INET) { in cmp_addr() 1109 } else if (addr1->ss_family == AF_INET6) { in cmp_addr() 1153 fd = socket(addr->ss_family, type, 0); in start_server() 1185 domain = addr->ss_family; in connect_to_server() 1259 domain = addr->ss_family; in sendmsg_to_server()
|
/external/grpc-grpc/test/core/iomgr/ |
D | tcp_server_posix_test.cc | 319 addr->ss_family = addr1->ss_family = AF_INET; in test_connect() 396 fd_num, fd, sock_family_name(addr->ss_family), dst.str); in test_connect()
|