Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Duipc_syscalls.c108 getsock(struct thread *td, int fd, const cap_rights_t *rightsp, in getsock() function
217 error = getsock(td, fd, &cap_bind_rights, &fp); in kern_bindat()
269 error = getsock(td, s, &cap_listen_rights, &fp); in kern_listen()
491 error = getsock(td, fd, &cap_connect_rights, &fp); in kern_connectat()
744 error = getsock(td, s, rights, &fp); in kern_sendit()
909 error = getsock(td, s, &cap_recv_rights, &fp); in kern_recvit()
1201 error = getsock(td, s, &cap_shutdown_rights, &fp); in kern_shutdown()
1374 error = getsock(td, fd, &cap_getsockname_rights, &fp); in kern_getsockname()
1438 error = getsock(td, fd, &cap_getpeername_rights, &fp); in kern_getpeername()
H A Dkern_sendfile.c609 error = getsock(td, s, &cap_send_rights, sock_fp); in sendfile_getsock()
H A Duipc_socket.c4016 error = getsock(sopt->sopt_td, splice.sp_fd,
/freebsd/sys/netinet/
H A Dsctp_syscalls.c239 error = getsock(td, uap->sd, &rights, &fp); in sys_sctp_generic_sendmsg()
339 error = getsock(td, uap->sd, &rights, &fp); in sys_sctp_generic_sendmsg_iov()
441 error = getsock(td, uap->sd, cap_rights_init_one(&rights, CAP_RECV), in sys_sctp_generic_recvmsg()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c998 error = getsock(td, args->s, &cap_connect_rights, &fp); in linux_connect()
1065 error1 = getsock(td, s, &cap_accept_rights, &fp1); in linux_accept_common()
1232 error = getsock(td, args->s, &cap_send_rights, &fp); in linux_send()
1285 error = getsock(td, args->s, &cap_send_connect_rights, &fp); in linux_sendto()
1417 error = getsock(td, s, &cap_send_rights, &fp); in linux_sendmsg_common()
1945 error = getsock(td, args->s, &cap_recv_rights, &fp); in linux_recvmsg()
1963 error = getsock(td, s, &cap_recv_rights, &fp); in linux_recvmmsg_common()
/freebsd/sys/sys/
H A Dsocketvar.h493 int getsock(struct thread *td, int fd, const cap_rights_t *rightsp,
/freebsd/sys/net/
H A Dif_ovpn.c665 ret = getsock(td, fd, &cap_connect_rights, &fp); in ovpn_new_peer()