Searched refs:nh_idx (Results 1 - 13 of 13) sorted by relevance
/freebsd-13-stable/sys/net/route/ |
H A D | nhop_var.h | 83 uint32_t nh_idx; /* nexthop index */ member in struct:nhop_priv 94 #define NH_PRIV_END_CMP (__offsetof(struct nhop_priv, nh_idx))
|
H A D | nhop.c | 157 DPRINTF("Marking nhop %u unlinked", nh_priv->nh_idx); 292 KASSERT((nh_priv->nh_idx == 0), ("nhop index is already allocated")); 311 nh_priv->nh_idx = idx; 343 idx = priv_ret->nh_idx; 344 priv_ret->nh_idx = 0;
|
H A D | nhop.h | 190 uint32_t nh_idx; /* Nexthop index */ member in struct:nhop_external 225 uint32_t nh_idx; member in struct:nhgrp_nhop_external
|
H A D | route_helpers.c | 299 nh_idx_old = wn_old[idx_old].nh->nh_priv->nh_idx; 300 nh_idx_new = wn_new[idx_new].nh->nh_priv->nh_idx; 322 (wn_old[idx_old + 1].nh->nh_priv->nh_idx > nh_idx_new)) { 343 (wn_new[idx_new + 1].nh->nh_priv->nh_idx > nh_idx_old)) {
|
H A D | nhgrp_ctl.c | 454 if (wn[i].nh->nh_priv->nh_idx == last_id) { 458 last_id = wn[i].nh->nh_priv->nh_idx; 745 ext[i].nh_idx = nhg_priv->nhg_nh_weights[i].nh->nh_priv->nh_idx; 759 ext[i].nh_idx = nhg->nhops[i]->nh_priv->nh_idx;
|
H A D | fib_algo.c | 183 struct nhop_object **nh_idx; /* nhop idx->ptr array */ member in struct:fib_data 1107 if ((fd->nh_idx != NULL) && (fd->nh_ref_table != NULL)) { 1111 i, fd->nh_idx[i]); 1112 nhop_free_any(fd->nh_idx[i]); 1115 free(fd->nh_idx, M_RTABLE); 1187 fd->nh_idx = malloc(size, M_RTABLE, M_NOWAIT | M_ZERO); 1188 if (fd->nh_idx == NULL) { 1759 return (fd->nh_idx); 1801 fd->nh_idx[idx] = nh; 1803 FD_PRINTF(LOG_DEBUG2, fd, " REF nhop %u %p", idx, fd->nh_idx[id [all...] |
H A D | nhop_ctl.c | 728 return (nh->nh_priv->nh_idx); 832 pnhe->nh_idx = nh->nh_priv->nh_idx;
|
/freebsd-13-stable/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm6.h | 27 struct nhop_object **nh_idx; /**< # -> idx mappings */ member in struct:rte_lpm6_external
|
H A D | dpdk_lpm.c | 92 return (rte_ext->nh_idx[nhidx]); 95 return (rte_ext->nh_idx[rte_ext->default_idx]); 352 ext->nh_idx = fib_get_nhop_array(dd->fd);
|
H A D | dpdk_lpm6.c | 110 return (rte_ext->nh_idx[nhidx]); 114 return (rte_ext->nh_idx[rte_ext->default_idx]); 416 ext->nh_idx = fib_get_nhop_array(dd->fd);
|
H A D | rte_lpm.h | 125 struct nhop_object **nh_idx; /**< # -> idx mappings */ member in struct:rte_lpm_external
|
/freebsd-13-stable/usr.bin/netstat/ |
H A D | nhgrp.c | 159 if (ext_dp[sidx].nh_idx == ext_cp[i].nh_idx) 165 xo_emit("{t:nh-index/%*lu}", wid_nhidx, ext_cp[i].nh_idx); 168 ne = nhop_get(&global_nhop_map, ext_cp[i].nh_idx); 308 nhop_map_update(&global_nhop_map, nh->nh_idx, gw_addr, iface_name);
|
H A D | nhops.c | 254 //xo_emit("{t:index/%-lu} ", wid_nhidx, nh->nh_idx); 255 xo_emit(buffer, nh->nh_idx); 284 nhop_map_update(&global_nhop_map, nh->nh_idx, gw_addr, iface_name); 383 nh_map[nh_count].idx = nh->nh_idx;
|
Completed in 199 milliseconds