/netbsd/external/bsd/wpa/dist/src/common/ |
H A D | ctrl_iface_common.c | 56 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()
|
/netbsd/usr.bin/netstat/ |
H A D | unix.c | 71 u_long, u_long, u_long, struct sockaddr_un *, int); 92 u_long addr, struct sockaddr_un *sun, int remote) in unixdomainpr0() 108 struct sockaddr_un sun, rsun; in unixdomainpr() 184 struct sockaddr_un *sun; in unixpr() 192 sun = (struct sockaddr_un *)&ki->ki_dst; in unixpr() 196 sun = (struct sockaddr_un *)&ki->ki_src; in unixpr()
|
/netbsd/external/bsd/libbind/dist/isc/ |
H A D | ctl_p.c | 151 const struct sockaddr_un *un = in ctl_sa_ntop() 152 (const struct sockaddr_un *) sa; in ctl_sa_ntop() 180 *((struct sockaddr_un *)dst) = in ctl_sa_copy() 181 *((const struct sockaddr_un *)src); in ctl_sa_copy()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | ser-uds.c | 28 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) 36 struct sockaddr_un addr; in uds_open() 53 sizeof (struct sockaddr_un)) < 0) in uds_open()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | ser-uds.c | 28 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) 36 struct sockaddr_un addr; in uds_open() 53 sizeof (struct sockaddr_un)) < 0) in uds_open()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/rand/ |
H A D | rand_egd.c | 52 struct sockaddr_un { 63 struct sockaddr_un addr; 76 i = offsetof(struct sockaddr_un, sun_path) + strlen(path);
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/ |
H A D | wpa_priv.c | 38 struct sockaddr_un drv_addr; 43 struct sockaddr_un l2_addr[WPA_PRIV_MAX_L2]; 57 struct sockaddr_un *from, socklen_t fromlen) in wpa_priv_cmd_register() 121 struct sockaddr_un *from) in wpa_priv_cmd_unregister() 182 struct sockaddr_un *from, in wpa_priv_get_scan_results2() 228 struct sockaddr_un *from, in wpa_priv_cmd_get_scan_results() 475 struct sockaddr_un *from, in wpa_priv_cmd_l2_register() 536 struct sockaddr_un *from, in wpa_priv_cmd_l2_unregister() 560 struct sockaddr_un *from) in wpa_priv_cmd_l2_notify_auth_start() 633 struct sockaddr_un from; in wpa_priv_receive() [all …]
|
/netbsd/sys/kern/ |
H A D | uipc_domain.c | 285 return sizeof(struct sockaddr_un); in sockaddr_getsize_by_family() 423 const struct sockaddr_un *sun = v; in sun_print() 426 KASSERT(sun->sun_len >= offsetof(struct sockaddr_un, sun_path[0])); in sun_print() 427 plen = sun->sun_len - offsetof(struct sockaddr_un, sun_path[0]); in sun_print() 493 struct sockaddr_un *un = unp->unp_addr; in sysctl_dounpcb() 512 un = (struct sockaddr_un *)pcb->ki_spad; in sysctl_dounpcb() 527 un->sun_len = offsetof(struct sockaddr_un, sun_path); in sysctl_dounpcb() 531 un = (struct sockaddr_un *)pcb->ki_dpad; in sysctl_dounpcb() 537 un->sun_len = offsetof(struct sockaddr_un, sun_path); in sysctl_dounpcb()
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/rand/ |
H A D | rand_egd.c | 45 struct sockaddr_un { struct 112 struct sockaddr_un addr; in RAND_query_egd_bytes() 125 i = offsetof(struct sockaddr_un, sun_path) + strlen(path); in RAND_query_egd_bytes()
|
/netbsd/external/bsd/openldap/dist/libraries/libldap/ |
H A D | os-local.c | 137 struct sockaddr_un sa; in ldap_pvt_is_socket_ready() 161 ldap_pvt_connect(LDAP *ld, ber_socket_t s, struct sockaddr_un *sa, int async) in ldap_pvt_connect() 177 if ( connect(s, (struct sockaddr *) sa, sizeof(struct sockaddr_un)) in ldap_pvt_connect() 317 struct sockaddr_un server; in ldap_connect_to_path()
|
/netbsd/tests/net/net/ |
H A D | t_unix.c | 75 #define OF offsetof(struct sockaddr_un, sun_path) 78 print(const char *msg, struct sockaddr_un *addr, socklen_t len) in print() 102 struct sockaddr_un sun; in acc() 227 struct sockaddr_un *sock_addr = NULL, *sun = NULL; in test() 230 struct sockaddr_un peer_addr; in test()
|
/netbsd/sbin/iscsictl/ |
H A D | iscsic_main.c | 177 static struct sockaddr_un daemon_name; /* daemon socket name */ 180 static struct sockaddr_un myname; /* my socket name */ 497 (socklen_t)sizeof(struct sockaddr_un)); in send_request() 563 (socklen_t)sizeof(struct sockaddr_un)) < 0) { in main()
|
/netbsd/external/bsd/blocklist/port/ |
H A D | sockaddr_snprintf.c | 80 return sizeof(struct sockaddr_un); in socklen() 139 debug_un(char *str, size_t len, const struct sockaddr_un *sun) in debug_un() 178 const struct sockaddr_un *sun = NULL; in sockaddr_snprintf() 205 sun = ((const struct sockaddr_un *)(const void *)sa); in sockaddr_snprintf()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | socket_wrapper.c | 560 struct sockaddr_un *out_addr, int alloc_sock, int *bcast) in sockaddr_convert_to_un() 594 const struct sockaddr_un *in_addr, in sockaddr_convert_from_un() 1274 struct sockaddr_un un_addr; in swrap_accept() 1276 struct sockaddr_un un_my_addr; in swrap_accept() 1381 struct sockaddr_un un_addr; in swrap_auto_bind() 1484 struct sockaddr_un un_addr; in swrap_connect() 1507 sizeof(struct sockaddr_un)); in swrap_connect() 1530 struct sockaddr_un un_addr; in swrap_bind() 1546 sizeof(struct sockaddr_un)); in swrap_bind() 1642 struct sockaddr_un un_addr; in swrap_recvfrom() [all …]
|
/netbsd/external/mit/libuv/dist/src/unix/ |
H A D | pipe.c | 44 struct sockaddr_un saddr; in uv_pipe_bind() 179 struct sockaddr_un saddr; in uv_pipe_connect() 246 struct sockaddr_un sa; in uv__pipe_getsockpeername() 264 addrlen -= offsetof(struct sockaddr_un, sun_path); in uv__pipe_getsockpeername()
|
/netbsd/external/gpl3/gcc/dist/libcody/ |
H A D | netclient.cc | 57 sockaddr_un addr; in OpenLocal() 66 memset (&addr, 0, offsetof (sockaddr_un, sun_path)); in OpenLocal()
|
H A D | netserver.cc | 63 sockaddr_un addr; in ListenLocal() 72 memset (&addr, 0, offsetof (sockaddr_un, sun_path)); in ListenLocal()
|
/netbsd/sbin/iscsid/ |
H A D | iscsid_main.c | 136 struct sockaddr_un name; in init_daemon() 157 (socklen_t)sizeof(struct sockaddr_un)); in init_daemon() 165 if (bind(sock, (struct sockaddr *)(void *)&name, (socklen_t)sizeof(struct sockaddr_un))) { in init_daemon() 527 struct sockaddr_un from; in main()
|
/netbsd/external/bsd/wpa/dist/src/l2_packet/ |
H A D | l2_packet_privsep.c | 25 struct sockaddr_un priv_addr; 99 struct sockaddr_un from; in l2_packet_receive() 139 struct sockaddr_un addr; in l2_packet_init()
|
/netbsd/external/gpl3/gdb/dist/gdbsupport/ |
H A D | agent.cc | 129 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) 141 struct sockaddr_un addr = {}; in gdb_connect_sync_socket()
|
/netbsd/libexec/lfs_cleanerd/ |
H A D | cleansrv.c | 115 struct sockaddr_un sun; in send_fss_to_master() 163 struct sockaddr_un sun; in try_to_become_master()
|
/netbsd/external/apache2/mDNSResponder/dist/mDNSShared/ |
H A D | dnssd_ipc.h | 89 # define MAX_CTLPATH (sizeof(((struct sockaddr_un*)0)->sun_path)) 90 # define dnssd_sockaddr_t struct sockaddr_un
|
/netbsd/external/gpl3/gdb.old/dist/gdbsupport/ |
H A D | agent.cc | 129 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) 141 struct sockaddr_un addr = {}; in gdb_connect_sync_socket()
|
/netbsd/lib/libutil/ |
H A D | sockaddr_snprintf.c | 113 debug_un(char *str, size_t len, const struct sockaddr_un *sun) in debug_un() 152 const struct sockaddr_un *sun = NULL; in sockaddr_snprintf() 181 sun = ((const struct sockaddr_un *)(const void *)sa); in sockaddr_snprintf()
|
/netbsd/share/doc/psd/20.ipctut/ |
H A D | udgramsend.c | 49 struct sockaddr_un name; 62 &name, sizeof(struct sockaddr_un)) < 0) {
|