|
int | pos_from_node (map_node *node, map_node *map) |
|
map_node * | node_from_pos (int pos, map_node *map) |
|
void | postoip (u_int map_pos, inet_prefix ipstart, inet_prefix *ret) |
|
void | maptoip (u_int mapstart, u_int mapoff, inet_prefix ipstart, inet_prefix *ret) |
|
int | iptomap (u_int mapstart, inet_prefix ip, inet_prefix ipstart, map_node **ret) |
|
map_node * | init_map (size_t len) |
|
void | free_map (map_node *map, size_t count) |
|
map_rnode * | rnode_insert (map_rnode *buf, size_t pos, map_rnode *new) |
|
map_rnode * | map_rnode_insert (map_node *node, size_t pos, map_rnode *new) |
|
map_rnode * | rnode_add (map_node *node, map_rnode *new) |
|
void | rnode_swap (map_rnode *one, map_rnode *two) |
|
void | rnode_del (map_node *node, size_t pos) |
|
void | rnode_destroy (map_node *node) |
|
int | rnode_find (map_node *node, void *n) |
|
void | map_node_del (map_node *node) |
|
void | reset_int_map (map_node *map, int maxgroupnode) |
|
int | rnode_trtt_compar (const void *a, const void *b) |
|
void | rnode_trtt_order (map_node *node) |
|
void | map_routes_order (map_node *map) |
|
u_int | get_route_trtt (map_node *node, u_short route) |
|
int | merge_maps (map_node *base, map_node *new, map_node *base_root, map_node *new_root) |
|
int | mod_rnode_addr (map_rnode *rnode, int *map_start, int *new_start) |
|
int | get_rnode_block (int *map, map_node *node, map_rnode *rblock, int rstart) |
|
map_rnode * | map_get_rblock (map_node *map, int *addr_map, int maxgroupnode, int *count) |
|
int | store_rnode_block (int *map, map_node *node, map_rnode *rblock, int rstart) |
|
int | map_store_rblock (map_node *map, int *addr_map, int maxgroupnode, map_rnode *rblock) |
|
int | verify_int_map_hdr (struct int_map_hdr *imap_hdr, int maxgroupnode, int maxrnodeblock) |
|
void | pack_map_node (map_node *node, char *pack) |
|
void | unpack_map_node (map_node *node, char *pack) |
|
char * | pack_map (map_node *map, int *addr_map, int maxgroupnode, map_node *root_node, size_t *pack_sz) |
|
map_node * | unpack_map (char *pack, int *addr_map, map_node **new_root, int maxgroupnode, int maxrnodeblock) |
|
int | save_map (map_node *map, map_node *root_node, char *file) |
|
map_node * | load_map (char *file, map_node **new_root) |
|