Lines Matching refs:ktable

49 struct ktable		**krt;
117 void ktable_destroy(struct ktable *);
118 struct ktable *ktable_get(u_int);
120 int kr4_change(struct ktable *, struct kroute_full *);
121 int kr6_change(struct ktable *, struct kroute_full *);
122 int krVPN4_change(struct ktable *, struct kroute_full *);
123 int krVPN6_change(struct ktable *, struct kroute_full *);
124 int kr_net_match(struct ktable *, struct network_config *, uint16_t, int);
125 struct network *kr_net_find(struct ktable *, struct network *);
126 void kr_net_clear(struct ktable *);
127 void kr_redistribute(int, struct ktable *, struct kroute_full *);
137 struct kroute *kroute_find(struct ktable *, const struct bgpd_addr *,
140 int kroute_insert(struct ktable *, struct kroute_full *);
141 int kroute_remove(struct ktable *, struct kroute_full *, int);
142 void kroute_clear(struct ktable *);
144 struct kroute6 *kroute6_find(struct ktable *, const struct bgpd_addr *,
147 void kroute6_clear(struct ktable *);
149 struct knexthop *knexthop_find(struct ktable *, struct bgpd_addr *);
150 int knexthop_insert(struct ktable *, struct knexthop *);
151 void knexthop_remove(struct ktable *, struct knexthop *);
152 void knexthop_clear(struct ktable *);
161 int knexthop_true_nexthop(struct ktable *, struct kroute_full *);
162 void knexthop_validate(struct ktable *, struct knexthop *);
163 void knexthop_track(struct ktable *, u_short);
164 void knexthop_update(struct ktable *, struct kroute_full *);
166 struct kroute *kroute_match(struct ktable *, struct bgpd_addr *, int);
167 struct kroute6 *kroute6_match(struct ktable *, struct bgpd_addr *, int);
168 void kroute_detach_nexthop(struct ktable *, struct knexthop *);
178 int send_rtmsg(int, struct ktable *, struct kroute_full *);
180 int fetchtable(struct ktable *);
183 int kr_fib_delete(struct ktable *, struct kroute_full *, int);
184 int kr_fib_change(struct ktable *, struct kroute_full *, int, int);
275 struct ktable **xkrt; in ktable_new()
276 struct ktable *kt; in ktable_new()
281 oldsize = sizeof(struct ktable *) * krt_size; in ktable_new()
283 sizeof(struct ktable *))) == NULL) { in ktable_new()
290 krt_size * sizeof(struct ktable *) - oldsize); in ktable_new()
297 kt = krt[rtableid] = calloc(1, sizeof(struct ktable)); in ktable_new()
329 struct ktable *kt, *nkt; in ktable_free()
355 ktable_destroy(struct ktable *kt) in ktable_destroy()
373 struct ktable *
384 struct ktable *kt, *rkt; in ktable_update()
461 struct ktable *kt; in kr_change()
485 kr4_change(struct ktable *kt, struct kroute_full *kf) in kr4_change()
522 kr6_change(struct ktable *kt, struct kroute_full *kf) in kr6_change()
560 krVPN4_change(struct ktable *kt, struct kroute_full *kf) in krVPN4_change()
616 krVPN6_change(struct ktable *kt, struct kroute_full *kf) in krVPN6_change()
675 struct ktable *kt; in kr_delete()
688 struct ktable *kt; in kr_flush()
725 struct ktable *kt; in kr_fib_couple()
763 struct ktable *kt; in kr_fib_decouple()
814 struct ktable *kt; in kr_nexthop_add()
841 struct ktable *kt; in kr_nexthop_delete()
882 struct ktable *kt; in kr_show_route()
1013 struct ktable ktab; in kr_show_route()
1059 kr_net_redist_add(struct ktable *kt, struct network_config *net, in kr_net_redist_add()
1096 kr_net_redist_del(struct ktable *kt, struct network_config *net, int dynamic) in kr_net_redist_del()
1121 kr_net_match(struct ktable *kt, struct network_config *net, uint16_t flags, in kr_net_match()
1171 kr_net_find(struct ktable *kt, struct network *n) in kr_net_find()
1193 struct ktable *kt; in kr_net_reload()
1214 kr_net_clear(struct ktable *kt) in kr_net_clear()
1227 kr_redistribute(int type, struct ktable *kt, struct kroute_full *kf) in kr_redistribute()
1304 struct ktable *kt; in ktable_preload()
1322 struct ktable *kt; in ktable_postload()
1350 struct ktable *kt; in kr_reload()
1579 kroute_find(struct ktable *kt, const struct bgpd_addr *prefix, in kroute_find()
1628 kroute_insert(struct ktable *kt, struct kroute_full *kf) in kroute_insert()
1739 kroute4_remove(struct ktable *kt, struct kroute_full *kf, int any) in kroute4_remove()
1809 kroute6_remove(struct ktable *kt, struct kroute_full *kf, int any) in kroute6_remove()
1879 kroute_remove(struct ktable *kt, struct kroute_full *kf, int any) in kroute_remove()
1911 kroute_clear(struct ktable *kt) in kroute_clear()
1920 kroute6_find(struct ktable *kt, const struct bgpd_addr *prefix, in kroute6_find()
1971 kroute6_clear(struct ktable *kt) in kroute6_clear()
1980 knexthop_find(struct ktable *kt, struct bgpd_addr *addr) in knexthop_find()
1991 knexthop_insert(struct ktable *kt, struct knexthop *kn) in knexthop_insert()
2006 knexthop_remove(struct ktable *kt, struct knexthop *kn) in knexthop_remove()
2014 knexthop_clear(struct ktable *kt) in knexthop_clear()
2048 struct ktable *kt; in kif_remove()
2156 knexthop_true_nexthop(struct ktable *kt, struct kroute_full *kf) in knexthop_true_nexthop()
2205 knexthop_validate(struct ktable *kt, struct knexthop *kn) in knexthop_validate()
2254 knexthop_track(struct ktable *kt, u_short ifindex) in knexthop_track()
2267 knexthop_update(struct ktable *kt, struct kroute_full *kf) in knexthop_update()
2329 kroute_match(struct ktable *kt, struct bgpd_addr *key, int matchany) in kroute_match()
2346 kroute6_match(struct ktable *kt, struct bgpd_addr *key, int matchany) in kroute6_match()
2363 kroute_detach_nexthop(struct ktable *kt, struct knexthop *kn) in kroute_detach_nexthop()
2564 struct ktable *kt; in if_change()
2673 send_rtmsg(int action, struct ktable *kt, struct kroute_full *kf) in send_rtmsg()
2838 fetchtable(struct ktable *kt) in fetchtable()
2976 struct ktable *kt; in dispatch_rtmsg()
3139 kr_fib_delete(struct ktable *kt, struct kroute_full *kf, int mpath) in kr_fib_delete()
3145 kr_fib_change(struct ktable *kt, struct kroute_full *kf, int type, int mpath) in kr_fib_change()