Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/mbuf.h
Show First 20 Lines • Show All 562 Lines • ▼ Show 20 Lines | |||||
#define MT_SONAME 8 /* socket name */ | #define MT_SONAME 8 /* socket name */ | ||||
#define MT_EXP1 9 /* for experimental use */ | #define MT_EXP1 9 /* for experimental use */ | ||||
#define MT_EXP2 10 /* for experimental use */ | #define MT_EXP2 10 /* for experimental use */ | ||||
#define MT_EXP3 11 /* for experimental use */ | #define MT_EXP3 11 /* for experimental use */ | ||||
#define MT_EXP4 12 /* for experimental use */ | #define MT_EXP4 12 /* for experimental use */ | ||||
#define MT_CONTROL 14 /* extra-data protocol message */ | #define MT_CONTROL 14 /* extra-data protocol message */ | ||||
#define MT_OOBDATA 15 /* expedited data */ | #define MT_EXTCONTROL 15 /* control message with externalized contents */ | ||||
#define MT_OOBDATA 16 /* expedited data */ | |||||
#define MT_NOINIT 255 /* Not a type but a flag to allocate | #define MT_NOINIT 255 /* Not a type but a flag to allocate | ||||
a non-initialized mbuf */ | a non-initialized mbuf */ | ||||
/* | /* | ||||
* String names of mbuf-related UMA(9) and malloc(9) types. Exposed to | * String names of mbuf-related UMA(9) and malloc(9) types. Exposed to | ||||
* !_KERNEL so that monitoring tools can look up the zones with | * !_KERNEL so that monitoring tools can look up the zones with | ||||
* libmemstat(3). | * libmemstat(3). | ||||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
struct mbuf *m_copypacket(struct mbuf *, int); | struct mbuf *m_copypacket(struct mbuf *, int); | ||||
void m_copy_pkthdr(struct mbuf *, struct mbuf *); | void m_copy_pkthdr(struct mbuf *, struct mbuf *); | ||||
struct mbuf *m_copyup(struct mbuf *, int, int); | struct mbuf *m_copyup(struct mbuf *, int, int); | ||||
struct mbuf *m_defrag(struct mbuf *, int); | struct mbuf *m_defrag(struct mbuf *, int); | ||||
void m_demote_pkthdr(struct mbuf *); | void m_demote_pkthdr(struct mbuf *); | ||||
void m_demote(struct mbuf *, int, int); | void m_demote(struct mbuf *, int, int); | ||||
struct mbuf *m_devget(char *, int, int, struct ifnet *, | struct mbuf *m_devget(char *, int, int, struct ifnet *, | ||||
void (*)(char *, caddr_t, u_int)); | void (*)(char *, caddr_t, u_int)); | ||||
void m_dispose_extcontrolm(struct mbuf *m); | |||||
markj: This header is probably the wrong place for a function defined in uipc_syscalls.c, but I'm not… | |||||
struct mbuf *m_dup(const struct mbuf *, int); | struct mbuf *m_dup(const struct mbuf *, int); | ||||
int m_dup_pkthdr(struct mbuf *, const struct mbuf *, int); | int m_dup_pkthdr(struct mbuf *, const struct mbuf *, int); | ||||
void m_extadd(struct mbuf *, char *, u_int, m_ext_free_t, | void m_extadd(struct mbuf *, char *, u_int, m_ext_free_t, | ||||
void *, void *, int, int); | void *, void *, int, int); | ||||
u_int m_fixhdr(struct mbuf *); | u_int m_fixhdr(struct mbuf *); | ||||
struct mbuf *m_fragment(struct mbuf *, int, int); | struct mbuf *m_fragment(struct mbuf *, int, int); | ||||
void m_freem(struct mbuf *); | void m_freem(struct mbuf *); | ||||
struct mbuf *m_get2(int, int, short, int); | struct mbuf *m_get2(int, int, short, int); | ||||
▲ Show 20 Lines • Show All 744 Lines • Show Last 20 Lines |
This header is probably the wrong place for a function defined in uipc_syscalls.c, but I'm not sure where it would logically go. Suggestions are welcome.