Home
last modified time | relevance | path

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

123

/external/chromium_org/ipc/
Dunix_domain_socket_util.cc22 COMPILE_ASSERT(sizeof(((sockaddr_un*)0)->sun_path) >= kMaxSocketNameLength,
31 struct sockaddr_un* unix_addr, in MakeUnixAddrForPath()
62 memset(unix_addr, 0, sizeof(struct sockaddr_un)); in MakeUnixAddrForPath()
66 offsetof(struct sockaddr_un, sun_path) + socket_name.length(); in MakeUnixAddrForPath()
79 struct sockaddr_un unix_addr; in CreateServerUnixDomainSocket()
123 struct sockaddr_un unix_addr; in CreateClientUnixDomainSocket()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_unix.c39 struct sockaddr_un addr;
67 struct sockaddr_un *from, in wpa_supplicant_ctrl_iface_attach()
75 os_memcpy(&dst->addr, from, sizeof(struct sockaddr_un)); in wpa_supplicant_ctrl_iface_attach()
81 fromlen - offsetof(struct sockaddr_un, sun_path)); in wpa_supplicant_ctrl_iface_attach()
87 struct sockaddr_un *from, in wpa_supplicant_ctrl_iface_detach()
95 fromlen - offsetof(struct sockaddr_un, sun_path)) in wpa_supplicant_ctrl_iface_detach()
100 offsetof(struct sockaddr_un, sun_path)); in wpa_supplicant_ctrl_iface_detach()
111 struct sockaddr_un *from, in wpa_supplicant_ctrl_iface_level()
122 fromlen - offsetof(struct sockaddr_un, sun_path)) in wpa_supplicant_ctrl_iface_level()
127 offsetof(struct sockaddr_un, sun_path)); in wpa_supplicant_ctrl_iface_level()
[all …]
Dwpa_priv.c34 struct sockaddr_un drv_addr;
39 struct sockaddr_un l2_addr;
44 struct sockaddr_un *from) in wpa_priv_cmd_register()
84 struct sockaddr_un *from) in wpa_priv_cmd_unregister()
116 struct sockaddr_un *from) in wpa_priv_get_scan_results2()
162 struct sockaddr_un *from) in wpa_priv_cmd_get_scan_results()
222 struct sockaddr_un *from) in wpa_priv_cmd_get_bssid()
243 struct sockaddr_un *from) in wpa_priv_cmd_get_ssid()
297 struct sockaddr_un *from) in wpa_priv_cmd_get_capa()
342 struct sockaddr_un *from, in wpa_priv_cmd_l2_register()
[all …]
/external/libppp/src/
Did.h31 struct sockaddr_un;
46 extern int ID0bind_un(int, const struct sockaddr_un *);
47 extern int ID0connect_un(int, const struct sockaddr_un *);
Dbundle.h67 struct sockaddr_un;
198 extern void bundle_SendDatalink(struct datalink *, int, struct sockaddr_un *);
Did.c239 ID0bind_un(int s, const struct sockaddr_un *name) in ID0bind_un()
252 ID0connect_un(int s, const struct sockaddr_un *name) in ID0connect_un()
/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/chromium_org/third_party/openssl/openssl/crypto/rand/
Drand_egd.c124 struct sockaddr_un { struct
139 struct sockaddr_un addr; in RAND_query_egd_bytes() argument
150 len = offsetof(struct sockaddr_un, sun_path) + strlen(path); in RAND_query_egd_bytes()
/external/openssl/crypto/rand/
Drand_egd.c124 struct sockaddr_un { struct
139 struct sockaddr_un addr; in RAND_query_egd_bytes() argument
150 len = offsetof(struct sockaddr_un, sun_path) + strlen(path); in RAND_query_egd_bytes()
/external/valgrind/main/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/openssh/
Dentropy.c80 struct sockaddr_un *addr_un = (struct sockaddr_un *)&addr; in get_random_bytes_prngd()
103 addr_len = offsetof(struct sockaddr_un, sun_path) + in get_random_bytes_prngd()
/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/wpa_supplicant_8/hostapd/
Dctrl_iface.c41 struct sockaddr_un addr;
53 struct sockaddr_un *from, in hostapd_ctrl_iface_attach()
61 os_memcpy(&dst->addr, from, sizeof(struct sockaddr_un)); in hostapd_ctrl_iface_attach()
68 fromlen - offsetof(struct sockaddr_un, sun_path)); in hostapd_ctrl_iface_attach()
74 struct sockaddr_un *from, in hostapd_ctrl_iface_detach()
83 fromlen - offsetof(struct sockaddr_un, sun_path)) in hostapd_ctrl_iface_detach()
93 offsetof(struct sockaddr_un, sun_path)); in hostapd_ctrl_iface_detach()
104 struct sockaddr_un *from, in hostapd_ctrl_iface_level()
116 fromlen - offsetof(struct sockaddr_un, sun_path)) in hostapd_ctrl_iface_level()
120 offsetof(struct sockaddr_un, sun_path)); in hostapd_ctrl_iface_level()
[all …]
Dhlr_auc_gw.c236 struct sockaddr_un addr; in open_socket()
614 static void sim_req_auth(int s, struct sockaddr_un *from, socklen_t fromlen, in sim_req_auth()
714 static void aka_req_auth(int s, struct sockaddr_un *from, socklen_t fromlen, in aka_req_auth()
791 static void aka_auts(int s, struct sockaddr_un *from, socklen_t fromlen, in aka_auts()
841 struct sockaddr_un from; in process()
/external/chromium_org/net/socket/
Dunix_domain_socket_posix.cc107 sockaddr_un addr; in CreateAndBind()
124 addr_len = path.size() + offsetof(struct sockaddr_un, sun_path) + 1; in CreateAndBind()
127 addr_len = sizeof(sockaddr_un); in CreateAndBind()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_privsep.c25 struct sockaddr_un priv_addr;
98 struct sockaddr_un from; in l2_packet_receive()
137 struct sockaddr_un addr; in l2_packet_init()
/external/kernel-headers/original/linux/
Dun.h6 struct sockaddr_un { struct
/external/dropbear/
Drandom.c60 struct sockaddr_un egdsock; in readrand()
83 sizeof(struct sockaddr_un)) < 0) { in readrand()
/external/dhcpcd/
Dcontrol.c49 struct sockaddr_un sun;
103 struct sockaddr_un run; in handle_control()
/external/chromium/chrome/browser/
Dprocess_singleton_linux.cc208 void SetupSockAddr(const std::string& path, struct sockaddr_un* addr) { in SetupSockAddr()
229 void SetupSocket(const std::string& path, int* sock, struct sockaddr_un* addr) { in SetupSocket()
414 sockaddr_un addr; in ConnectSocket()
433 sockaddr_un addr; in ConnectSocket()
576 sockaddr_un from; in OnFileCanReadWithoutBlocking()
917 sockaddr_un addr; in Create()
/external/chromium_org/chrome/common/mac/
Dmock_launchd.cc25 static sockaddr_un* throwaway_sockaddr_un;
195 struct sockaddr_un unix_addr = {0}; in CopyDictionaryByCheckingIn()
206 size_t unix_addr_len = offsetof(struct sockaddr_un, in CopyDictionaryByCheckingIn()
/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/chromium_org/chrome/browser/
Dprocess_singleton_linux.cc204 void SetupSockAddr(const std::string& path, struct sockaddr_un* addr) { in SetupSockAddr()
225 void SetupSocket(const std::string& path, int* sock, struct sockaddr_un* addr) { in SetupSocket()
362 sockaddr_un addr; in ConnectSocket()
381 sockaddr_un addr; in ConnectSocket()
534 sockaddr_un from; in OnFileCanReadWithoutBlocking()
870 sockaddr_un addr; in Create()
/external/chromium_org/chrome/test/chromedriver/net/
Dport_server_unittest.cc73 struct sockaddr_un addr; in RunServerOnThread()
84 struct sockaddr_un cli_addr; in RunServerOnThread()
/external/chromium/chrome/common/
Dmulti_process_lock_linux.cc38 struct sockaddr_un address; in TryLock()

123