Searched refs:index (Results 1 - 25 of 574) sorted by relevance

1234567891011>>

/vpp/src/vnet/bier/
H A Dbier_bit_string.h56 u16 index; local
58 for (index = 0;
59 index < BIER_BBS_NUM_INT_BUCKETS(src);
60 index++) {
61 if (((int*)src->bbs_buckets)[index] != 0) {
72 u16 index; local
76 for (index = 0;
77 index < BIER_BBS_NUM_INT_BUCKETS(src);
78 index++) {
79 ((int*)dest->bbs_buckets)[index]
87 u16 index; local
[all...]
H A Dbier_bit_string.c84 u16 index; local
91 for (index = 0; index < (bs->bbs_len/4); index++) {
92 if (!ptr[index]) {
104 string = format(string, "%s%X", index ? ":" : "",
105 clib_net_to_host_u32(ptr[index]));
H A Dbier_fmask_db.c112 u32 index; local
124 index = bier_fmask_create_and_lock(&fmid, rpath);
125 bfm = bier_fmask_get(index);
126 hash_set_mem(bier_fmask_db.bfdb_hash, bfm->bfm_id, index);
130 index = p[0];
131 bier_fmask_lock(index);
134 return (index);
/vpp/src/vlib/
H A Dcounter.h61 u32 last_incremental_serialize_index; /**< Last counter index
73 @param thread_index - (u32) the current cpu index
74 @param index - (u32) index of the counter to increment
79 u32 thread_index, u32 index, u64 increment)
84 my_counters[index] += increment;
89 @param thread_index - (u32) the current cpu index
90 @param index - (u32) index of the counter to increment
95 u32 thread_index, u32 index, u6
78 vlib_increment_simple_counter(vlib_simple_counter_main_t * cm, u32 thread_index, u32 index, u64 increment) argument
94 vlib_set_simple_counter(vlib_simple_counter_main_t * cm, u32 thread_index, u32 index, u64 value) argument
113 vlib_get_simple_counter(vlib_simple_counter_main_t * cm, u32 index) argument
[all...]
H A Dcounter.c79 vlib_validate_simple_counter (vlib_simple_counter_main_t * cm, u32 index) argument
87 vec_validate_aligned (cm->counters[i], index, CLIB_CACHE_LINE_BYTES);
89 vlib_stats_pop_heap (cm, oldheap, index,
108 vlib_validate_combined_counter (vlib_combined_counter_main_t * cm, u32 index) argument
116 vec_validate_aligned (cm->counters[i], index, CLIB_CACHE_LINE_BYTES);
118 vlib_stats_pop_heap (cm, oldheap, index,
124 (vlib_combined_counter_main_t * cm, u32 index)
133 vlib_stats_pop_heap (cm, oldheap, index,
140 /* Trivially OK, and proves that index >= vec_len(...) */
141 if (index < vec_le
123 vlib_validate_combined_counter_will_expand(vlib_combined_counter_main_t * cm, u32 index) argument
[all...]
H A Dphysmem.h47 int index; member in struct:__anon1
/vpp/src/plugins/gbp/
H A Dgbp_fwd_dpo.h49 gbp_fwd_dpo_get (index_t index) argument
51 return (pool_elt_at_index (gbp_fwd_dpo_pool, index));
H A Dgbp_classify.c33 node->index,
40 node->index,
47 node->index,
54 node->index,
/vpp/src/vlibmemory/
H A Dmemory_api.h28 svm_queue_t *vl_api_client_index_to_input_queue (u32 index);
42 vl_msg_api_handle_get_epoch (u32 index) argument
44 return (index & VL_API_EPOCH_MASK);
48 vl_msg_api_handle_get_index (u32 index) argument
50 return (index >> VL_API_EPOCH_SHIFT);
54 vl_msg_api_handle_from_index_and_epoch (u32 index, u32 epoch) argument
57 ASSERT (index < 0x00FFFFFF);
59 handle = (index << VL_API_EPOCH_SHIFT) | (epoch & VL_API_EPOCH_MASK);
/vpp/src/vppinfra/
H A Dvalloc.c37 u32 index; local
44 index = vam->first_index;
50 if (CLIB_DEBUG > 0 && index != ~0)
52 while (index != ~0)
54 ch = pool_elt_at_index (vam->chunks, index);
60 index = ch->next;
62 index = vam->first_index;
65 if (index != ~0)
66 ch = pool_elt_at_index (vam->chunks, index);
68 if (index
155 u32 index; local
231 u32 index; local
318 u32 index; local
[all...]
H A Dpmalloc.h37 u32 index; member in struct:__anon4
47 u32 index; member in struct:__anon5
82 /* hash used to find chunk index out of VA, chunk index is defined
133 uword index = (pointer_to_uword (va) - pointer_to_uword (pm->base)) >> local
136 ASSERT (index < vec_len (pm->pages));
138 return index;
144 u32 index = clib_pmalloc_get_page_index (pm, va); local
145 return pm->arenas + pm->pages[index].arena_index;
151 uword index local
[all...]
/vpp/src/vnet/dpo/
H A Dinterface_rx_dpo.h30 * The Software interface index that the packets will be given
64 interface_rx_dpo_get (index_t index) argument
66 return (pool_elt_at_index(interface_rx_dpo_pool, index));
H A Dl3_proxy_dpo.h36 * The Software interface index on which traffic is l3_proxyd
58 l3_proxy_dpo_get (index_t index) argument
60 return (pool_elt_at_index(l3_proxy_dpo_pool, index));
H A Ddvr_dpo.h42 * The Software interface index that the packets will output on
77 dvr_dpo_get (index_t index) argument
79 return (pool_elt_at_index(dvr_dpo_pool, index));
H A Dclassify_dpo.h54 classify_dpo_get (index_t index) argument
56 return (pool_elt_at_index(classify_dpo_pool, index));
H A Dreceive_dpo.h35 * The Software interface index on which traffic is received
65 receive_dpo_get (index_t index) argument
67 return (pool_elt_at_index(receive_dpo_pool, index));
H A Dpw_cw.h73 pw_cw_dpo_get (index_t index) argument
75 return (pool_elt_at_index(pw_cw_dpo_pool, index));
/vpp/src/plugins/nsh/
H A Dnsh.c216 nm->nsh_input_node_index = node->index;
219 nm->nsh_proxy_node_index = node->index;
222 nm->nsh_classifier_node_index = node->index;
227 vlib_node_add_next (vm, vxlan4_gpe_input_node.index,
229 vlib_node_add_next (vm, vxlan4_gpe_input_node.index,
231 vlib_node_add_next (vm, vxlan4_gpe_input_node.index,
232 nsh_aware_vnf_proxy_node.index);
235 vlib_node_add_next (vm, vxlan6_gpe_input_node.index,
237 vlib_node_add_next (vm, vxlan6_gpe_input_node.index,
239 vlib_node_add_next (vm, vxlan6_gpe_input_node.index,
[all...]
/vpp/src/vnet/ipfix-export/
H A Dflow_report_classify.h86 ipfix_classify_table_index_valid (u32 index) argument
89 return index < vec_len (fcm->tables) &&
90 fcm->tables[index].classify_table_index != ~0;
101 u32 index = vec_len (fcm->tables);
102 vec_validate (fcm->tables, index);
103 return &fcm->tables[index];
107 ipfix_classify_delete_table (u32 index) argument
110 ASSERT (index < vec_len (fcm->tables));
111 ASSERT (fcm->tables[index].classify_table_index != ~0);
112 fcm->tables[index]
[all...]
/vpp/src/plugins/ioam/encap/
H A Dip6_ioam_e2e.h47 u32 index; local
49 index = get_flow_data_from_flow_ctx(flow_ctx,
51 data = &ioam_e2e_main.e2e_data[index];
/vpp/src/vnet/util/
H A Drefcount.c31 u64 vlib_refcount_get(vlib_refcount_t *r, u32 index) argument
38 if (index < vec_len(r->per_cpu[thread_index].counters))
40 count += r->per_cpu[thread_index].counters[index];
/vpp/src/vnet/mfib/
H A Dmfib_entry_delegate.c22 u32 *index)
32 if (NULL != index)
33 *index = ii;
58 u32 index = ~0; local
60 fed = mfib_entry_delegate_find_i(mfib_entry, type, &index);
64 vec_del1(mfib_entry->fe_delegates, index);
20 mfib_entry_delegate_find_i(const mfib_entry_t *mfib_entry, mfib_entry_delegate_type_t type, u32 *index) argument
/vpp/src/plugins/abf/
H A Dabf_policy.h26 * This comprises the ACL index to match against and the forwarding
41 * ACL index to match
51 * Sibling index on the path-list
62 * Get an ABF object from its VPP index
64 extern abf_policy_t *abf_policy_get (index_t index);
70 * @return VPP's object index
102 typedef int (*abf_policy_walk_cb_t) (index_t index, void *ctx);
/vpp/src/vnet/unix/
H A Dgdb_funcs.c70 * @brief GDB callable function: pifi - call pool_is_free_index - is passed index free?
73 * @param *index - u32
79 pifi (void *p, u32 index) argument
81 return pool_is_free_index (p, index);
109 u32 index; local
115 for (index = first_nf_index; index < first_nf_index +
116 this_node_runtime->n_next_nodes; index++)
119 nf = vec_elt_at_index (vm->node_main.next_frames, index);
125 "%s next index
144 vlib_runtime_index_to_node_name(u32 index) argument
217 u32 i, index = 0; local
[all...]
/vpp/src/vnet/adj/
H A Dadj_internal.h50 return (ip4_rewrite_node.index);
52 return (ip6_rewrite_node.index);
54 return (mpls_output_node.index);
56 return (adj_l2_rewrite_node.index);
58 return (adj_nsh_rewrite_node.index);
98 * Get a pointer to an adjacency object from its index

Completed in 10 milliseconds

1234567891011>>