Home
last modified time | relevance | path

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

123

/external/openssh/
Dcanohost.c46 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()
Dentropy.c116 fd = socket(addr.ss_family, SOCK_STREAM, 0); in get_random_bytes_prngd()
Dauth.c843 if (from.ss_family == AF_INET6) in remote_hostname()
882 hints.ai_family = from.ss_family; in remote_hostname()
/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) {
/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()
/external/python/cpython2/Modules/
Daddrinfo.h156 unsigned char ss_family; /* address family */ member
158 unsigned short ss_family; /* address family */
/external/libpcap/
Dsockutils.c979 if (first->ss_family == second->ss_family) in sock_cmpaddr()
981 if (first->ss_family == AF_INET) in sock_cmpaddr()
1119 if (sockaddr->ss_family == AF_INET) in sock_getascii_addrport()
1129 if ((sockaddr->ss_family == AF_INET6) && in sock_getascii_addrport()
Dinet.c386 if(if_addrs[i].IPAddress.ss_family == AF_INET)
Dpcap-rpcap.c140 if (ntohs(sockaddrin->ss_family) == AF_INET) in rpcap_deseraddr()
157 if (ntohs(sockaddrin->ss_family) == AF_INET6) in rpcap_deseraddr()
973 ai_family = ((struct sockaddr_storage *) &saddr)->ss_family; in pcap_startcapture_remote()
DCMakeLists.txt142 # so we use check_struct_has_member() and look for ss_family.
144 check_struct_has_member("struct sockaddr_storage" ss_family sys/socket.h HAVE_SOCKADDR_STORAGE)
/external/boringssl/src/crypto/bio/
Dbio_test.cc79 ss.ss_family = AF_INET6; in TEST()
88 ss.ss_family = AF_INET; in TEST()
104 if (ss.ss_family == AF_INET6) { in TEST()
107 } else if (ss.ss_family == AF_INET) { in TEST()
/external/kernel-headers/original/uapi/linux/
Dsocket.h14 __kernel_sa_family_t ss_family; /* address family */ member
/external/openssh/openbsd-compat/
Dfake-rfc2553.h57 # define ss_family ss_sa.sa_family macro
/external/mdnsresponder/mDNSWindows/
DPosixCompat.c86 ss.ss_family = family; in inet_pton()
/external/libevent/include/event2/
Dutil.h263 && !defined(ss_family)
264 #define ss_family __ss_family macro
/external/libxml2/
Dnanoftp.c99 #define ss_family __ss_family macro
1392 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
1411 if ((ctxt->ftpAddr).ss_family == AF_INET6) in xmlNanoFTPGetConnection()
1442 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
1479 if ((ctxt->ftpAddr).ss_family == AF_INET6) in xmlNanoFTPGetConnection()
1498 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
Dconfigure.ac672 dnl a ss_family member, but rather __ss_family. Let's detect that
674 dnl platforms. However, we should only do this if ss_family is not
677 AC_MSG_CHECKING([struct sockaddr::ss_family])
683 ss.ss_family = 0 ;
690 AC_MSG_CHECKING([broken struct sockaddr::ss_family])
705 AC_DEFINE(ss_family, __ss_family, definition
706 [ss_family is not defined here, use __ss_family instead])
708 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/libxml2/os400/
Dos400config.h.in283 /* ss_family is not defined here, use __ss_family instead */
284 #undef ss_family
/external/toybox/toys/pending/
Dtftpd.c252 TT.sfd = xsocket(dstaddr.ss_family, SOCK_DGRAM, 0); in tftpd_main()
/external/bison/m4/
Dsys_socket_h.m472 AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family],

123