Revision 0f7d5b1a nest/route.h

View differences:

nest/route.h
66 66
};
67 67

  
68 68
void fib_init(struct fib *f, pool *p, uint addr_type, uint node_size, uint node_offset, uint hash_order, fib_init_fn init);
69
void *fib_find(struct fib *, net_addr *);	/* Find or return NULL if doesn't exist */
70
void *fib_get(struct fib *, net_addr *); 	/* Find or create new if nonexistent */
71
void *fib_route(struct fib *, net_addr *);	/* Longest-match routing lookup */
69
void *fib_find(struct fib *, const net_addr *);	/* Find or return NULL if doesn't exist */
70
void *fib_get(struct fib *, const net_addr *); 	/* Find or create new if nonexistent */
71
void *fib_route(struct fib *, const net_addr *); /* Longest-match routing lookup */
72 72
void fib_delete(struct fib *, void *);	/* Remove fib entry */
73 73
void fib_free(struct fib *);		/* Destroy the fib */
74 74
void fib_check(struct fib *);		/* Consistency check for debugging */

Also available in: Unified diff