Lines Matching refs:family
224 int family;
251 family = dom->dom_family;
253 prnh = &new_rt_tables[i * (AF_MAX + 1) + family];
325 int family;
331 family = dom->dom_family;
333 rnh = rt_tables_get_rnh(i, family);
360 rt_tables_get_rnh_ptr(uint32_t table, sa_family_t family)
367 KASSERT(family < (AF_MAX + 1),
368 ("%s: fam out of bounds (%d < %d)", __func__, family, AF_MAX + 1));
373 prnh += table * (AF_MAX + 1) + family;
379 rt_tables_get_rnh(uint32_t table, sa_family_t family)
382 return (rt_tables_get_rnh_ptr(table, family));
386 rt_tables_get_rnh_safe(uint32_t table, sa_family_t family)
390 if (__predict_false(family >= (AF_MAX + 1)))
392 return (rt_tables_get_rnh_ptr(table, family));
396 rt_tables_get_gen(uint32_t table, sa_family_t family)
400 rnh = rt_tables_get_rnh_ptr(table, family);
401 KASSERT(rnh != NULL, ("%s: NULL rib_head pointer table %d family %d",
402 __func__, table, family));