Home
last modified time | relevance | path

Searched refs:nhgrp_priv (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/net/route/
H A Dnhgrp_var.h46 struct nhgrp_priv { struct
55 struct nhgrp_priv *nhg_priv_next; argument
62 #define NHGRP_PRIV(_src) ((struct nhgrp_priv *)_NHGRP_PRIV(_src)) argument
63 #define NHGRP_PRIV_CONST(_src) ((const struct nhgrp_priv *)_NHGRP_PRIV(_src))
67 struct nhgrp_priv *find_nhgrp(struct nh_control *ctl, const struct nhgrp_priv *key);
68 int link_nhgrp(struct nh_control *ctl, struct nhgrp_priv *grp_priv);
69 struct nhgrp_priv *unlink_nhgrp(struct nh_control *ctl, struct nhgrp_priv *key);
H A Dnhgrp.c90 static int cmp_nhgrp(const struct nhgrp_priv *a, const struct nhgrp_priv *b);
91 static unsigned int hash_nhgrp(const struct nhgrp_priv *obj);
106 cmp_nhgrp(const struct nhgrp_priv *a, const struct nhgrp_priv *b) in cmp_nhgrp()
125 hash_nhgrp(const struct nhgrp_priv *obj) in hash_nhgrp()
137 struct nhgrp_priv *
138 find_nhgrp(struct nh_control *ctl, const struct nhgrp_priv *key) in find_nhgrp()
140 struct nhgrp_priv *priv_ret; in find_nhgrp()
156 link_nhgrp(struct nh_control *ctl, struct nhgrp_priv *grp_priv) in link_nhgrp()
189 struct nhgrp_priv *
190 unlink_nhgrp(struct nh_control *ctl, struct nhgrp_priv *key) in unlink_nhgrp()
[all …]
H A Dnhgrp_ctl.c80 static struct nhgrp_priv *get_nhgrp(struct nh_control *ctl,
82 static void destroy_nhgrp(struct nhgrp_priv *nhg_priv);
84 static void free_nhgrp_nhops(struct nhgrp_priv *nhg_priv);
220 sz += sizeof(struct nhgrp_priv); in get_nhgrp_alloc_size()
234 compile_nhgrp(struct nhgrp_priv *dst_priv, const struct weightened_nhop *x, in compile_nhgrp()
278 static struct nhgrp_priv *
283 struct nhgrp_priv *nhg_priv; in alloc_nhgrp()
326 struct nhgrp_priv *nhg_priv; in nhgrp_ref_object()
337 struct nhgrp_priv *nhg_priv; in nhgrp_free()
394 destroy_nhgrp_int(struct nhgrp_priv *nhg_priv) in destroy_nhgrp_int()
[all …]
H A Dnhop_var.h51 struct nhgrp_priv;
52 CHT_SLIST_DEFINE(nhgroups, struct nhgrp_priv);