/freebsd/sys/net/route/ |
H A D | nhop_ctl.c | 126 get_aifp(const struct nhop_object *nh) in get_aifp() 169 set_nhop_mtu_from_info(struct nhop_object *nh, const struct rt_addrinfo *info) in set_nhop_mtu_from_info() 191 set_nhop_gw_from_info(struct nhop_object *nh, struct rt_addrinfo *info) in set_nhop_gw_from_info() 238 set_nhop_expire_from_info(struct nhop_object *nh, const struct rt_addrinfo *info) in set_nhop_expire_from_info() 271 struct nhop_object *nh = nhop_alloc(rnh->rib_fibnum, rnh->rib_family); in nhop_create_from_info() local 313 nhop_get_nhop(struct nhop_object *nh, int *perror) in nhop_get_nhop() 327 nhop_get_nhop_internal(struct rib_head *rnh, struct nhop_object *nh, int *perror) in nhop_get_nhop_internal() 369 nhop_get_unlinked(struct nhop_object *nh) in nhop_get_unlinked() 397 alter_nhop_from_info(struct nhop_object *nh, struct rt_addrinfo *info) in alter_nhop_from_info() 439 struct nhop_object *nh; in nhop_create_from_nhop() local [all …]
|
H A D | route_temporal.c | 53 expire_route(const struct rtentry *rt, const struct nhop_object *nh, void *arg) in expire_route() 124 tmproutes_update(struct rib_head *rnh, struct rtentry *rt, struct nhop_object *nh) in tmproutes_update()
|
H A D | route_ifaddrs.c | 76 struct nhop_object *nh; in rib_handle_ifaddr_one() local 197 match_kernel_route(const struct rtentry *rt, struct nhop_object *nh) in match_kernel_route() 208 struct nhop_object *nh = rt->rt_nhop; in pick_kernel_route() local
|
H A D | route_ctl.c | 190 nhop_can_multipath(const struct nhop_object *nh) in nhop_can_multipath() 237 nhop_get_prio(const struct nhop_object *nh) in nhop_get_prio() 250 match_nhop_gw(const struct nhop_object *nh, const struct sockaddr *gw) in match_nhop_gw() 294 rib_match_gw(const struct rtentry *rt, const struct nhop_object *nh, void *gw_sa) in rib_match_gw() 310 match_gw_one(const struct rtentry *rt, const struct nhop_object *nh, void *_data) in match_gw_one() 329 const struct nhop_object *nh) in check_info_match_nhop() 643 struct nhop_object *nh = nhop_alloc(rh_dst->rib_fibnum, rh_dst->rib_family); in rib_copy_route() local 730 struct nhop_object *nh; in add_route_byinfo() local 791 struct nhop_object *nh; in add_route_flags() local 1009 struct nhop_object *nh = rt->rt_nhop; in rt_delete_conditional() local [all …]
|
/freebsd/sys/netinet6/ |
H A D | in6_fib.c | 123 struct nhop_object *nh; in fib6_lookup() local 148 struct nhop_object *nh; in fib6_lookup() local 184 check_urpf_nhop(const struct nhop_object *nh, uint32_t flags, in check_urpf_nhop() 202 check_urpf(struct nhop_object *nh, uint32_t flags, in check_urpf() 228 struct nhop_object *nh; in lookup_nhop() local 269 struct nhop_object *nh; in fib6_check_urpf() local 339 struct nhop_object *nh = nhop_select(rnd.rnd_nhop, 0); in fib6_lookup_debugnet() local
|
H A D | ip6_fastfwd.c | 61 struct nhop_object *nh; in ip6_findroute() local 94 struct nhop_object *nh; in ip6_tryforward() local [all...] |
H A D | in6_rmx.c | 96 rib6_set_nh_pfxflags(u_int fibnum,const struct sockaddr * addr,const struct sockaddr * mask,struct nhop_object * nh) rib6_set_nh_pfxflags() argument 111 rib6_augment_nh(u_int fibnum,struct nhop_object * nh) rib6_augment_nh() argument [all...] |
H A D | ip6_forward.c | 95 struct nhop_object *nh = NULL; in ip6_forward() local
|
H A D | in6_src.c | 647 struct nhop_object *nh = NULL; in lookup_route() local 735 struct nhop_object *nh = lookup_route(fibnum, dstsock, ro, opts, flowid); in selectroute() local 771 struct nhop_object *nh = NULL; in in6_selectif() local 850 struct nhop_object *nh; in in6_selecthlim() local
|
/freebsd/sys/netinet/ |
H A D | in_fib.c | 115 struct nhop_object *nh; in fib4_lookup() local 140 struct nhop_object *nh; in fib4_lookup() local 175 check_urpf_nhop(const struct nhop_object *nh, uint32_t flags, in check_urpf_nhop() 193 check_urpf(struct nhop_object *nh, uint32_t flags, in check_urpf() 218 struct nhop_object *nh; in lookup_nhop() local 255 struct nhop_object *nh; in fib4_check_urpf() local 324 struct nhop_object *nh = nhop_select(rnd.rnd_nhop, 0); in fib4_lookup_debugnet() local
|
H A D | in_rmx.c | 54 struct nhop_object *nh) in rib4_set_nh_pfxflags() 87 rib4_augment_nh(u_int fibnum, struct nhop_object *nh) in rib4_augment_nh() 155 in_ifadownkill(const struct rtentry *rt, const struct nhop_object *nh, in in_ifadownkill()
|
H A D | ip_fastfwd.c | 108 ip_redir_alloc(struct mbuf *m, struct nhop_object *nh, u_short ip_len, in ip_redir_alloc() 194 struct nhop_object *nh; in ip_findroute() local 236 struct nhop_object *nh = NULL; in ip_tryforward() local
|
H A D | ip_output.c | 288 rt_update_ro_flags(struct route *ro, const struct nhop_object *nh) in rt_update_ro_flags() 489 struct nhop_object *nh = ro->ro_nh; in ip_output() local 506 struct nhop_object *nh; in ip_output() local
|
/freebsd/contrib/tcpdump/ |
H A D | print-ip6.c | 50 u_int nh; in ip6_finddst() local 183 u_int nh; in nextproto6_cksum() local 232 uint8_t ph, nh; in ip6_print() local
|
H A D | print-ip-demux.c | 39 uint8_t nh, const u_char *iph) in ip_demux_print()
|
/freebsd/sys/netlink/route/ |
H A D | nexthop.c | 176 struct nhop_object *nh = unhop->un_nhop; in nl_find_nhop() local 229 struct nhop_object *nh; in nl_find_nhop() local 276 struct nhop_object *nh = NULL; in clone_unhop() local 287 struct nhop_object *nh; in clone_unhop() local 436 dump_nhop(const struct nhop_object *nh, uint32_t uidx, struct nlmsghdr *hdr, in dump_nhop() 746 eligible_nhg(const struct nhop_object *nh) in eligible_nhg() 799 nl_set_nexthop_gw(struct nhop_object *nh, struct sockaddr *gw, if_t ifp, in nl_set_nexthop_gw() 822 struct nhop_object *nh; in newnhop() local 1049 for (struct nhop_object *nh = nhops_iter_start(&iter); nh; in rtnl_handle_getnhop() local 1068 for (struct nhop_object *nh = nhops_iter_start(&iter); nh; in rtnl_handle_getnhop() local
|
H A D | rt.c | 55 get_rtm_type(const struct nhop_object *nh) in get_rtm_type() argument 68 nl_get_rtm_protocol(const struct nhop_object *nh) in nl_get_rtm_protocol() argument 124 dump_rc_nhop_gw(struct nl_writer *nw, const struct nhop_object *nh) in dump_rc_nhop_gw() argument 162 dump_rc_nhop_mtu(struct nl_writer * nw,const struct nhop_object * nh) dump_rc_nhop_mtu() argument 229 const struct nhop_object *nh = rnd->rnd_nhop; dump_rc_nhop() local 700 finalize_nhop(struct nhop_object * nh,const struct sockaddr * dst,int * perror) finalize_nhop() argument 814 struct nhop_object *nh = nhop_alloc(attrs->rta_table, attrs->rtm_family); create_nexthop_one() local 840 struct nhop_object *nh = NULL; create_nexthop_from_attrs() local 929 struct nhop_object *nh = NULL; rtnl_handle_newroute() local 979 path_match_func(const struct rtentry * rt,const struct nhop_object * nh,void * _data) path_match_func() argument [all...] |
/freebsd/sys/net/ |
H A D | route.c | 212 struct nhop_object *nh = nhop_alloc(fibnum, dst->sa_family); in rib_add_redirect() local 299 struct nhop_object *nh; in ifa_ifwithroute() local 337 rt_ifdelroute(const struct rtentry *rt, const struct nhop_object *nh, void *arg) in rt_ifdelroute() 662 rt_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh, in rt_routemsg()
|
H A D | rtsock.c | 281 struct nhop_object *nh; in report_route_event() local 488 struct nhop_object *nh, union sockaddr_union *saun, struct ucred *cred) in rtm_get_jailed() argument 694 struct nhop_object *nh; fill_addrinfo() local 718 select_nhop(struct nhop_object * nh,const struct sockaddr * gw) select_nhop() argument 749 struct nhop_object *nh; handle_rtm_get() local 948 update_rtm_from_rc(struct rt_addrinfo * info,struct rt_msghdr ** prtm,int alloc_len,struct rib_cmd_info * rc,struct nhop_object * nh) update_rtm_from_rc() argument 1047 struct nhop_object *nh; rts_send() local 1297 rt_getmetrics(const struct rtentry * rt,const struct nhop_object * nh,struct rt_metrics * out) rt_getmetrics() argument 2018 rtsock_routemsg(int cmd,struct rtentry * rt,struct nhop_object * nh,int fibnum) rtsock_routemsg() argument 2219 struct nhop_object *nh; sysctl_dumpentry() local 2248 sysctl_dumpnhop(struct rtentry * rt,struct nhop_object * nh,uint32_t weight,struct walkarg * w) sysctl_dumpnhop() argument [all...] |
/freebsd/contrib/ofed/libibverbs/ |
H A D | nl1_compat.h | 33 static inline struct nl_addr *rtnl_route_nh_get_gateway(struct rtnl_nexthop *nh) in rtnl_route_nh_get_gateway() 38 static inline int rtnl_route_nh_get_ifindex(struct rtnl_nexthop *nh) in rtnl_route_nh_get_ifindex()
|
/freebsd/usr.bin/netstat/ |
H A D | nhops.c | 237 print_nhop_entry_sysctl(const char *name, struct rt_msghdr *rtm, struct nhop_external *nh) in print_nhop_entry_sysctl() 342 struct nhop_external *nh; in dump_nhops_sysctl() local 396 struct nhop_external *nh; in print_nhops_sysctl() local
|
H A D | nhgrp.c | 280 update_global_map(struct nhop_external *nh) in update_global_map() 312 struct nhop_external *nh; in prepare_nh_map() local
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | new.cpp | 37 std::new_handler nh = std::get_new_handler(); in operator_new_impl() local 130 std::new_handler nh = std::get_new_handler(); in operator_new_aligned_impl() local
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 623 struct nhop_object *nh; in nat64_find_route6() local 770 struct nhop_object *nh; in nat64_find_route4() local 1227 struct nhop_object *nh; in nat64_do_handle_ip4() local 1562 struct nhop_object *nh; in nat64_do_handle_ip6() local
|
/freebsd/sbin/route/ |
H A D | route_netlink.c | 475 struct rta_mpath_nh *nh, bool first) in print_nlmsg_route_nhop() 548 struct rta_mpath_nh *nh = r.rta_multipath.nhops[i]; in print_nlmsg_route() local 556 struct rta_mpath_nh nh = { in print_nlmsg_route() local 844 struct rta_mpath_nh *nh = r->rta_multipath.nhops[i]; in flushroute_one() local
|