FreeBSD kernel kern code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mutex.h>
#include <security/mac/mac_framework.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$BSDSUniX$") | |
static | MALLOC_DEFINE (M_PACKET_TAGS, MBUF_TAG_MEM_NAME,"packet-attached information") |
static struct mbuf * | m_dup1 (struct mbuf *, int, int, int) |
struct mbuf * | m_pulldown (struct mbuf *m, int off, int len, int *offp) |
void | m_tag_free_default (struct m_tag *t) |
struct m_tag * | m_tag_alloc (uint32_t cookie, int type, int len, int wait) |
void | m_tag_delete (struct mbuf *m, struct m_tag *t) |
void | m_tag_delete_chain (struct mbuf *m, struct m_tag *t) |
void | m_tag_delete_nonpersistent (struct mbuf *m) |
struct m_tag * | m_tag_locate (struct mbuf *m, uint32_t cookie, int type, struct m_tag *t) |
struct m_tag * | m_tag_copy (struct m_tag *t, int how) |
int | m_tag_copy_chain (struct mbuf *to, struct mbuf *from, int how) |
__FBSDID | ( | "$BSDSUniX$" | ) |
|
static |
Definition at line 270 of file uipc_mbuf2.c.
References m_copydata(), and m_dup_pkthdr().
Referenced by m_pulldown().
struct mbuf* m_pulldown | ( | struct mbuf * | m, |
int | off, | ||
int | len, | ||
int * | offp | ||
) |
Definition at line 95 of file uipc_mbuf2.c.
References m_adj(), m_copydata(), m_dup1(), m_freem(), panic(), and printf().
struct m_tag* m_tag_alloc | ( | uint32_t | cookie, |
int | type, | ||
int | len, | ||
int | wait | ||
) |
Definition at line 317 of file uipc_mbuf2.c.
References m_tag_free_default(), and malloc().
Referenced by m_tag_copy().
struct m_tag* m_tag_copy | ( | struct m_tag * | t, |
int | how | ||
) |
Definition at line 398 of file uipc_mbuf2.c.
References m_tag_alloc().
Referenced by m_tag_copy_chain().
int m_tag_copy_chain | ( | struct mbuf * | to, |
struct mbuf * | from, | ||
int | how | ||
) |
Definition at line 432 of file uipc_mbuf2.c.
References m_tag_copy(), and m_tag_delete_chain().
Referenced by m_dup_pkthdr().
void m_tag_delete | ( | struct mbuf * | m, |
struct m_tag * | t | ||
) |
Definition at line 334 of file uipc_mbuf2.c.
Referenced by m_tag_delete_chain(), and m_tag_delete_nonpersistent().
void m_tag_delete_chain | ( | struct mbuf * | m, |
struct m_tag * | t | ||
) |
Definition at line 344 of file uipc_mbuf2.c.
References m_tag_delete().
Referenced by m_demote(), m_dup_pkthdr(), m_move_pkthdr(), m_sanity(), m_tag_copy_chain(), mb_dtor_mbuf(), and mb_dtor_pack().
void m_tag_delete_nonpersistent | ( | struct mbuf * | m | ) |
Definition at line 368 of file uipc_mbuf2.c.
References m_tag_delete().
void m_tag_free_default | ( | struct m_tag * | t | ) |
Definition at line 306 of file uipc_mbuf2.c.
References free().
Referenced by m_tag_alloc().
struct m_tag* m_tag_locate | ( | struct mbuf * | m, |
uint32_t | cookie, | ||
int | type, | ||
struct m_tag * | t | ||
) |
Definition at line 379 of file uipc_mbuf2.c.
|
static |