Home
last modified time | relevance | path

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

/linux-6.1.9/arch/um/drivers/
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()
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()
Dmconsole_user.c181 struct sockaddr_un target; in mconsole_notify()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
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()
Dskc_to_unix_sock.c13 struct sockaddr_un sockaddr; in test_skc_to_unix_sock()
/linux-6.1.9/tools/perf/trace/beauty/
Dsockaddr.c38 struct sockaddr_un *sun = (struct sockaddr_un *)sa; in af_local__scnprintf()
/linux-6.1.9/tools/testing/selftests/net/af_unix/
Dunix_connect.c119 struct sockaddr_un addr = { in TEST_F()
127 addrlen = offsetof(struct sockaddr_un, sun_path) + variant->len; in TEST_F()
Dtest_unix_oob.c116 void producer(struct sockaddr_un *consumer_addr) in producer()
178 struct sockaddr_un consumer_addr, paddr; in main()
/linux-6.1.9/net/unix/
Daf_unix.c146 static unsigned int unix_abstract_hash(struct sockaddr_un *sunaddr, in unix_abstract_hash()
250 static struct unix_address *unix_create_addr(struct sockaddr_un *sunaddr, in unix_create_addr()
279 static int unix_validate_addr(struct sockaddr_un *sunaddr, int addr_len) in unix_validate_addr()
281 if (addr_len <= offsetof(struct sockaddr_un, sun_path) || in unix_validate_addr()
291 static void unix_mkname_bsd(struct sockaddr_un *sunaddr, int addr_len) in unix_mkname_bsd()
358 struct sockaddr_un *sunname, in __unix_find_socket_byname()
374 struct sockaddr_un *sunname, in unix_find_socket_byname()
1047 static struct sock *unix_find_bsd(struct sockaddr_un *sunaddr, int addr_len, in unix_find_bsd()
1092 struct sockaddr_un *sunaddr, in unix_find_abstract()
1111 struct sockaddr_un *sunaddr, in unix_find_other()
[all …]
Ddiag.c23 addr->len - offsetof(struct sockaddr_un, sun_path), in sk_diag_dump_name()
/linux-6.1.9/include/uapi/linux/
Dun.h9 struct sockaddr_un { struct
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_skc_to_unix_sock.c32 if (i >= sizeof(struct sockaddr_un)) in BPF_PROG()
Dbpf_iter_unix.c67 if (i >= sizeof(struct sockaddr_un)) in dump_unix()
/linux-6.1.9/include/net/
Daf_unix.h28 struct sockaddr_un name[];
/linux-6.1.9/arch/um/os-Linux/
Dfile.c217 struct sockaddr_un sock; in os_connect_socket()
547 struct sockaddr_un addr; in os_create_unix_socket()
/linux-6.1.9/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c81 static const struct sockaddr_un gssp_localaddr = { in gssp_rpc_create()
/linux-6.1.9/net/sunrpc/
Dxprtsock.c238 static inline struct sockaddr_un *xs_addr_un(struct rpc_xprt *xprt) in xs_addr_un()
240 return (struct sockaddr_un *) &xprt->addr; in xs_addr_un()
258 struct sockaddr_un *sun; in xs_format_common_peer_addresses()
2835 struct sockaddr_un *sun = (struct sockaddr_un *)args->dstaddr; in xs_setup_local()
Drpcb_clnt.c225 static const struct sockaddr_un rpcb_localaddr_rpcbind = { in rpcb_create_local_unix()
Dclnt.c558 struct sockaddr_un *sun = in rpc_create()
559 (struct sockaddr_un *)args->address; in rpc_create()
/linux-6.1.9/net/9p/
Dtrans_fd.c1040 struct sockaddr_un sun_server; in p9_fd_create_unix()
1064 sizeof(struct sockaddr_un) - 1, 0); in p9_fd_create_unix()
/linux-6.1.9/tools/perf/
Dbuiltin-daemon.c583 struct sockaddr_un addr; in setup_server_socket()
861 struct sockaddr_un addr; in setup_client_socket()
/linux-6.1.9/security/tomoyo/
Dnetwork.c603 u->addr = ((struct sockaddr_un *) addr)->sun_path; in tomoyo_check_unix_address()