|
FreeBSD kernel kern code
|
#include <sys/cdefs.h>#include <sys/param.h>#include <sys/systm.h>#include <sys/file.h>#include <sys/filedesc.h>#include <sys/proc.h>#include <sys/protosw.h>#include <sys/sigio.h>#include <sys/signal.h>#include <sys/signalvar.h>#include <sys/socket.h>#include <sys/socketvar.h>#include <sys/filio.h>#include <sys/sockio.h>#include <sys/stat.h>#include <sys/uio.h>#include <sys/ucred.h>#include <net/if.h>#include <net/route.h>#include <net/vnet.h>#include <security/mac/mac_framework.h>
Go to the source code of this file.
Functions | |
| __FBSDID ("$BSDSUniX$") | |
| int | soo_read (struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) |
| int | soo_write (struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) |
| int | soo_truncate (struct file *fp, off_t length, struct ucred *active_cred, struct thread *td) |
| int | soo_ioctl (struct file *fp, u_long cmd, void *data, struct ucred *active_cred, struct thread *td) |
| int | soo_poll (struct file *fp, int events, struct ucred *active_cred, struct thread *td) |
| int | soo_stat (struct file *fp, struct stat *ub, struct ucred *active_cred, struct thread *td) |
| int | soo_close (struct file *fp, struct thread *td) |
Variables | |
| struct fileops | socketops |
| __FBSDID | ( | "$BSDSUniX$" | ) |
| int soo_close | ( | struct file * | fp, |
| struct thread * | td | ||
| ) |
Definition at line 284 of file sys_socket.c.
References badfileops, and soclose().

| int soo_ioctl | ( | struct file * | fp, |
| u_long | cmd, | ||
| void * | data, | ||
| struct ucred * | active_cred, | ||
| struct thread * | td | ||
| ) |
Definition at line 120 of file sys_socket.c.
References fgetown(), and fsetown().

| int soo_poll | ( | struct file * | fp, |
| int | events, | ||
| struct ucred * | active_cred, | ||
| struct thread * | td | ||
| ) |
Definition at line 228 of file sys_socket.c.
References sopoll().

| int soo_read | ( | struct file * | fp, |
| struct uio * | uio, | ||
| struct ucred * | active_cred, | ||
| int | flags, | ||
| struct thread * | td | ||
| ) |
Definition at line 74 of file sys_socket.c.
References soreceive().

| int soo_stat | ( | struct file * | fp, |
| struct stat * | ub, | ||
| struct ucred * | active_cred, | ||
| struct thread * | td | ||
| ) |
Definition at line 243 of file sys_socket.c.
| int soo_truncate | ( | struct file * | fp, |
| off_t | length, | ||
| struct ucred * | active_cred, | ||
| struct thread * | td | ||
| ) |
Definition at line 112 of file sys_socket.c.
| int soo_write | ( | struct file * | fp, |
| struct uio * | uio, | ||
| struct ucred * | active_cred, | ||
| int | flags, | ||
| struct thread * | td | ||
| ) |
Definition at line 91 of file sys_socket.c.
References sosend(), and tdsignal().

| struct fileops socketops |
Definition at line 58 of file sys_socket.c.
Referenced by kern_accept(), kern_socketpair(), sys_sctp_peeloff(), and sys_socket().