Home
last modified time | relevance | path

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

123

/openbmc/linux/arch/um/drivers/
H A Ddaemon_user.c30 struct sockaddr_un sock;
33 static struct sockaddr_un *new_addr(void *name, int len) in new_addr()
35 struct sockaddr_un *sun; in new_addr()
37 sun = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in new_addr()
50 struct sockaddr_un *ctl_addr = pri->ctl_addr; in connect_to_switch()
51 struct sockaddr_un *local_addr = pri->local_addr; in connect_to_switch()
52 struct sockaddr_un *sun; in connect_to_switch()
86 sun = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in connect_to_switch()
180 struct sockaddr_un *data_addr = pri->data_addr; in daemon_user_write()
H A Dvector_user.c313 struct sockaddr_un *local_addr = NULL, *remote_addr = NULL; in user_init_unix_fds()
322 remote_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds()
332 local_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds()
359 if (bind(fd, (struct sockaddr *) local_addr, sizeof(struct sockaddr_un))) { in user_init_unix_fds()
366 if (connect(fd, (const struct sockaddr *) remote_addr, sizeof(struct sockaddr_un)) < 0) { in user_init_unix_fds()
374 result->remote_addr_size = sizeof(struct sockaddr_un); in user_init_unix_fds()
H A Dmconsole_user.c181 struct sockaddr_un target; in mconsole_notify()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter_setsockopt_unix.c12 struct sockaddr_un addr = { in create_unix_socket()
23 len = offsetof(struct sockaddr_un, sun_path); in create_unix_socket()
34 len - offsetof(struct sockaddr_un, sun_path)); in create_unix_socket()
H A Dskc_to_unix_sock.c13 struct sockaddr_un sockaddr; in test_skc_to_unix_sock()
/openbmc/linux/tools/perf/trace/beauty/
H A Dsockaddr.c38 struct sockaddr_un *sun = (struct sockaddr_un *)sa; in af_local__scnprintf()
/openbmc/linux/tools/testing/selftests/net/af_unix/
H A Dunix_connect.c119 struct sockaddr_un addr = { in TEST_F()
127 addrlen = offsetof(struct sockaddr_un, sun_path) + variant->len; in TEST_F()
H A Dtest_unix_oob.c116 void producer(struct sockaddr_un *consumer_addr) in producer()
178 struct sockaddr_un consumer_addr, paddr; in main()
H A Dscm_pidfd.c213 struct sockaddr_un listen_addr;
281 addr->addrlen = offsetof(struct sockaddr_un, sun_path); in fill_sockaddr()
/openbmc/linux/include/uapi/linux/
H A Dun.h9 struct sockaddr_un { struct
/openbmc/linux/net/unix/
H A Daf_unix.c274 if (addr_len <= offsetof(struct sockaddr_un, sun_path) || in unix_validate_addr()
363 struct sockaddr_un *sunname, in __unix_find_socket_byname()
379 struct sockaddr_un *sunname, in unix_find_socket_byname()
1101 struct sockaddr_un *sunaddr, in unix_find_abstract()
1120 struct sockaddr_un *sunaddr, in unix_find_other()
1310 struct sockaddr_un *sunaddr = (struct sockaddr_un *)uaddr; in unix_bind()
1356 struct sockaddr_un *sunaddr = (struct sockaddr_un *)addr; in unix_dgram_connect()
1474 struct sockaddr_un *sunaddr = (struct sockaddr_un *)uaddr; in unix_stream_connect()
1745 err = offsetof(struct sockaddr_un, sun_path); in unix_getname()
2779 DECLARE_SOCKADDR(struct sockaddr_un *, sunaddr, in unix_stream_read_generic()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_skc_to_unix_sock.c32 if (i >= sizeof(struct sockaddr_un)) in BPF_PROG()
H A Dbpf_iter_unix.c67 if (i >= sizeof(struct sockaddr_un)) in dump_unix()
/openbmc/obmc-console/
H A Dconsole-socket.c57 ssize_t console_socket_path_readable(const struct sockaddr_un *addr, in console_socket_path_readable()
H A Dconsole-server.h87 typedef char(socket_path_t)[sizeof(((struct sockaddr_un *)NULL)->sun_path)];
250 ssize_t console_socket_path_readable(const struct sockaddr_un *addr,
/openbmc/qemu/contrib/plugins/
H A Dlockstep.c273 struct sockaddr_un sockaddr; in setup_socket()
321 struct sockaddr_un sockaddr; in connect_socket()
/openbmc/qemu/util/
H A Dqemu-sockets.c900 struct sockaddr_un un; in unix_listen_saddr()
961 addrlen = offsetof(struct sockaddr_un, sun_path) + 1 + pathlen; in unix_listen_saddr()
988 struct sockaddr_un un; in unix_connect_saddr()
1022 addrlen = offsetof(struct sockaddr_un, sun_path) + 1 + pathlen; in unix_connect_saddr()
1341 struct sockaddr_un *su = (struct sockaddr_un *)sa; in socket_sockaddr_to_address_unix()
1345 salen -= offsetof(struct sockaddr_un, sun_path); in socket_sockaddr_to_address_unix()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/
H A D0001-Initialize-msghdr-struct-in-a-portable-way.patch22 struct sockaddr_un peer;
/openbmc/qemu/hw/9pfs/
H A D9p-util-darwin.c79 struct sockaddr_un addr = { in create_socket_file_at_cwd()
/openbmc/linux/include/net/
H A Daf_unix.h29 struct sockaddr_un name[];
/openbmc/linux/net/sunrpc/
H A Drpcb_clnt.c221 # define SUN_LEN(ptr) (offsetof(struct sockaddr_un, sun_path) \
229 const struct sockaddr_un *addr) in rpcb_create_af_local()
276 static const struct sockaddr_un rpcb_localaddr_abstract = { in rpcb_create_local_abstract()
286 static const struct sockaddr_un rpcb_localaddr_unix = { in rpcb_create_local_unix()
/openbmc/qemu/contrib/ivshmem-server/
H A Divshmem-server.c134 struct sockaddr_un unaddr; in ivshmem_server_handle_new_conn()
291 struct sockaddr_un s_un; in ivshmem_server_start()
/openbmc/qemu/include/sysemu/
H A Dos-win32.h43 typedef struct sockaddr_un { struct
/openbmc/ipmitool/src/plugins/dummy/
H A Ddummy.c175 struct sockaddr_un address; in ipmi_dummyipmi_open()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dutils.cpp30 struct sockaddr_un addr; in setupUnixSocket()

123