Home
last modified time | relevance | path

Searched refs:uservaddr (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_probe_user.c10 static int handle_sys_connect_common(struct sockaddr_in *uservaddr) in handle_sys_connect_common() argument
14 bpf_probe_read_user(&old, sizeof(old), uservaddr); in handle_sys_connect_common()
16 bpf_probe_write_user(uservaddr, &new, sizeof(new)); in handle_sys_connect_common()
22 int BPF_KSYSCALL(handle_sys_connect, int fd, struct sockaddr_in *uservaddr, in BPF_KSYSCALL() argument
25 return handle_sys_connect_common(uservaddr); in BPF_KSYSCALL()
37 struct sockaddr_in *uservaddr; in BPF_KSYSCALL() local
39 bpf_probe_read_user(&uservaddr, sizeof(uservaddr), &args[1]); in BPF_KSYSCALL()
40 return handle_sys_connect_common(uservaddr); in BPF_KSYSCALL()
/linux-6.1.9/drivers/net/ppp/
Dpptp.c367 static int pptp_bind(struct socket *sock, struct sockaddr *uservaddr, in pptp_bind() argument
371 struct sockaddr_pppox *sp = (struct sockaddr_pppox *) uservaddr; in pptp_bind()
400 static int pptp_connect(struct socket *sock, struct sockaddr *uservaddr, in pptp_connect() argument
404 struct sockaddr_pppox *sp = (struct sockaddr_pppox *) uservaddr; in pptp_connect()
Dpppoe.c609 static int pppoe_connect(struct socket *sock, struct sockaddr *uservaddr, in pppoe_connect() argument
613 struct sockaddr_pppox *sp = (struct sockaddr_pppox *)uservaddr; in pppoe_connect()
/linux-6.1.9/tools/perf/trace/beauty/include/linux/
Dsocket.h445 extern int __sys_connect(int fd, struct sockaddr __user *uservaddr,
/linux-6.1.9/include/linux/
Dsocket.h445 extern int __sys_connect(int fd, struct sockaddr __user *uservaddr,
/linux-6.1.9/net/l2tp/
Dl2tp_ppp.c655 static int pppol2tp_connect(struct socket *sock, struct sockaddr *uservaddr, in pppol2tp_connect() argument
671 error = pppol2tp_sockaddr_get_info(uservaddr, sockaddr_len, &info); in pppol2tp_connect()
/linux-6.1.9/net/
Dsocket.c1982 int __sys_connect(int fd, struct sockaddr __user *uservaddr, int addrlen) in __sys_connect() argument
1991 ret = move_addr_to_kernel(uservaddr, addrlen, &address); in __sys_connect()
2000 SYSCALL_DEFINE3(connect, int, fd, struct sockaddr __user *, uservaddr, in SYSCALL_DEFINE3() argument
2003 return __sys_connect(fd, uservaddr, addrlen); in SYSCALL_DEFINE3()