Home
last modified time | relevance | path

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

12

/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) {
/external/strace/tests/
Dgroup_req.c68 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/
Dgroup_req.c68 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/
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/strace/tests-mx32/
Dgroup_req.c68 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/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/libevent/sample/
Dhttp-server.c392 if (ss.ss_family == AF_INET) { in main()
395 } else if (ss.ss_family == AF_INET6) { in main()
400 ss.ss_family); in main()
403 addr = evutil_inet_ntop(ss.ss_family, inaddr, addrbuf, in main()
/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)
/external/boringssl/src/crypto/bio/
Dbio_test.cc76 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/python/cpython3/Modules/
Daddrinfo.h152 unsigned char ss_family; /* address family */ member
154 unsigned short ss_family; /* address family */
/external/python/cpython2/Modules/
Daddrinfo.h156 unsigned char ss_family; /* address family */ member
158 unsigned short ss_family; /* address family */
/external/libevent/test/
Dregress_testutils.c84 if (ss.ss_family == AF_INET) in regress_get_socket_port()
86 else if (ss.ss_family == AF_INET6) in regress_get_socket_port()
Dregress_listener.c108 tt_int_op(ss1.ss_family, ==, AF_INET); in regress_pick_a_port()
109 tt_int_op(ss2.ss_family, ==, AF_INET); in regress_pick_a_port()
/external/iproute2/include/uapi/linux/
Dsocket.h15 __kernel_sa_family_t ss_family; /* address family */ member
/external/kernel-headers/original/uapi/linux/
Dsocket.h15 __kernel_sa_family_t ss_family; /* address family */ member
/external/iproute2/tipc/
Dbearer.c649 if (addr->ss_family == AF_INET) { in bearer_dump_udp_cb()
653 } else if (addr->ss_family == AF_INET6) { in bearer_dump_udp_cb()
703 if (addr->ss_family == AF_INET) { in bearer_get_udp_cb()
717 } else if (addr->ss_family == AF_INET6) { in bearer_get_udp_cb()
/external/mdnsresponder/mDNSWindows/
DPosixCompat.c86 ss.ss_family = family; in inet_pton()
/external/libevent/include/event2/
Dutil.h301 && !defined(ss_family)
302 #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.c189 if (ss.ss_family == af) in test_sockaddr_storage()
/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()

12