Home
last modified time | relevance | path

Searched refs:usockaddr (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbtf_type_tag_user.c35 int BPF_PROG(test_sys_getsockname, int fd, struct sockaddr *usockaddr, in BPF_PROG() argument
38 g = usockaddr->sa_family; in BPF_PROG()
/linux-6.12.1/tools/perf/trace/beauty/include/linux/
Dsocket.h454 extern int __sys_getsockname(int fd, struct sockaddr __user *usockaddr,
456 extern int __sys_getpeername(int fd, struct sockaddr __user *usockaddr,
/linux-6.12.1/include/linux/
Dsocket.h454 extern int __sys_getsockname(int fd, struct sockaddr __user *usockaddr,
456 extern int __sys_getpeername(int fd, struct sockaddr __user *usockaddr,
/linux-6.12.1/net/
Dsocket.c2106 int __sys_getsockname(int fd, struct sockaddr __user *usockaddr, in __sys_getsockname() argument
2125 err = move_addr_to_user(&address, err, usockaddr, usockaddr_len); in __sys_getsockname()
2133 SYSCALL_DEFINE3(getsockname, int, fd, struct sockaddr __user *, usockaddr, in SYSCALL_DEFINE3() argument
2136 return __sys_getsockname(fd, usockaddr, usockaddr_len); in SYSCALL_DEFINE3()
2144 int __sys_getpeername(int fd, struct sockaddr __user *usockaddr, in __sys_getpeername() argument
2164 err = move_addr_to_user(&address, err, usockaddr, in __sys_getpeername()
2171 SYSCALL_DEFINE3(getpeername, int, fd, struct sockaddr __user *, usockaddr, in SYSCALL_DEFINE3() argument
2174 return __sys_getpeername(fd, usockaddr, usockaddr_len); in SYSCALL_DEFINE3()