Home
last modified time | relevance | path

Searched defs:nh (Results 1 – 25 of 99) sorted by relevance

1234

/freebsd-src/sys/net/route/
H A Dnhop_ctl.c126 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 Droute_temporal.c53 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 Droute_ifaddrs.c76 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 Droute_ctl.c190 nhop_can_multipath(const struct nhop_object *nh) in nhop_can_multipath() argument
237 nhop_get_prio(const struct nhop_object *nh) in nhop_get_prio() argument
250 match_nhop_gw(const struct nhop_object *nh, const struct sockaddr *gw) in match_nhop_gw() argument
294 rib_match_gw(const struct rtentry * rt,const struct nhop_object * nh,void * gw_sa) rib_match_gw() argument
310 match_gw_one(const struct rtentry * rt,const struct nhop_object * nh,void * _data) match_gw_one() argument
329 check_info_match_nhop(const struct rt_addrinfo * info,const struct rtentry * rt,const struct nhop_object * nh) check_info_match_nhop() argument
643 struct nhop_object *nh = nhop_alloc(rh_dst->rib_fibnum, rh_dst->rib_family); rib_copy_route() local
730 struct nhop_object *nh; add_route_byinfo() local
788 struct nhop_object *nh; add_route_flags() local
1006 struct nhop_object *nh = rt->rt_nhop; rt_delete_conditional() local
1476 struct nhop_object *nh; rib_walk_del() local
[all...]
/freebsd-src/sys/netinet6/
H A Din6_fib.c123 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 Dip6_fastfwd.c61 struct nhop_object *nh; in ip6_findroute() local
94 struct nhop_object *nh; in ip6_tryforward() local
[all...]
H A Din6_rmx.c95 struct nhop_object *nh) in rib6_set_nh_pfxflags()
110 rib6_augment_nh(u_int fibnum, struct nhop_object *nh) in rib6_augment_nh()
H A Dip6_forward.c95 struct nhop_object *nh = NULL; in ip6_forward() local
H A Din6_src.c647 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-src/sys/netinet/
H A Din_fib.c115 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 Din_rmx.c54 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 Dip_fastfwd.c108 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 Dip_output.c288 rt_update_ro_flags(struct route *ro, const struct nhop_object *nh) in rt_update_ro_flags() argument
489 struct nhop_object *nh = ro->ro_nh; in ip_output() local
506 struct nhop_object *nh; ip_output() local
[all...]
/freebsd-src/contrib/tcpdump/
H A Dprint-ip6.c52 u_int nh; ip6_finddst() local
185 u_int nh; nextproto6_cksum() local
234 uint8_t ph, nh; ip6_print() local
[all...]
H A Dprint-ip-demux.c41 ip_demux_print(netdissect_options * ndo,const u_char * bp,u_int length,u_int ver,int fragmented,u_int ttl_hl,uint8_t nh,const u_char * iph) ip_demux_print() argument
/freebsd-src/sys/netlink/route/
H A Dnexthop.c176 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 in clone_unhop() local
287 struct nhop_object *nh; clone_unhop() local
436 dump_nhop(const struct nhop_object * nh,uint32_t uidx,struct nlmsghdr * hdr,struct nl_writer * nw) dump_nhop() argument
746 eligible_nhg(const struct nhop_object * nh) eligible_nhg() argument
799 nl_set_nexthop_gw(struct nhop_object * nh,struct sockaddr * gw,if_t ifp,struct nl_pstate * npt) nl_set_nexthop_gw() argument
822 struct nhop_object *nh; newnhop() local
1048 for (struct nhop_object *nh = nhops_iter_start(&iter); nh; rtnl_handle_getnhop() local
1067 for (struct nhop_object *nh = nhops_iter_start(&iter); nh; rtnl_handle_getnhop() local
[all...]
H A Drt.c55 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
699 finalize_nhop(struct nhop_object * nh,const struct sockaddr * dst,int * perror) finalize_nhop() argument
813 struct nhop_object *nh = nhop_alloc(attrs->rta_table, attrs->rtm_family); create_nexthop_one() local
839 struct nhop_object *nh = NULL; create_nexthop_from_attrs() local
928 struct nhop_object *nh = NULL; rtnl_handle_newroute() local
978 path_match_func(const struct rtentry * rt,const struct nhop_object * nh,void * _data) path_match_func() argument
[all...]
/freebsd-src/sys/net/
H A Droute.c208 struct nhop_object *nh = nhop_alloc(fibnum, dst->sa_family); rib_add_redirect() local
295 struct nhop_object *nh; ifa_ifwithroute() local
333 rt_ifdelroute(const struct rtentry * rt,const struct nhop_object * nh,void * arg) rt_ifdelroute() argument
658 rt_routemsg(int cmd,struct rtentry * rt,struct nhop_object * nh,int fibnum) rt_routemsg() argument
[all...]
H A Drtsock.c279 struct nhop_object *nh; report_route_event() local
486 rtm_get_jailed(struct rt_addrinfo * info,struct ifnet * ifp,struct nhop_object * nh,union sockaddr_union * saun,struct ucred * cred) rtm_get_jailed() argument
692 struct nhop_object *nh; fill_addrinfo() local
716 select_nhop(struct nhop_object * nh,const struct sockaddr * gw) select_nhop() argument
747 struct nhop_object *nh; handle_rtm_get() local
944 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
1043 struct nhop_object *nh; rts_send() local
1293 rt_getmetrics(const struct rtentry * rt,const struct nhop_object * nh,struct rt_metrics * out) rt_getmetrics() argument
2011 rtsock_routemsg(int cmd,struct rtentry * rt,struct nhop_object * nh,int fibnum) rtsock_routemsg() argument
2212 struct nhop_object *nh; sysctl_dumpentry() local
2241 sysctl_dumpnhop(struct rtentry * rt,struct nhop_object * nh,uint32_t weight,struct walkarg * w) sysctl_dumpnhop() argument
[all...]
/freebsd-src/contrib/ofed/libibverbs/
H A Dnl1_compat.h33 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-src/usr.bin/netstat/
H A Dnhops.c238 print_nhop_entry_sysctl(const char * name,struct rt_msghdr * rtm,struct nhop_external * nh) print_nhop_entry_sysctl() argument
343 struct nhop_external *nh; dump_nhops_sysctl() local
397 struct nhop_external *nh; print_nhops_sysctl() local
[all...]
H A Dnhgrp.c281 update_global_map(struct nhop_external * nh) update_global_map() argument
313 struct nhop_external *nh; prepare_nh_map() local
[all...]
/freebsd-src/contrib/llvm-project/libcxx/src/
H A Dnew.cpp36 std::new_handler nh = std::get_new_handler(); operator_new_impl() local
129 std::new_handler nh = std::get_new_handler(); operator_new_aligned_impl() local
/freebsd-src/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c623 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-src/sbin/route/
H A Droute_netlink.c475 struct rta_mpath_nh *nh, bool first) in print_nlmsg_route_nhop() argument
548 struct rta_mpath_nh *nh in print_nlmsg_route() local
556 struct rta_mpath_nh nh = { print_nlmsg_route() local
844 struct rta_mpath_nh *nh = r->rta_multipath.nhops[i]; flushroute_one() local
[all...]

1234