Home
last modified time | relevance | path

Searched refs:sun_family (Results 1 – 25 of 108) sorted by relevance

12345

/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt02.c24 sun.sun_family = AF_UNIX; in setup()
26 socket_fd = SAFE_SOCKET(sun.sun_family, SOCK_STREAM, 0); in setup()
33 int fork_socket_fd = SAFE_SOCKET(sun.sun_family, SOCK_STREAM, 0); in fork_func()
/external/strace/tests-m32/
Daccept.c72 .sun_family = AF_UNIX, in connect_un()
96 .sun_family = AF_UNIX, in main()
Dgetsockname.c43 .sun_family = AF_UNIX, in main()
Dgetpeername.c44 .sun_family = AF_UNIX, in main()
Dmmsg_name.c98 send_addr[i].sun_family = AF_UNIX; in test_mmsg_name()
228 .sun_family = AF_UNIX, in main()
Drecvfrom.c58 .sun_family = AF_UNIX, in main()
/external/strace/tests-mx32/
Daccept.c72 .sun_family = AF_UNIX, in connect_un()
96 .sun_family = AF_UNIX, in main()
Dgetsockname.c43 .sun_family = AF_UNIX, in main()
Dgetpeername.c44 .sun_family = AF_UNIX, in main()
Dmmsg_name.c98 send_addr[i].sun_family = AF_UNIX; in test_mmsg_name()
228 .sun_family = AF_UNIX, in main()
Drecvfrom.c58 .sun_family = AF_UNIX, in main()
/external/strace/tests/
Daccept.c72 .sun_family = AF_UNIX, in connect_un()
96 .sun_family = AF_UNIX, in main()
Dgetsockname.c43 .sun_family = AF_UNIX, in main()
Dgetpeername.c44 .sun_family = AF_UNIX, in main()
Dmmsg_name.c98 send_addr[i].sun_family = AF_UNIX; in test_mmsg_name()
228 .sun_family = AF_UNIX, in main()
Drecvfrom.c58 .sun_family = AF_UNIX, in main()
/external/ltp/testcases/kernel/syscalls/bind/
Dbind03.c35 sun1.sun_family = AF_UNIX; in run()
36 sun2.sun_family = AF_UNIX; in run()
/external/honggfuzz/
Dsocketfuzzer.c114 local.sun_family = AF_UNIX; in setupSocketFuzzer()
117 len = strlen(local.sun_path) + sizeof(local.sun_family); in setupSocketFuzzer()
/external/crosvm/sys_util/src/
Dnet.rs32 sun_family: libc::AF_UNIX as libc::sa_family_t, in sockaddr_un()
319 sun_family: libc::AF_UNIX as libc::sa_family_t, in path()
323 - &addr.sun_family as *const _ as usize) in path()
338 if addr.sun_family != libc::AF_UNIX as libc::sa_family_t in path()
449 assert_eq!(addr.sun_family, libc::AF_UNIX as libc::sa_family_t); in sockaddr_un_pass()
/external/grpc-grpc/src/core/lib/iomgr/
Dunix_sockets_posix.cc63 un->sun_family = AF_UNIX; in grpc_resolve_unix_domain_address()
66 static_cast<socklen_t>(strlen(un->sun_path) + sizeof(un->sun_family) + 1); in grpc_resolve_unix_domain_address()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_privsep.c115 if (from.sun_family != AF_UNIX || in l2_packet_receive()
161 l2->priv_addr.sun_family = AF_UNIX; in l2_packet_init()
175 addr.sun_family = AF_UNIX; in l2_packet_init()
/external/kernel-headers/original/uapi/linux/
Dun.h10 __kernel_sa_family_t sun_family; /* AF_UNIX */ member
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c75 sa.sun_family = AF_UNIX; in client()
109 sa.sun_family = AF_UNIX; in server()
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dipcsocket.c48 skaddr.sun_family = AF_LOCAL; in opensocket()
84 skaddr.sun_family = AF_LOCAL; in opensocket()
/external/rust/crates/libc/src/unix/bsd/
Dmod.rs109 pub sun_family: sa_family_t,
143 && self.sun_family == other.sun_family
158 .field("sun_family", &self.sun_family)
167 self.sun_family.hash(state);

12345