RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions
uipc_socket.c File Reference
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/file.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/domain.h>
#include <sys/kernel.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
#include <sys/sysctl.h>
#include <limits.h>
Include dependency graph for uipc_socket.c:

Macros

#define SBLOCKWAIT(f)   (((f) & MSG_DONTWAIT) ? M_NOWAIT : M_WAITOK)
 
#define snderr(errno)   { error = errno; splx(s); goto release; }
 

Functions

 SYSCTL_INT (_kern, KIPC_SOMAXCONN, somaxconn, CTLFLAG_RW, &somaxconn, 0, "")
 
int socreate (int dom, struct socket **aso, int type, int proto, struct proc *p)
 
int sobind (struct socket *so, struct mbuf *nam)
 
int solisten (struct socket *so, int backlog)
 
void sofree (struct socket *so)
 
int soclose (struct socket *so)
 
int soabort (struct socket *so)
 
int soaccept (struct socket *so, struct mbuf *nam)
 
int soconnect (struct socket *so, struct mbuf *nam)
 
int soconnect2 (struct socket *so1, struct socket *so2)
 
int sodisconnect (struct socket *so)
 
int sosend (struct socket *so, struct mbuf *addr, struct uio *uio, struct mbuf *top, struct mbuf *control, int flags)
 
int soreceive (struct socket *so, struct mbuf **paddr, struct uio *uio, struct mbuf **mp0, struct mbuf **controlp, int *flagsp)
 
int soshutdown (struct socket *so, int how)
 
void sorflush (struct socket *so)
 
int sosetopt (struct socket *so, int level, int optname, struct mbuf *m0)
 
int sogetopt (struct socket *so, int level, int optname, struct mbuf **mp)
 
void sohasoutofband (struct socket *so)