Home
last modified time | relevance | path

Searched refs:sockaddr_un (Results 1 – 25 of 65) sorted by relevance

123

/external/wpa_supplicant_8/src/common/
Dctrl_iface_common.c56 struct sockaddr_un *u_a, *u_b; in sockaddr_compare()
58 u_a = (struct sockaddr_un *) a; in sockaddr_compare()
59 u_b = (struct sockaddr_un *) b; in sockaddr_compare()
63 a_len - offsetof(struct sockaddr_un, sun_path)) in sockaddr_compare()
103 (u8 *) ((struct sockaddr_un *) sock)->sun_path, in sockaddr_print()
104 socklen - offsetof(struct sockaddr_un, sun_path)); in sockaddr_print()
/external/avahi/avahi-daemon/
Dsd-daemon.c212 struct sockaddr_un un;
315 return l == offsetof(struct sockaddr_un, sun_path); in sd_is_socket_unix()
320 (l >= offsetof(struct sockaddr_un, sun_path) + length + 1) && in sd_is_socket_unix()
325 (l == offsetof(struct sockaddr_un, sun_path) + length) && in sd_is_socket_unix()
374 msghdr.msg_namelen = offsetof(struct sockaddr_un, sun_path) + strlen(e); in sd_notify()
376 if (msghdr.msg_namelen > sizeof(struct sockaddr_un)) in sd_notify()
377 msghdr.msg_namelen = sizeof(struct sockaddr_un); in sd_notify()
/external/clang/test/CodeGen/
Doffsetof.c4 struct sockaddr_un { struct
10 return __builtin_offsetof(struct sockaddr_un, sun_path[len+1]); in test() argument
/external/curl/packages/OS400/
Dos400sys.c1206 const struct sockaddr_un * srcu; in convert_sockaddr()
1207 struct sockaddr_un * dstu; in convert_sockaddr()
1224 srcu = (const struct sockaddr_un *) srcaddr; in convert_sockaddr()
1225 dstu = (struct sockaddr_un *) dstaddr; in convert_sockaddr()
1226 dstsize = sizeof *dstaddr - offsetof(struct sockaddr_un, sun_path); in convert_sockaddr()
1227 srclen -= offsetof(struct sockaddr_un, sun_path); in convert_sockaddr()
1230 i += offsetof(struct sockaddr_un, sun_path); in convert_sockaddr()
1295 const struct sockaddr_un * srcu; in Curl_os400_recvfrom()
1296 struct sockaddr_un * dstu; in Curl_os400_recvfrom()
1313 srcu = (const struct sockaddr_un *) &laddr; in Curl_os400_recvfrom()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_priv.c37 struct sockaddr_un drv_addr;
42 struct sockaddr_un l2_addr;
51 struct sockaddr_un *from) in wpa_priv_cmd_register()
110 struct sockaddr_un *from) in wpa_priv_cmd_unregister()
146 struct sockaddr_un *from) in wpa_priv_get_scan_results2()
192 struct sockaddr_un *from) in wpa_priv_cmd_get_scan_results()
306 struct sockaddr_un *from) in wpa_priv_cmd_get_bssid()
327 struct sockaddr_un *from) in wpa_priv_cmd_get_ssid()
381 struct sockaddr_un *from) in wpa_priv_cmd_get_capa()
430 struct sockaddr_un *from, in wpa_priv_cmd_l2_register()
[all …]
/external/valgrind/none/tests/
Dfdleak_cmsg.c39 struct sockaddr_un addr; in server()
56 struct sockaddr_un baddr; in server()
87 struct sockaddr_un addr; in client()
/external/clang/test/Sema/
Doffsetof.c40 struct sockaddr_un { struct
45 int a[__builtin_offsetof(struct sockaddr_un, sun_path[len+1])]; in a() argument
/external/strace/tests/
Dnet-accept-connect.c47 struct sockaddr_un addr = { in main()
56 len = offsetof(struct sockaddr_un, sun_path) + strlen(av[1]) + 1; in main()
Dnetlink_unix_diag.c110 struct sockaddr_un addr = { in main()
114 socklen_t len = offsetof(struct sockaddr_un, sun_path) + sizeof(SUN_PATH); in main()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_privsep.c25 struct sockaddr_un priv_addr;
99 struct sockaddr_un from; in l2_packet_receive()
139 struct sockaddr_un addr; in l2_packet_init()
/external/dhcpcd-6.8.2/
Dcontrol.c155 struct sockaddr_un run; in control_handle1()
206 make_sock(struct sockaddr_un *sa, const char *ifname, int unpriv) in make_sock()
249 struct sockaddr_un sa; in control_start1()
335 struct sockaddr_un sa; in control_open()
/external/dbus/dbus/
Dsd-daemon.c207 struct sockaddr_un un;
371 if (msghdr.msg_namelen > sizeof(struct sockaddr_un)) in sd_notify()
372 msghdr.msg_namelen = sizeof(struct sockaddr_un); in sd_notify()
/external/fio/os/windows/posix/include/sys/
Dun.h7 struct sockaddr_un struct
/external/kernel-headers/original/uapi/linux/
Dun.h8 struct sockaddr_un { struct
/external/e2fsprogs/misc/
Duuidd.c149 struct sockaddr_un srv_addr; in call_daemon()
169 sizeof(struct sockaddr_un)) < 0) { in call_daemon()
231 struct sockaddr_un my_addr, from_addr; in server_loop()
303 sizeof(struct sockaddr_un)) < 0) { in server_loop()
/external/curl/lib/
Dcurl_addrinfo.c483 struct sockaddr_un *sa_un; in Curl_unix2addr()
489 if((ai->ai_addr = calloc(1, sizeof(struct sockaddr_un))) == NULL) { in Curl_unix2addr()
503 ai->ai_addrlen = (curl_socklen_t) sizeof(struct sockaddr_un); in Curl_unix2addr()
/external/curl/tests/server/
Dserver_sockaddr.h37 struct sockaddr_un sau;
/external/dbus/cmake/modules/
DCheckForAbstractSockets.c10 struct sockaddr_un addr; in main()
/external/iptables/iptables/
Dxshared.c249 struct sockaddr_un xt_addr; in xtables_lock()
261 offsetof(struct sockaddr_un, sun_path)+XT_SOCKET_LEN); in xtables_lock()
/external/netcat/
Dnetcat.c505 struct sockaddr_un sun; in unix_bind()
513 memset(&sun, 0, sizeof(struct sockaddr_un)); in unix_bind()
537 struct sockaddr_un sun; in unix_connect()
549 memset(&sun, 0, sizeof(struct sockaddr_un)); in unix_connect()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c488 struct sockaddr_un srv_addr; in get_uuid_via_daemon()
502 sizeof(struct sockaddr_un)) < 0) { in get_uuid_via_daemon()
518 sizeof(struct sockaddr_un)) < 0) in get_uuid_via_daemon()
/external/iproute2/include/
Dbpf_scm.h35 struct sockaddr_un *addr, in bpf_map_set_init()
/external/netperf/src/
Dnettest_unix.c269 struct sockaddr_un server; in send_stream_stream()
707 struct sockaddr_un myaddr_un, peeraddr_un; in recv_stream_stream()
1089 struct sockaddr_un server; in send_stream_rr()
1574 struct sockaddr_un server; in send_dg_stream()
1934 struct sockaddr_un myaddr_un; in recv_dg_stream()
2249 struct sockaddr_un server, myaddr_un; in send_dg_rr()
2745 struct sockaddr_un myaddr_un, in recv_dg_rr()
3033 struct sockaddr_un myaddr_un, in recv_stream_rr()
/external/ipsec-tools/src/racoon/
Dkmpstat.c101 struct sockaddr_un name; in com_init()
/external/fio/
Dclient.h35 struct sockaddr_un addr_un;

123