Home
last modified time | relevance | path

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

1234

/f-stack/freebsd/net/route/
H A Dnhop_ctl.c280 struct nhop_object *nh; in fill_nhop_from_info() local
458 struct nhop_object *nh; in nhop_create_from_nhop() local
499 struct nhop_object *nh; in alloc_nhop_structure() local
523 struct nhop_object *nh; in finalize_nhop() local
605 struct nhop_object *nh; in destroy_nhop() local
633 nhop_ref_object(struct nhop_object *nh) in nhop_ref_object()
649 nhop_free(struct nhop_object *nh) in nhop_free()
694 nhop_ref_any(struct nhop_object *nh) in nhop_ref_any()
707 nhop_free_any(struct nhop_object *nh) in nhop_free_any()
723 nhop_get_idx(const struct nhop_object *nh) in nhop_get_idx()
[all …]
H A Droute_ctl.c134 struct nhop_object *nh = rt->rt_nhop; in destroy_rtentry() local
221 nhop_can_multipath(const struct nhop_object *nh) in nhop_can_multipath()
403 match_nhop_gw(const struct nhop_object *nh, const struct sockaddr *gw) in match_nhop_gw()
451 const struct nhop_object *nh) in check_info_match_nhop()
478 can_override_nhop(const struct rt_addrinfo *info, const struct nhop_object *nh) in can_override_nhop()
581 struct nhop_object *nh; in create_rtentry() local
656 struct nhop_object *nh; in add_route() local
774 struct nhop_object *nh; in rt_unlinkrte() local
968 struct nhop_object *nh, *nh_orig, *nh_new; in change_mpath_route() local
1027 struct nhop_object *nh, *nh_orig; in change_route() local
[all …]
H A Dfib_algo.c510 struct nhop_object *nh; in need_immediate_rebuild() local
695 struct nhop_object *nh = rt_get_raw_nhop(rt); in sync_algo_cb() local
1399 get_nhop_idx(struct nhop_object *nh) in get_nhop_idx()
1412 fib_get_nhop_idx(struct fib_data *fd, struct nhop_object *nh) in fib_get_nhop_idx()
1426 fib_ref_nhop(struct fib_data *fd, struct nhop_object *nh) in fib_ref_nhop()
1447 struct nhop_object *nh; member
1469 fib_schedule_release_nhop(struct fib_data *fd, struct nhop_object *nh) in fib_schedule_release_nhop()
1487 fib_unref_nhop(struct fib_data *fd, struct nhop_object *nh) in fib_unref_nhop()
H A Droute_temporal.c56 expire_route(const struct rtentry *rt, const struct nhop_object *nh, void *arg) in expire_route()
/f-stack/dpdk/drivers/net/tap/
H A Dtap_netlink.c118 tap_nl_send(int nlsk_fd, struct nlmsghdr *nh) in tap_nl_send()
140 tap_nl_attr_first(const struct nlmsghdr *nh, size_t offset) in tap_nl_attr_first()
167 tap_nl_dump_ext_ack(const struct nlmsghdr *nh, const struct nlmsgerr *err) in tap_nl_dump_ext_ack()
203 #define tap_nl_dump_ext_ack(nh, err) do { } while (0) argument
244 struct nlmsghdr *nh; in tap_nl_recv() local
295 tap_nlattr_add(struct nlmsghdr *nh, unsigned short type, in tap_nlattr_add()
319 tap_nlattr_add8(struct nlmsghdr *nh, unsigned short type, uint8_t data) in tap_nlattr_add8()
335 tap_nlattr_add16(struct nlmsghdr *nh, unsigned short type, uint16_t data) in tap_nlattr_add16()
351 tap_nlattr_add32(struct nlmsghdr *nh, unsigned short type, uint32_t data) in tap_nlattr_add32()
H A Dtap_netlink.h20 struct nlmsghdr nh; member
/f-stack/freebsd/netinet/
H A Din_fib.c116 struct nhop_object *nh; in fib4_lookup() local
141 struct nhop_object *nh; in fib4_lookup() local
176 check_urpf_nhop(const struct nhop_object *nh, uint32_t flags, in check_urpf_nhop()
194 check_urpf(struct nhop_object *nh, uint32_t flags, in check_urpf()
219 struct nhop_object *nh; in lookup_nhop() local
256 struct nhop_object *nh; in fib4_check_urpf() local
325 struct nhop_object *nh = nhop_select(rnd.rnd_nhop, 0); in fib4_lookup_debugnet() local
H A Dip_fastfwd.c117 ip_redir_alloc(struct mbuf *m, struct nhop_object *nh, in ip_redir_alloc()
159 struct nhop_object *nh; in ip_findroute() local
201 struct nhop_object *nh = NULL; in ip_tryforward() local
H A Din_rmx.c56 struct nhop_object *nh) in rib4_preadd()
156 in_ifadownkill(const struct rtentry *rt, const struct nhop_object *nh, in in_ifadownkill()
/f-stack/freebsd/netinet6/
H A Din6_fib.c124 struct nhop_object *nh; in fib6_lookup() local
149 struct nhop_object *nh; in fib6_lookup() local
185 check_urpf_nhop(const struct nhop_object *nh, uint32_t flags, in check_urpf_nhop()
203 check_urpf(struct nhop_object *nh, uint32_t flags, in check_urpf()
229 struct nhop_object *nh; in lookup_nhop() local
270 struct nhop_object *nh; in fib6_check_urpf() local
340 struct nhop_object *nh = nhop_select(rnd.rnd_nhop, 0); in fib6_lookup_debugnet() local
H A Dip6_fastfwd.c62 struct nhop_object *nh; in ip6_findroute() local
95 struct nhop_object *nh; in ip6_tryforward() local
H A Din6_rmx.c103 struct nhop_object *nh) in rib6_preadd()
H A Dip6_forward.c96 struct nhop_object *nh = NULL; in ip6_forward() local
/f-stack/freebsd/net/
H A Droute.c298 struct nhop_object *nh; in ifa_ifwithroute() local
334 rt_exportinfo(struct rtentry *rt, struct nhop_object *nh, in rt_exportinfo()
426 struct nhop_object *nh; in rib_lookup_info() local
481 rt_ifdelroute(const struct rtentry *rt, const struct nhop_object *nh, void *arg) in rt_ifdelroute()
719 rt_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh, in rt_routemsg()
H A Drtsock.c461 struct nhop_object *nh, union sockaddr_union *saun, struct ucred *cred) in rtm_get_jailed()
702 select_nhop(struct nhop_object *nh, const struct sockaddr *gw) in select_nhop()
733 struct nhop_object *nh; in handle_rtm_get() local
891 int alloc_len, struct rib_cmd_info *rc, struct nhop_object *nh) in update_rtm_from_rc()
1003 struct nhop_object *nh; in route_output() local
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()
2119 struct nhop_object *nh; in sysctl_dumpentry() local
2147 sysctl_dumpnhop(struct rtentry *rt, struct nhop_object *nh, uint32_t weight, in sysctl_dumpnhop()
/f-stack/dpdk/lib/librte_ring/
H A Drte_ring_rts_c11_mem.h75 union __rte_ring_rts_poscnt nh, oh; in __rte_ring_rts_move_prod_head() local
133 union __rte_ring_rts_poscnt nh, oh; in __rte_ring_rts_move_cons_head() local
/f-stack/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_nl.c242 mlx5_nl_request(int nlsk_fd, struct nlmsghdr *nh, uint32_t sn, void *req, in mlx5_nl_request()
285 mlx5_nl_send(int nlsk_fd, struct nlmsghdr *nh, uint32_t sn) in mlx5_nl_send()
353 struct nlmsghdr *nh; in mlx5_nl_recv() local
412 mlx5_nl_mac_addr_cb(struct nlmsghdr *nh, void *arg) in mlx5_nl_mac_addr_cb()
915 mlx5_nl_cmdget_cb(struct nlmsghdr *nh, void *arg) in mlx5_nl_cmdget_cb()
1001 struct nlmsghdr nh; in mlx5_nl_ifindex() member
1169 mlx5_nl_switch_info_cb(struct nlmsghdr *nh, void *arg) in mlx5_nl_switch_info_cb()
1239 struct nlmsghdr nh; in mlx5_nl_switch_info() member
1291 struct nlmsghdr nh; in mlx5_nl_vlan_vmwa_delete() member
1436 mlx5_nl_family_id_cb(struct nlmsghdr *nh, void *arg) in mlx5_nl_family_id_cb()
[all …]
/f-stack/lib/
H A Dff_route.c350 struct nhop_object *nh, union sockaddr_union *saun, struct ucred *cred) in rtm_get_jailed()
604 select_nhop(struct nhop_object *nh, const struct sockaddr *gw) in select_nhop()
635 struct nhop_object *nh; in handle_rtm_get() local
865 rt_getmetrics(const struct rtentry *rt, const struct nhop_object *nh, in rt_getmetrics()
936 int alloc_len, struct rib_cmd_info *rc, struct nhop_object *nh, unsigned maxlen) in update_rtm_from_rc()
1047 struct nhop_object *nh; in ff_rtioctl() local
/f-stack/tools/netstat/
H A Dnhops.c247 print_nhop_entry_sysctl(const char *name, struct rt_msghdr *rtm, struct nhop_external *nh) in print_nhop_entry_sysctl()
350 struct nhop_external *nh; in dump_nhops_sysctl() local
404 struct nhop_external *nh; in print_nhops_sysctl() local
H A Dnhgrp.c283 update_global_map(struct nhop_external *nh) in update_global_map()
315 struct nhop_external *nh; in prepare_nh_map() local
/f-stack/dpdk/lib/librte_node/
H A Dip4_rewrite.c42 struct ip4_rewrite_nh_header *nh = ip4_rewrite_nm->nh; in ip4_rewrite_node_process() local
303 struct ip4_rewrite_nh_header *nh; in rte_node_ip4_rewrite_add() local
H A Dip4_rewrite_priv.h45 struct ip4_rewrite_nh_header nh[RTE_GRAPH_IP4_REWRITE_MAX_NH]; member
/f-stack/dpdk/lib/librte_rib/
H A Drte_rib.c39 uint64_t nh; member
373 rte_rib_get_nh(const struct rte_rib_node *node, uint64_t *nh) in rte_rib_get_nh()
384 rte_rib_set_nh(struct rte_rib_node *node, uint64_t nh) in rte_rib_set_nh()
H A Drte_rib6.c35 uint64_t nh; member
431 rte_rib6_get_nh(const struct rte_rib6_node *node, uint64_t *nh) in rte_rib6_get_nh()
442 rte_rib6_set_nh(struct rte_rib6_node *node, uint64_t nh) in rte_rib6_set_nh()
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c624 struct nhop_object *nh; in nat64_find_route6() local
776 struct nhop_object *nh; in nat64_find_route4() local
1232 struct nhop_object *nh; in nat64_do_handle_ip4() local
1567 struct nhop_object *nh; in nat64_do_handle_ip6() local

1234