Home
last modified time | relevance | path

Searched refs:ss_family (Results 1 – 25 of 42) sorted by relevance

12

/external/openssh/
Dcanohost.c63 if (from.ss_family == AF_INET) in get_remote_hostname()
68 if (from.ss_family == AF_INET6) in get_remote_hostname()
114 hints.ai_family = from.ss_family; in get_remote_hostname()
187 if (addr->ss_family != AF_INET6 || in ipv64_normalise_mapped()
263 if (addr.ss_family == AF_INET6) { in get_socket_address()
268 switch (addr.ss_family) { in get_socket_address()
395 if (from.ss_family == AF_INET6) in get_sock_port()
399 if (from.ss_family != AF_INET && from.ss_family != AF_INET6) in get_sock_port()
Dentropy.c116 fd = socket(addr.ss_family, SOCK_STREAM, 0); in get_random_bytes_prngd()
Ddefines.h352 # define ss_family __ss_family macro
Dloginrec.c1705 if (from.ss_family == AF_INET) { in record_failed_login()
1711 if (from.ss_family == AF_INET6) { in record_failed_login()
/external/ipsec-tools/src/racoon/
Dpolicy.c113 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)
Dsockmisc.c444 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) {
Disakmp_quick.c1988 switch (spidx.dst.ss_family) {
2031 && spidx.dst.ss_family == spidx.src.ss_family) {
2055 switch (spidx.src.ss_family) {
Dproposal.c1083 if (req->saidx.src.ss_family && req->saidx.dst.ss_family) {
/external/wpa_supplicant_8/src/common/
Dctrl_iface_common.c20 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/webrtc/base/
Dsocketaddress.cc286 addr->ss_family = static_cast<unsigned short>(ip.family()); in ToSockAddrStorageHelper()
287 if (addr->ss_family == AF_INET6) { in ToSockAddrStorageHelper()
293 } else if (addr->ss_family == AF_INET) { in ToSockAddrStorageHelper()
315 if (addr.ss_family == AF_INET) { in SocketAddressFromSockAddrStorage()
320 } else if (addr.ss_family == AF_INET6) { in SocketAddressFromSockAddrStorage()
Dmacasyncsocket.cc242 MacAsyncSocket* s = new MacAsyncSocket(ss_, saddr.ss_family, socket_fd); in Accept()
Dsocketaddress_unittest.cc236 addr_storage.ss_family = AF_UNSPEC; in TEST()
/external/kernel-headers/original/uapi/linux/
Dsocket.h14 __kernel_sa_family_t ss_family; /* address family */ member
/external/libevent/include/event2/
Dutil.h263 && !defined(ss_family)
264 #define ss_family __ss_family macro
/external/openssh/openbsd-compat/
Dfake-rfc2553.h59 # define ss_family ss_sa.sa_family macro
/external/mdnsresponder/mDNSWindows/
DPosixCompat.c86 ss.ss_family = family; in inet_pton()
/external/libxml2/
Dnanoftp.c107 #define ss_family __ss_family macro
1394 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
1413 if ((ctxt->ftpAddr).ss_family == AF_INET6) in xmlNanoFTPGetConnection()
1444 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
1481 if ((ctxt->ftpAddr).ss_family == AF_INET6) in xmlNanoFTPGetConnection()
1500 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
Dconfigure.ac694 dnl a ss_family member, but rather __ss_family. Let's detect that
696 dnl platforms. However, we should only do this if ss_family is not
699 AC_MSG_CHECKING([struct sockaddr::ss_family])
705 ss.ss_family = 0 ;
712 AC_MSG_CHECKING([broken struct sockaddr::ss_family])
727 AC_DEFINE(ss_family, __ss_family, definition
728 [ss_family is not defined here, use __ss_family instead])
730 AC_MSG_WARN(ss_family and __ss_family not found)
/external/ltp/testcases/network/lib6/
Din6_01.c217 if (ss.ss_family == af) { in test_sockaddr_storage()
/external/libevent/
Dutil-internal.h227 #define ss_family ss_union.ss_sa.sa_family macro
/external/toybox/toys/pending/
Dtftpd.c252 TT.sfd = xsocket(dstaddr.ss_family, SOCK_DGRAM, 0); in tftpd_main()
/external/libxml2/os400/
Dos400config.h.in339 /* ss_family is not defined here, use __ss_family instead */
340 #undef ss_family
/external/bison/m4/
Dsys_socket_h.m472 AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family],
/external/curl/packages/OS400/
Dos400sys.c1303 laddr.ss_family = AF_UNSPEC; /* To detect if unused. */ in Curl_os400_recvfrom()
1310 switch (laddr.ss_family) { in Curl_os400_recvfrom()
/external/ltp/utils/sctp/func_tests/
Dtest_sockopt.c482 paddrparams.spp_address.ss_family = AF_INET; in main()
532 paddrparams.spp_address.ss_family = AF_INET; in main()

12