Home
last modified time | relevance | path

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

12345

/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/rust/crates/rustix/src/backend/linux_raw/net/
Dread_sockaddr.rs14 ss_family: u16, field
30 ss_family: 0_u16, in read_ss_family()
37 (*storage.cast::<sockaddr_header>()).ss_family in read_ss_family()
44 (*storage.cast::<sockaddr_header>()).ss_family = c::AF_UNSPEC as _; in initialize_family_to_unspec()
/third_party/rust/crates/rustix/src/backend/libc/net/
Dread_sockaddr.rs33 ss_family: u8, field
42 ss_family: u16, field
85 (*storage.cast::<sockaddr_header>()).ss_family.into() in read_ss_family()
91 (*storage.cast::<sockaddr_header>()).ss_family = c::AF_UNSPEC as _; in initialize_family_to_unspec()
/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/python/Modules/
Daddrinfo.h152 unsigned char ss_family; /* address family */ member
154 unsigned short ss_family; /* address family */
/third_party/nghttp2/src/
Dshrpx_quic_listener.cc80 if (util::msghdr_get_local_addr(local_addr, &msg, su.storage.ss_family) != in on_read()
88 .ecn = util::msghdr_get_ecn(&msg, su.storage.ss_family), in on_read()
/third_party/libwebsockets/include/libwebsockets/
Dlws-optee.h45 sa_family_t ss_family; /* address family */ member
/third_party/rust/crates/libc/src/unix/newlib/arm/
Dmod.rs30 pub ss_family: ::sa_family_t,
/third_party/libxml2/
Dconfig.h.cmake.in251 /* ss_family is not defined here, use __ss_family instead */
252 #cmakedefine ss_family @ss_family@
Dnanoftp.c99 #define ss_family __ss_family macro
1391 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
1410 if ((ctxt->ftpAddr).ss_family == AF_INET6) in xmlNanoFTPGetConnection()
1441 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
1478 if ((ctxt->ftpAddr).ss_family == AF_INET6) in xmlNanoFTPGetConnection()
1497 if ((ctxt->ftpAddr).ss_family == AF_INET6) { in xmlNanoFTPGetConnection()
/third_party/rust/crates/libc/src/unix/hermit/
Dmod.rs74 pub ss_family: sa_family_t,
250 && self.ss_family == other.ss_family
270 .field("ss_family", &self.ss_family)
280 self.ss_family.hash(state);
/third_party/rust/crates/libc/src/unix/newlib/espidf/
Dmod.rs55 pub ss_family: ::sa_family_t,
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c107 ((filt.cli_addr.ss_family == AF_INET6) ? in rops_handle_POLLIN_listen()
/third_party/rust/crates/libc/src/unix/redox/
Dmod.rs85 pub ss_family: ::sa_family_t,
1159 self.ss_family == other.ss_family
1174 .field("ss_family", &self.ss_family)
1183 self.ss_family.hash(state);
/third_party/libuv/src/win/
Dudp.c878 addr_st.ss_family = AF_INET6; in uv_udp_set_multicast_interface()
881 addr_st.ss_family = AF_INET; in uv_udp_set_multicast_interface()
895 if (addr_st.ss_family == AF_INET) { in uv_udp_set_multicast_interface()
903 } else if (addr_st.ss_family == AF_INET6) { in uv_udp_set_multicast_interface()
/third_party/musl/libc-test/src/api/
Dsys_socket.c18 F(sa_family_t, ss_family) in f()

12345