/*
- * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2011 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
#define M_IP6NDP 86 /* IPv6 Neighbour Discovery*/
#define M_IP6OPT 87 /* IPv6 options management */
#define M_IP6MISC 88 /* IPv6 misc. memory */
-#define M_TSEGQ 89 /* TCP segment queue entry */
+#define M_TSEGQ 89 /* TCP segment queue entry, unused */
#define M_IGMP 90
#define M_JNL_JNL 91 /* Journaling: "struct journal" */
#define M_JNL_TR 92 /* Journaling: "struct transaction" */
#define M_FILEGLOB 99 /* fileglobal */
#define M_KAUTH 100 /* kauth subsystem */
#define M_DUMMYNET 101 /* dummynet */
-#ifndef __LP64__
+#if CONFIG_VFS_FUNNEL
#define M_UNSAFEFS 102 /* storage for vnode lock state for unsafe FS */
-#endif /* __LP64__ */
+#endif /* CONFIG_VFS_FUNNEL */
#define M_MACPIPELABEL 103 /* MAC pipe labels */
#define M_MACTEMP 104 /* MAC framework */
#define M_SBUF 105 /* string buffers */
#if HFS_COMPRESSION
#define M_DECMPFS_CNODE 109 /* decmpfs cnode structures */
#endif /* HFS_COMPRESSION */
+#define M_INMFILTER 110 /* IPv4 multicast PCB-layer source filter */
+#define M_IPMSOURCE 111 /* IPv4 multicast IGMP-layer source filter */
+#define M_IN6MFILTER 112 /* IPv6 multicast PCB-layer source filter */
+#define M_IP6MOPTS 113 /* IPv6 multicast options */
+#define M_IP6MSOURCE 114 /* IPv6 multicast MLD-layer source filter */
-#define M_LAST 110 /* Must be last type + 1 */
+#define M_LAST 115 /* Must be last type + 1 */
#else /* BSD_KERNEL_PRIVATE */
#define FREE(addr, type) \
_FREE((void *)addr, type)
+#define REALLOC(space, cast, addr, size, type, flags) \
+ (space) = (cast)_REALLOC(addr, size, type, flags)
+
#define MALLOC_ZONE(space, cast, size, type, flags) \
(space) = (cast)_MALLOC_ZONE(size, type, flags)
void *addr,
int type);
+extern void *_REALLOC(
+ void *addr,
+ size_t size,
+ int type,
+ int flags);
+
extern void *_MALLOC_ZONE(
size_t size,
int type,