diff options
author | phk <phk@FreeBSD.org> | 1997-10-11 18:31:40 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-11 18:31:40 +0000 |
commit | 645e7b2ab6676a2a3a05a59a053929d3b7732b4d (patch) | |
tree | 99b56513fb3f54852886a3d0eb7c8b3e1a9f2602 /sys/netkey/key.c | |
parent | a14e4dea11b5b83147d62a7cb7dacdec1ea19e15 (diff) | |
download | FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.zip FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.tar.gz |
Distribute and statizice a lot of the malloc M_* types.
Substantial input from: bde
Diffstat (limited to 'sys/netkey/key.c')
-rw-r--r-- | sys/netkey/key.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netkey/key.c b/sys/netkey/key.c index 2edd29a..16d8cfd 100644 --- a/sys/netkey/key.c +++ b/sys/netkey/key.c @@ -101,6 +101,8 @@ Research Laboratory (NRL). #include <netkey/key.h> #include <netkey/key_debug.h> +MALLOC_DEFINE(M_SECA, "key mgmt", "security associations, key management"); + #define SOCKADDR struct sockaddr #define KMALLOC(p, t, n) (p = (t) malloc((unsigned long)(n), M_SECA, M_DONTWAIT)) |