aboutsummaryrefslogtreecommitdiffstats
path: root/src/fnettrace/radix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fnettrace/radix.h')
-rw-r--r--src/fnettrace/radix.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/fnettrace/radix.h b/src/fnettrace/radix.h
index ed7ae0cb7..c22c5c547 100644
--- a/src/fnettrace/radix.h
+++ b/src/fnettrace/radix.h
@@ -20,19 +20,8 @@
20#ifndef RADIX_H 20#ifndef RADIX_H
21#define RADIX_H 21#define RADIX_H
22 22
23typedef struct rnode_t {
24 struct rnode_t *zero;
25 struct rnode_t *one;
26 uint32_t ip;
27 uint32_t mask;
28 char *name;
29} RNode;
30
31extern int radix_nodes; 23extern int radix_nodes;
32char *radix_find_first(uint32_t ip); 24char *radix_longest_prefix_match(uint32_t ip);
33char *radix_find_last(uint32_t ip); 25char *radix_add(uint32_t ip, uint32_t mask, char *name);
34void radix_add(uint32_t ip, uint32_t mask, char *name);
35void radix_print(void);
36void radix_build_list(void);
37 26
38#endif \ No newline at end of file 27#endif \ No newline at end of file