• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/net/route/

Lines Matching refs:nhop_object

80 static int dump_nhop_entry(struct rib_head *rh, struct nhop_object *nh, struct sysctl_req *w);
87 static struct ifnet *get_aifp(const struct nhop_object *nh, int reference);
93 static void print_nhop(const char *prefix, const struct nhop_object *nh);
95 _Static_assert(__offsetof(struct nhop_object, nh_ifp) == 32,
96 "nhop_object: wrong nh_ifp offset");
97 _Static_assert(sizeof(struct nhop_object) <= 128,
98 "nhop_object: size exceeds 128 bytes");
102 #define NHOP_OBJECT_ALIGNED_SIZE roundup2(sizeof(struct nhop_object), \
128 get_aifp(const struct nhop_object *nh, int reference)
177 set_nhop_mtu_from_info(struct nhop_object *nh, const struct rt_addrinfo *info)
215 set_nhop_gw_from_info(struct nhop_object *nh, struct rt_addrinfo *info)
282 struct nhop_object *nh;
319 struct nhop_object **nh_ret)
410 alter_nhop_from_info(struct nhop_object *nh, struct rt_addrinfo *info)
456 nhop_create_from_nhop(struct rib_head *rnh, const struct nhop_object *nh_orig,
457 struct rt_addrinfo *info, struct nhop_object **pnh)
460 struct nhop_object *nh;
501 struct nhop_object *nh;
504 nh = (struct nhop_object *)uma_zalloc(nhops_zone, M_NOWAIT | M_ZERO);
525 struct nhop_object *nh;
591 print_nhop(const char *prefix, const struct nhop_object *nh)
607 struct nhop_object *nh;
635 nhop_ref_object(struct nhop_object *nh)
644 nhop_try_ref_object(struct nhop_object *nh)
651 nhop_free(struct nhop_object *nh)
696 nhop_ref_any(struct nhop_object *nh)
709 nhop_free_any(struct nhop_object *nh)
725 nhop_get_idx(const struct nhop_object *nh)
732 nhop_get_type(const struct nhop_object *nh)
739 nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type)
746 nhop_get_rtflags(const struct nhop_object *nh)
753 nhop_set_rtflags(struct nhop_object *nh, int rt_flags)
760 nhop_get_vnet(const struct nhop_object *nh)
766 struct nhop_object *
767 nhop_select_func(struct nhop_object *nh, uint32_t flowid)
778 struct nhop_object *nh;
806 dump_nhop_entry(struct rib_head *rh, struct nhop_object *nh, struct sysctl_req *w)