Searched refs:next (Results 1 - 25 of 191) sorted by relevance

12345678

/vpp/src/vppinfra/
H A Ddlist.h30 u32 next; member in struct:__anon625
54 if (PREDICT_FALSE (head->next == ~0))
56 head->next = head->prev = new_index;
57 new->next = new->prev = head_index;
64 new->next = old_last->next;
66 old_last->next = new_index;
82 if (PREDICT_FALSE (head->next == ~0))
84 head->next = head->prev = new_index;
85 new->next
[all...]
H A Dring.h26 u32 next, n_enq; member in struct:__anon16
48 h->next = 0;
78 slot = h->next;
80 h->next++;
81 if (h->next == _vec_len (v))
82 h->next = 0;
88 slot = h->next == 0 ? _vec_len (v) - 1 : h->next - 1;
109 if (h->n_enq > h->next)
110 slot = _vec_len (v) + h->next
[all...]
H A Dtest_pool_iterate.c30 uword next; local
72 next = ~0;
75 next = pool_next_index (tp, next);
76 fformat (stdout, "next index %d\n", next);
78 while (next != ~0);
H A Dvalloc.c60 index = ch->next;
77 new_ch->next = index;
83 new_ch->next = new_ch->prev = ~0;
99 index = ch->next;
109 new_ch->next = ~0;
111 ch->next = new_ch - vam->chunks;
184 new_ch->next = new_ch->prev = ~0;
190 new_ch->next = ch->next;
193 if (ch->next !
[all...]
H A Dtest_dlist.c52 elt_index = head->next;
59 elt_index = elt->next;
85 elt_index = head->next;
92 elt_index = elt->next;
113 elt_index = head->next;
120 elt_index = elt->next;
144 elt_index = head->next;
151 elt_index = elt->next;
H A Dgraph.c38 l = graph_dir_get_link_to_node (&src_node->next, dst);
53 li_next = graph_dir_add_link (&src_node->next, dst, distance);
56 l = vec_elt_at_index (src_node->next.links, li_next);
74 graph_dir_del_link (&src_node->next, dst);
75 graph_dir_del_link (&dst_node->next, src);
88 vec_foreach (l, src_node->next.links)
97 graph_dir_del_link (&n->next, src);
100 graph_dir_free (&src_node->next);
166 vec_foreach (l, n->next.links)
/vpp/src/plugins/unittest/
H A Dllist_test.c46 (E->name.next == (N) - pl \
48 && P->name.next == (E) - pl \
60 LLIST_TEST (0, "invalid elt %u prev %u/%u next %u/%u", e - pl, \
62 e->name.next, clib_llist_next (pl,name,e) - pl); \
69 list_elt_t *pelts = 0, *he, *he2, *he3, *e, *next, *nnext; local
89 LLIST_TEST (he->ll_test.next == head, "head next points to itself");
104 LLIST_TEST (e->ll_test.next == head, "next should be head");
107 LLIST_TEST (he->ll_test.next
[all...]
H A Dmpcap_node.c46 s = format (s, "MPCAP: sw_if_index %d, next index %d\n",
87 u16 nexts[VLIB_FRAME_SIZE], *next; local
108 next = nexts;
112 /* Prefetch next iteration. */
125 next[0] = 0;
126 next[1] = 0;
127 next[2] = 0;
128 next[3] = 0;
152 t->next_index = next[0];
158 t->next_index = next[
[all...]
/vpp/src/plugins/dpdk/ipsec/
H A Dcrypto_node.c65 s = format (s, "cryptodev-id %d next-index %d", t->dev_id, t->next_index);
72 struct rte_crypto_op *op0, u16 * next)
76 next[0] = DPDK_CRYPTO_INPUT_NEXT_DROP;
101 u16 next; local
105 next = nexts[0];
109 vlib_trace_buffer (vm, node, next, b0, /* follow_chain */ 0);
114 tr->next_index = next;
132 u16 nexts[VLIB_FRAME_SIZE], *next; local
138 next = nexts;
152 /* Prefetch next iteratio
71 dpdk_crypto_input_check_op(vlib_main_t * vm, vlib_node_runtime_t * node, struct rte_crypto_op *op0, u16 * next) argument
[all...]
/vpp/src/plugins/dhcp/
H A Ddhcp6_ia_na_client_dp.h47 u8 keep_sending_client_message; /* when true then next fields are valid */
137 _vnet_dhcp6_reply_event_function_list_elt_t *next; \
144 next = nm->functions; \
145 while (next->next_dhcp6_reply_event_function) \
147 if (next->next_dhcp6_reply_event_function->fp == (void *) &f) \
149 next->next_dhcp6_reply_event_function = \
150 next->next_dhcp6_reply_event_function->next_dhcp6_reply_event_function; \
153 next = next->next_dhcp6_reply_event_function; \
H A Ddhcp6_pd_client_dp.h47 u8 keep_sending_client_message; /* when true then next fields are valid */
144 _vnet_dhcp6_pd_reply_event_function_list_elt_t *next; \
151 next = nm->functions; \
152 while (next->next_dhcp6_pd_reply_event_function) \
154 if (next->next_dhcp6_pd_reply_event_function->fp == (void *) &f) \
156 next->next_dhcp6_pd_reply_event_function = \
157 next->next_dhcp6_pd_reply_event_function->next_dhcp6_pd_reply_event_function; \
160 next = next->next_dhcp6_pd_reply_event_function; \
/vpp/src/plugins/avf/
H A Doutput.c37 u16 next = txq->next; local
43 avf_tx_desc_t *d = txq->descs + next;
48 n_desc_left = txq->size - clib_max (txq->next, txq->n_enqueued + 8);
75 vlib_buffer_copy_indices (txq->bufs + next, buffers, 4);
97 next += 4;
106 txq->bufs[next] = buffers[0];
150 next += 1;
155 txq->bufs[next] = b[0]->next_buffer;
167 next
[all...]
/vpp/src/vnet/fib/
H A Dfib_node_list.c17 * Since we cannot use C pointers, due to memeory reallocs, the next/prev
39 * The next element in the list
161 fib_node_list_elt_t *elt, *next; local
172 next = fib_node_list_elt_get(head->fnlh_head);
173 next->fnle_prev = fib_node_list_elt_get_index(elt);
196 fib_node_list_elt_t *next, *prev; local
200 next = fib_node_list_elt_get(elt->fnle_next);
201 next->fnle_prev = elt->fnle_prev;
221 fib_node_list_elt_t *next; local
226 next
266 fib_node_list_elt_t *elt, *next; local
294 fib_node_list_elt_t *elt, *next; local
[all...]
/vpp/src/plugins/ct6/
H A Dct6_out2in.c40 s = format (s, "CT6_OUT2IN: sw_if_index %d, next index %d session %d\n",
83 u16 nexts[VLIB_FRAME_SIZE], *next; local
94 next = nexts;
99 /* Prefetch next iteration. */
113 next[0] = 0;
114 next[1] = 0;
115 next[2] = 0;
116 next[3] = 0;
123 t->next_index = next[0];
129 t->next_index = next[
[all...]
H A Dct6_in2out.c40 s = format (s, "CT6_IN2OUT: sw_if_index %d, next index %d session %d\n",
145 u16 nexts[VLIB_FRAME_SIZE], *next; local
157 next = nexts;
162 /* Prefetch next iteration. */
176 next[0] = 0;
177 next[1] = 0;
178 next[2] = 0;
179 next[3] = 0;
186 t->next_index = next[0];
192 t->next_index = next[
[all...]
/vpp/src/vnet/tcp/
H A Dtcp_bt.c34 return bt_get_sample (bt, bts->next);
63 bts->next = bts->prev = TCP_BTS_INVALID_INDEX;
77 prev->next = bts->next;
80 bt->head = bts->next;
82 if (bts->next != TCP_BTS_INVALID_INDEX)
84 tcp_bt_sample_t *next = bt_next_sample (bt, bts); local
85 next->prev = bts->prev;
99 tcp_bt_sample_t *ns, *next; local
113 next
198 tcp_bt_sample_t *cur, *next; local
340 tcp_bt_sample_t *bts, *next, *cur, *prev, *nbts; local
495 tcp_bt_sample_t *next, *cur; local
515 tcp_bt_sample_t *cur, *prev, *next; local
[all...]
/vpp/src/vnet/ip/
H A Dip4_input.c69 u32 next; local
76 next = IP4_INPUT_NEXT_LOOKUP_MULTICAST;
81 next = IP4_INPUT_NEXT_LOOKUP;
86 vnet_feature_arc_start (arc, sw_if_index, &next, b);
88 return next;
134 u16 nexts[VLIB_FRAME_SIZE], *next; local
153 next = nexts;
159 /* Prefetch next iteration. */
195 next[0] = ip4_input_set_next (sw_if_index[0], b[0], 1);
196 next[
[all...]
H A Dip6_forward.h61 ip_lookup_next_t next; local
66 next = node->cached_next_index;
70 vlib_get_next_frame (vm, node, next, to_next, n_left_to_next);
83 /* Prefetch next iteration. */
182 wrong_next = (next0 != next) + 2 * (next1 != next);
211 vlib_put_next_frame (vm, node, next, n_left_to_next);
212 next = next1;
213 vlib_get_next_frame (vm, node, next, to_next,
285 if (PREDICT_FALSE (next0 != next))
[all...]
H A Dip4_options.c55 ip4_options_next_t next; local
70 next = IP4_OPTIONS_NEXT_PUNT;
85 next = IP4_OPTIONS_NEXT_LOCAL;
100 n_left_to_next, bi, next);
/vpp/src/vnet/ipsec/
H A Dah_decrypt.c145 u16 nexts[VLIB_FRAME_SIZE], *next = nexts; local
190 next[0] = AH_DECRYPT_NEXT_HANDOFF;
191 goto next;
213 next[0] = AH_DECRYPT_NEXT_DROP;
214 goto next;
226 next[0] = AH_DECRYPT_NEXT_DROP;
227 goto next;
242 next[0] = AH_DECRYPT_NEXT_DROP;
243 goto next;
291 next
[all...]
/vpp/src/vnet/l2/
H A Dl2_output.c126 vlib_buffer_t * b, u16 * next)
130 next[0] = L2OUTPUT_NEXT_DROP;
137 vlib_buffer_t ** b, i16 * cdo, u16 * next,
175 next[i] = L2OUTPUT_NEXT_DROP;
190 next[i] = L2OUTPUT_NEXT_DROP;
197 split_horizon_violation (node, config->shg, b[0], next);
198 split_horizon_violation (node, config->shg, b[1], next + 1);
199 split_horizon_violation (node, config->shg, b[2], next + 2);
200 split_horizon_violation (node, config->shg, b[3], next + 3);
202 /* next */
125 split_horizon_violation(vlib_node_runtime_t * node, u8 shg, vlib_buffer_t * b, u16 * next) argument
135 l2output_process_batch_inline(vlib_main_t * vm, vlib_node_runtime_t * node, l2_output_config_t * config, vlib_buffer_t ** b, i16 * cdo, u16 * next, u32 n_left, int l2_efp, int l2_vtr, int l2_pbb, int shg_set, int update_feature_bitmap) argument
267 l2output_process_batch(vlib_main_t * vm, vlib_node_runtime_t * node, l2_output_config_t * config, vlib_buffer_t ** b, i16 * cdo, u16 * next, u32 n_left, int l2_efp, int l2_vtr, int l2_pbb) argument
351 u16 count, new_next, *next; local
609 u32 next = vlib_node_add_next (vlib_main, l2output_node.index, local
[all...]
/vpp/src/plugins/igmp/
H A Digmp_input.c75 s = format (s, "sw_if_index %u next-index %u",
89 s = format (s, "sw_if_index %u next-index %u",
103 s = format (s, "sw_if_index %u next-input %u len %u",
141 u32 bi, next; local
143 next = IGMP_INPUT_NEXT_DROP;
157 next = IGMP_INPUT_NEXT_DROP;
175 next = IGMP_INPUT_NEXT_DROP;
181 next = IGMP_INPUT_NEXT_DROP;
189 next = IGMP_INPUT_NEXT_PARSE_QUERY;
192 next
265 u32 bi, next, len; local
372 u32 bi, next, len; local
[all...]
/vpp/src/plugins/vmxnet3/
H A Dinput.c69 comp_ring->next++;
70 if (PREDICT_FALSE (comp_ring->next == rxq->size))
72 comp_ring->next = 0;
212 u16 nexts[VLIB_FRAME_SIZE], *next; local
226 next = nexts;
227 rx_comp = &rxq->rx_comp[comp_ring->next];
286 goto next;
340 goto next;
362 goto next;
384 next[
[all...]
/vpp/src/plugins/urpf/
H A Durpf_dp.h97 u16 nexts[VLIB_FRAME_SIZE], *next; local
103 next = nexts;
114 /* Prefetch next iteration. */
213 vnet_feature_next_u16 (&next[0], b[0]);
216 next[0] = URPF_NEXT_DROP;
220 vnet_feature_next_u16 (&next[1], b[1]);
223 next[1] = URPF_NEXT_DROP;
243 next += 2;
306 vnet_feature_next_u16 (&next[0], b[0]);
309 next[
[all...]
/vpp/src/examples/handoffdemo/
H A Dnode.c78 u16 nexts[VLIB_FRAME_SIZE], *next; local
86 next = nexts;
105 next += 1;
130 next = nexts;
142 next[0] = HANDOFFDEMO_NEXT_DROP;
144 next++;

Completed in 18 milliseconds

12345678