mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Move m_uiotombuf from uio.h to mbuf.h, where I should have put it in
the first place. Suggested by: bde
This commit is contained in:
parent
ca88a766c2
commit
08fc808d7f
2 changed files with 4 additions and 2 deletions
|
|
@ -437,6 +437,8 @@ extern int nmbclusters; /* Maximum number of clusters */
|
|||
extern int nmbcnt; /* Scale kmem_map for counter space */
|
||||
extern int nmbufs; /* Maximum number of mbufs */
|
||||
|
||||
struct uio;
|
||||
|
||||
void _mext_free(struct mbuf *);
|
||||
void m_adj(struct mbuf *, int);
|
||||
int m_apply(struct mbuf *, int, int,
|
||||
|
|
@ -474,6 +476,8 @@ void m_print(const struct mbuf *);
|
|||
struct mbuf *m_pulldown(struct mbuf *, int, int, int *);
|
||||
struct mbuf *m_pullup(struct mbuf *, int);
|
||||
struct mbuf *m_split(struct mbuf *, int, int);
|
||||
struct mbuf *
|
||||
m_uiotombuf(struct uio *uio, int how, int len);
|
||||
|
||||
/*
|
||||
* Packets may have annotations attached by affixing a list
|
||||
|
|
|
|||
|
|
@ -95,8 +95,6 @@ int uiomove(void *cp, int n, struct uio *uio);
|
|||
int uiomove_frombuf(void *buf, int buflen, struct uio *uio);
|
||||
int uiomoveco(void *cp, int n, struct uio *uio, struct vm_object *obj,
|
||||
int disposable);
|
||||
struct mbuf *
|
||||
m_uiotombuf(struct uio *uio, int how, int len);
|
||||
|
||||
#else /* !_KERNEL */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue