| /f-stack/freebsd/net/route/ |
| H A D | route_ctl.h | 42 struct rtentry *rc_rt; /* Target entry */ 69 typedef int rib_walktree_f_t(struct rtentry *, void *); 98 const struct rtentry *rib_lookup_prefix(uint32_t fibnum, int family, 101 const struct rtentry *rib_lookup_lpm(uint32_t fibnum, int family, 105 bool rt_is_host(const struct rtentry *rt); 106 sa_family_t rt_get_family(const struct rtentry *); 107 struct nhop_object *rt_get_raw_nhop(const struct rtentry *rt); 110 void rt_get_inet_prefix_plen(const struct rtentry *rt, struct in_addr *paddr, 112 void rt_get_inet_prefix_pmask(const struct rtentry *rt, struct in_addr *paddr, 117 void rt_get_inet6_prefix_plen(const struct rtentry *rt, struct in6_addr *paddr, [all …]
|
| H A D | route_ctl.c | 166 struct rtentry *rt; in destroy_rtentry_epoch() 493 static struct rtentry * 497 struct rtentry *rt; in lookup_prefix_bysa() 520 struct rtentry * 524 struct rtentry *rt; in lookup_prefix() 580 struct rtentry *rt; in create_rtentry() 773 struct rtentry *rt; in rt_unlinkrte() 867 struct rtentry *rt; in rib_change_route() 1243 struct rtentry *head; 1256 struct rtentry *rt; in rt_checkdelroute() [all …]
|
| H A D | route_var.h | 138 #define RNTORT(p) ((struct rtentry *)(p)) 140 struct rtentry { struct 175 struct rtentry *rt_chain; /* pointer to next rtentry to delete */ argument 205 void tmproutes_update(struct rib_head *rnh, struct rtentry *rt); 211 int change_route_nhop(struct rib_head *rnh, struct rtentry *rt, 214 int change_route_conditional(struct rib_head *rnh, struct rtentry *rt, 217 struct rtentry *lookup_prefix(struct rib_head *rnh, 223 const struct rtentry *rt, const struct nhop_object *nh); 282 struct rtentry *rt, struct route_nhop_data *rnd_add, 285 struct rtentry *rt, struct nhgrp_object *nhg, struct rib_cmd_info *rc); [all …]
|
| H A D | mpath_ctl.c | 95 struct rtentry *rt, struct route_nhop_data *rnd_add, in add_route_mpath() 148 struct rtentry *rt; 165 struct rtentry *rt, struct nhgrp_object *nhg, in del_route_mpath()
|
| H A D | route_temporal.c | 56 expire_route(const struct rtentry *rt, const struct nhop_object *nh, void *arg) in expire_route() 126 tmproutes_update(struct rib_head *rnh, struct rtentry *rt) in tmproutes_update()
|
| H A D | route_ddb.c | 133 struct rtentry *rt; in rt_dumpentry_ddb() 212 struct rtentry *rt; in _DB_FUNC() 254 rt = (struct rtentry *)rn; in _DB_FUNC()
|
| H A D | fib_algo.h | 59 typedef enum flm_op_result flm_dump_t(struct rtentry *rt, void *data);
|
| H A D | fib_algo.c | 682 sync_algo_cb(struct rtentry *rt, void *_data) in sync_algo_cb()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_fib.h | 35 struct rtentry; 43 struct rtentry *fib6_lookup_rt(uint32_t fibnum, const struct in6_addr *dst6,
|
| H A D | in6_fib.c | 293 struct rtentry * 300 struct rtentry *rt; in fib6_lookup_rt() 321 rt = (struct rtentry *)rn; in fib6_lookup_rt() 335 struct rtentry *rt; in fib6_lookup_debugnet()
|
| H A D | in6_fib_algo.c | 168 lradix6_add_route_cb(struct rtentry *rt, void *_data) in lradix6_add_route_cb() 318 radix6_add_route_cb(struct rtentry *rt, void *_data) in radix6_add_route_cb()
|
| /f-stack/freebsd/netinet/ |
| H A D | in_fib.h | 48 struct rtentry; 55 struct rtentry *fib4_lookup_rt(uint32_t fibnum, struct in_addr dst, uint32_t scopeid,
|
| H A D | in_fib.c | 280 struct rtentry * 287 struct rtentry *rt; in fib4_lookup_rt() 306 rt = (struct rtentry *)rn; in fib4_lookup_rt() 320 struct rtentry *rt; in fib4_lookup_debugnet()
|
| H A D | in_rmx.c | 156 in_ifadownkill(const struct rtentry *rt, const struct nhop_object *nh, in in_ifadownkill()
|
| H A D | in_fib_algo.c | 198 bsearch4_add_route_cb(struct rtentry *rt, void *_data) in bsearch4_add_route_cb() 600 lradix4_add_route_cb(struct rtentry *rt, void *_data) in lradix4_add_route_cb() 734 radix4_add_route_cb(struct rtentry *rt, void *_data) in radix4_add_route_cb()
|
| /f-stack/freebsd/net/ |
| H A D | route.c | 80 static int rt_ifdelroute(const struct rtentry *rt, const struct nhop_object *, 82 static int rt_exportinfo(struct rtentry *rt, struct nhop_object *nh, 334 rt_exportinfo(struct rtentry *rt, struct nhop_object *nh, in rt_exportinfo() 425 struct rtentry *rt; in rib_lookup_info() 481 rt_ifdelroute(const struct rtentry *rt, const struct nhop_object *nh, void *arg) in rt_ifdelroute() 621 int rt_print(char *buf, int buflen, struct rtentry *rt); 647 rt_print(char *buf, int buflen, struct rtentry *rt) 719 rt_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh, in rt_routemsg()
|
| H A D | route.h | 341 struct rtentry; 343 typedef int rib_filter_f_t(const struct rtentry *, const struct nhop_object *, 419 int rt_routemsg(int, struct rtentry *, struct nhop_object *, int);
|
| H A D | rtsock.c | 178 static int sysctl_dumpentry(struct rtentry *rt, void *vw); 179 static int sysctl_dumpnhop(struct rtentry *rt, struct nhop_object *nh, 184 static void rt_getmetrics(const struct rtentry *rt, 757 rc->rc_rt = (struct rtentry *) rnh->rnh_matchaddr( in handle_rtm_get() 760 rc->rc_rt = (struct rtentry *) rnh->rnh_lookup( in handle_rtm_get() 801 rc->rc_rt = (struct rtentry *)rnh->rnh_matchaddr(&laddr, in handle_rtm_get() 854 export_rtaddrs(const struct rtentry *rt, struct sockaddr *dst, in export_rtaddrs() 992 struct rtentry *rt = NULL; in route_output() 1242 rt_getmetrics(const struct rtentry *rt, const struct nhop_object *nh, in rt_getmetrics() 1886 rtsock_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh, in rtsock_routemsg() [all …]
|
| H A D | if_var.h | 63 struct rtentry; /* ifa_rtrequest */ 376 struct rtentry *);
|
| /f-stack/tools/compat/include/net/ |
| H A D | route.h | 339 struct rtentry; 341 typedef int rib_filter_f_t(const struct rtentry *, const struct nhop_object *, 417 int rt_routemsg(int, struct rtentry *, struct nhop_object *, int);
|
| /f-stack/lib/ |
| H A D | ff_route.c | 659 rc->rc_rt = (struct rtentry *) rnh->rnh_matchaddr( in handle_rtm_get() 662 rc->rc_rt = (struct rtentry *) rnh->rnh_lookup( in handle_rtm_get() 703 rc->rc_rt = (struct rtentry *)rnh->rnh_matchaddr(&laddr, in handle_rtm_get() 865 rt_getmetrics(const struct rtentry *rt, const struct nhop_object *nh, in rt_getmetrics() 910 export_rtaddrs(const struct rtentry *rt, struct sockaddr *dst, in export_rtaddrs() 1036 struct rtentry *rt = NULL; in ff_rtioctl() 1240 struct rtentry *rt = NULL; 1346 struct rtentry *saved_nrt; 1416 rt = (struct rtentry *) rnh->rnh_matchaddr( 1419 rt = (struct rtentry *) rnh->rnh_lookup( [all …]
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | dpdk_lpm.c | 140 struct rtentry *rt; in get_parent_rule() 243 add_route_cb(struct rtentry *rt, void *_data) in add_route_cb()
|
| H A D | dpdk_lpm6.c | 173 struct rtentry *rt; in pack_parent_rule() 296 add_route_cb(struct rtentry *rt, void *_data) in add_route_cb()
|
| /f-stack/freebsd/netgraph/netflow/ |
| H A D | netflow.c | 351 struct rtentry *rt; in hash_insert() 371 struct rtentry *rt; in hash_insert() 425 struct rtentry *rt; in hash6_insert() 445 struct rtentry *rt; in hash6_insert()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_table_algo.c | 3786 static int ta_dump_kfib_tentry_int(int familt, const struct rtentry *rt, 3909 ta_dump_kfib_tentry_int(int family, const struct rtentry *rt, in ta_dump_kfib_tentry_int() 3938 struct rtentry *rt = NULL; in ta_find_kfib_tentry() 3967 struct rtentry *rt; 3983 walk_wrapper_f(struct rtentry *rt, void *arg) in walk_wrapper_f()
|