Home
last modified time | relevance | path

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

123

/third_party/pulseaudio/src/pulsecore/
Dipacl.c180 if (sa.ss_family != AF_INET && sa.ss_family != AF_INET6) in pa_ip_acl_check()
182 if (sa.ss_family != AF_INET) in pa_ip_acl_check()
186 if (sa.ss_family == AF_INET && salen != sizeof(struct sockaddr_in)) in pa_ip_acl_check()
190 if (sa.ss_family == AF_INET6 && salen != sizeof(struct sockaddr_in6)) in pa_ip_acl_check()
196 if (e->family != sa.ss_family) in pa_ip_acl_check()
/third_party/ffmpeg/libavformat/
Dip.c27 if (a->ss_family != b->ss_family) in compare_addr()
29 if (a->ss_family == AF_INET) { in compare_addr()
35 if (a->ss_family == AF_INET6) { in compare_addr()
Drtpproto.c134 if (ss->ss_family == AF_INET) in get_port()
137 if (ss->ss_family == AF_INET6) in get_port()
145 if (ss->ss_family == AF_INET) in set_port()
148 else if (ss->ss_family == AF_INET6) in set_port()
441 if (!s->last_rtp_source.ss_family && !s->last_rtcp_source.ss_family) { in rtp_write()
457 if (!source->ss_family) { in rtp_write()
Dsapenc.c190 if (localaddr.ss_family != AF_INET in sap_write_header()
192 && localaddr.ss_family != AF_INET6 in sap_write_header()
207 if (localaddr.ss_family == AF_INET6) in sap_write_header()
214 if (localaddr.ss_family == AF_INET) { in sap_write_header()
Dnetwork.h114 uint8_t ss_family; member
116 uint16_t ss_family;
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/libuv/src/unix/
Dudp.c337 if (req->addr.ss_family == AF_UNSPEC) { in uv__udp_sendmmsg()
342 if (req->addr.ss_family == AF_INET6) in uv__udp_sendmmsg()
344 else if (req->addr.ss_family == AF_INET) in uv__udp_sendmmsg()
346 else if (req->addr.ss_family == AF_UNIX) in uv__udp_sendmmsg()
430 if (req->addr.ss_family == AF_UNSPEC) { in uv__udp_sendmsg()
435 if (req->addr.ss_family == AF_INET6) in uv__udp_sendmsg()
437 else if (req->addr.ss_family == AF_INET) in uv__udp_sendmsg()
439 else if (req->addr.ss_family == AF_UNIX) in uv__udp_sendmsg()
515 static int uv__set_recverr(int fd, sa_family_t ss_family) { in uv__set_recverr() argument
520 if (ss_family == AF_INET) { in uv__set_recverr()
[all …]
Dgetnameinfo.c38 if (req->storage.ss_family == AF_INET) in uv__getnameinfo_work()
40 else if (req->storage.ss_family == AF_INET6) in uv__getnameinfo_work()
Dtcp.c92 if ((saddr.ss_family == AF_INET6 && in maybe_new_socket()
94 (saddr.ss_family == AF_INET && in maybe_new_socket()
/third_party/libsoup/libsoup/
Dsoup-address.c62 #define SOUP_ADDRESS_GET_FAMILY(priv) (priv->sockaddr->ss_family)
64 (priv->sockaddr->ss_family = family)
77 (priv->sockaddr->ss_family == AF_INET ? \
82 if (priv->sockaddr->ss_family == AF_INET) \
90 (priv->sockaddr->ss_family == AF_INET ? \
1065 MIN (sizeof (hash), SOUP_ADDRESS_FAMILY_DATA_SIZE (priv->sockaddr->ss_family))); in soup_address_hash_by_ip()
1104 size = SOUP_ADDRESS_FAMILY_SOCKADDR_SIZE (priv1->sockaddr->ss_family); in soup_address_equal_by_ip()
1105 return (priv1->sockaddr->ss_family == in soup_address_equal_by_ip()
1106 priv2->sockaddr->ss_family && in soup_address_equal_by_ip()
1162 return g_socket_address_new_from_native (ss, SOUP_ADDRESS_FAMILY_SOCKADDR_SIZE (ss->ss_family)); in next_address()
/third_party/python/Modules/
Daddrinfo.h152 unsigned char ss_family; /* address family */ member
154 unsigned short ss_family; /* address family */
/third_party/lwip/test/sockets/
Dsockets_stresstest.c444 LWIP_ASSERT("", addr.ss_family == AF_INET); in sockets_stresstest_conn_client()
452 s = lwip_socket(addr.ss_family, SOCK_STREAM, 0); in sockets_stresstest_conn_client()
667 settings->addr.ss_family = (sa_family_t)addr_family; in sockets_stresstest_init_loopback()
685 settings->addr.ss_family = (sa_family_t)addr_family; in sockets_stresstest_init_server()
709 addr->ss_family = AF_INET; in sockets_stresstest_init_client()
718 addr->ss_family = AF_INET6; in sockets_stresstest_init_client()
/third_party/libnl/include/linux-private/linux/
Dsocket.h15 __kernel_sa_family_t ss_family; /* address family */ member
/third_party/libwebsockets/include/libwebsockets/
Dlws-optee.h45 sa_family_t ss_family; /* address family */ member
/third_party/grpc/test/core/iomgr/
Dtcp_server_posix_test.cc319 addr->ss_family = addr1->ss_family = AF_INET; in test_connect()
398 fd_num, fd, sock_family_name(addr->ss_family), dst.str); in test_connect()
Dtcp_server_uv_test.cc240 addr->ss_family = addr1->ss_family = AF_INET; in test_connect()
Dudp_server_test.cc315 addr->ss_family = AF_INET; in test_receive()
338 clifd = socket(addr->ss_family, SOCK_DGRAM, 0); in test_receive()
/third_party/boost/boost/asio/detail/
Dold_win_sdk_compat.hpp52 short ss_family; member
/third_party/boost/libs/asio/include/boost/asio/detail/
Dold_win_sdk_compat.hpp52 short ss_family; member
/third_party/libxml2/
Dconfig.h.cmake.in251 /* ss_family is not defined here, use __ss_family instead */
252 #cmakedefine ss_family @ss_family@
/third_party/curl/packages/OS400/
Dos400sys.c1215 if(srclen >= offsetof(struct sockaddr_storage, ss_family) + in sockaddr2ascii()
1216 sizeof(srcaddr->ss_family)) { in sockaddr2ascii()
1217 switch(srcaddr->ss_family) { in sockaddr2ascii()
1290 laddr.ss_family = AF_UNSPEC; /* To detect if unused. */ in Curl_os400_recvfrom()
1297 if(laddr.ss_family == AF_UNSPEC) in Curl_os400_recvfrom()
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c107 ((filt.cli_addr.ss_family == AF_INET6) ? in rops_handle_POLLIN_listen()
/third_party/musl/libc-test/src/api/
Dsys_socket.c18 F(sa_family_t, ss_family) in f()
/third_party/gettext/gnulib-local/lib/libxml/
Dnanoftp.c130 #define ss_family __ss_family macro
1423 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
1442 if ((ctxt->ftpAddr).ss_family == AF_INET6) in xmlNanoFTPGetConnection()
1473 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
1510 if ((ctxt->ftpAddr).ss_family == AF_INET6) in xmlNanoFTPGetConnection()
1529 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()

123