#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/queue.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/mbuf.h>
#include <netgraph/ng_message.h>
#include <netgraph/netgraph.h>
#include <netgraph/atm/ngatmbase.h>
Go to the source code of this file.
|
#define | CCASSERT(E, M) KASSERT(E, M) |
|
#define | CCMALLOC(S) (malloc((S), M_NG_CCATM, M_NOWAIT)) |
|
#define | CCZALLOC(S) (malloc((S), M_NG_CCATM, M_NOWAIT | M_ZERO)) |
|
#define | CCFREE(P) do { free((P), M_NG_CCATM); } while (0) |
|
#define | CCGETERRNO() (ENOMEM) |
|
◆ CCASSERT
#define CCASSERT |
( |
|
E, |
|
|
|
M |
|
) |
| KASSERT(E, M) |
◆ CCFREE
#define CCFREE |
( |
|
P | ) |
do { free((P), M_NG_CCATM); } while (0) |
◆ CCGETERRNO
#define CCGETERRNO |
( |
| ) |
(ENOMEM) |
◆ CCMALLOC
#define CCMALLOC |
( |
|
S | ) |
(malloc((S), M_NG_CCATM, M_NOWAIT)) |
◆ CCZALLOC
#define CCZALLOC |
( |
|
S | ) |
(malloc((S), M_NG_CCATM, M_NOWAIT | M_ZERO)) |
◆ MALLOC_DECLARE()
MALLOC_DECLARE |
( |
M_NG_CCATM |
| ) |
|