43#if defined(_SYS_MALLOC_H_)
45#define malloc(x) malloc(x, M_ALIAS, M_NOWAIT|M_ZERO)
46#define calloc(n, x) mallocarray((n), (x), M_ALIAS, M_NOWAIT|M_ZERO)
47#define free(x) free(x, M_ALIAS)
92#define EOH .dir = NODIR
116 SLIST_ENTRY(dll)
next;
120void dll_chain_init(
void);
121void dll_chain_destroy(
void);
122int attach_dll(
struct dll *);
123void *detach_dll(
char *);
124struct dll *walk_dll_chain(
void);
130typedef enum modeventtype {
137typedef struct module *module_t;
138typedef int (*modeventhand_t)(module_t,
int ,
void *);
143typedef struct moduledata {
145 modeventhand_t evhand;
int LibAliasDetachHandlers(struct proto_handler *)
int LibAliasAttachHandlers(struct proto_handler *)
int find_handler(int8_t, int8_t, struct libalias *, struct ip *, struct alias_data *)
struct proto_handler * first_handler(void)
int(* fingerprint)(struct libalias *, struct alias_data *)
int(* protohandler)(struct libalias *, struct ip *, struct alias_data *)
TAILQ_ENTRY(proto_handler) link