2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2011 Daniel Borkmann.
5 * Subject to the GPL, version 2.
11 #include <netinet/in.h>
13 extern void trie_addr_lookup(char *buff
, size_t len
, int ipv4
, int *fd
,
14 struct sockaddr_storage
*addr
, size_t *alen
);
15 extern int trie_addr_maybe_update(char *buff
, size_t len
, int ipv4
, int fd
,
16 struct sockaddr_storage
*addr
, size_t alen
);
17 extern void trie_addr_remove(int fd
);
18 extern void trie_addr_remove_addr(struct sockaddr_storage
*addr
, size_t alen
);
19 extern void trie_init(void);
20 extern void trie_cleanup(void);