RTEMS CPU Kit with SuperCore  4.11.2
Macros | Functions | Variables
uipc_mbuf.c File Reference
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/kernel.h>
#include <sys/syslog.h>
#include <sys/domain.h>
#include <sys/protosw.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
Include dependency graph for uipc_mbuf.c:

Macros

#define MBTYPES
 
#define NCL_INIT   1
 
#define NMB_INIT   16
 
#define m_retry(i, t)   (struct mbuf *)0
 
#define m_retryhdr(i, t)   (struct mbuf *)0
 

Functions

struct mbufm_retry (int i, int t)
 
struct mbufm_retryhdr (int i, int t)
 
void m_reclaim (void)
 
struct mbufm_get (int nowait, int type)
 
struct mbufm_gethdr (int nowait, int type)
 
struct mbufm_getclr (int nowait, int type)
 
struct mbufm_free (struct mbuf *m)
 
void m_freem (struct mbuf *mb)
 
struct mbufm_prepend (struct mbuf *m, int len, int how)
 
struct mbufm_copym (struct mbuf *m, int off0, uint32_t len, int wait)
 
struct mbufm_copypacket (struct mbuf *m, int how)
 
int m_copydata (const struct mbuf *m, int off, int len, caddr_t cp)
 
void m_cat (struct mbuf *m, struct mbuf *n)
 
void m_adj (struct mbuf *mp, int req_len)
 
struct mbufm_pullup (struct mbuf *n, int len)
 
struct mbufm_split (struct mbuf *m0, int len0, int wait)
 
struct mbufm_devget (char *buf, int totlen, int off0, struct ifnet *ifp, void(*copy)(char *from, caddr_t to, u_int len))
 
int m_copyback (struct mbuf *m0, int off, int len, caddr_t cp)
 

Variables

struct mbufmbutl
 
char * mclrefcnt
 
struct mbstat mbstat
 
struct mbufmmbfree
 
union mclustermclfree
 
int max_linkhdr
 
int max_protohdr
 
int max_hdr
 
int max_datalen