Searched refs:next_index (Results 1 - 25 of 282) sorted by relevance

1234567891011>>

/vpp/src/vlib/
H A Dbuffer_node.h50 <code>next_index == next0 == next1</code>,
57 @param next_index speculated next index used for both packets
65 @return @c next_index -- speculative next index to be used for future packets
70 #define vlib_validate_buffer_enqueue_x2(vm,node,next_index,to_next,n_left_to_next,bi0,bi1,next0,next1) \
74 int enqueue_code = (next0 != next_index) + 2*(next1 != next_index); \
103 vlib_put_next_frame (vm, node, next_index, \
105 next_index = next1; \
106 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next); \
116 <code>next_index
258 u32 next_index; local
343 u16 next_index; local
459 vlib_buffer_enqueue_to_single_next(vlib_main_t * vm, vlib_node_runtime_t * node, u32 * buffers, u16 next_index, u32 count) argument
[all...]
H A Dpunt_node.c77 u32 * next_index,
116 vlib_validate_buffer_enqueue_x1 (vm, node, *next_index,
142 u32 * next_index,
183 next_index, n_left_to_next, to_next,
203 u32 n_left_from, *from, *to_next, next_index, thread_index; local
210 next_index = node->cached_next_index;
218 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
241 &next_index, &n_left_to_next,
244 &next_index, &n_left_to_next,
250 vlib_validate_buffer_enqueue_x2 (vm, node, next_index,
71 punt_replicate(vlib_main_t * vm, vlib_node_runtime_t * node, u32 thread_index, vlib_buffer_t * b0, u32 bi0, vlib_punt_reason_t pr0, u32 * next_index, u32 * n_left_to_next, u32 ** to_next, u32 * n_dispatched) argument
137 punt_dispatch_one(vlib_main_t * vm, vlib_node_runtime_t * node, vlib_combined_counter_main_t * cm, u32 thread_index, u32 bi0, u32 * next_index, u32 * n_left_to_next, u32 ** to_next, u32 * n_dispatched) argument
[all...]
/vpp/src/vnet/ip/
H A Dip4_options.c38 uword n_left_from, n_left_to_next, next_index; local
43 next_index = 0;
47 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
99 vlib_validate_buffer_enqueue_x1 (vm, node, next_index, to_next,
104 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
/vpp/src/vnet/llc/
H A Dnode.c78 u32 n_left_from, next_index, *from, *to_next; local
90 next_index = node->cached_next_index;
96 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
152 enqueue_code = (next0 != next_index) + 2 * (next1 != next_index);
181 vlib_put_next_frame (vm, node, next_index,
183 next_index = next1;
184 vlib_get_next_frame (vm, node, next_index, to_next,
221 if (PREDICT_FALSE (next0 != next_index))
224 vlib_put_next_frame (vm, node, next_index, n_left_to_nex
[all...]
/vpp/src/vnet/osi/
H A Dnode.c81 u32 n_left_from, next_index, *from, *to_next; local
93 next_index = node->cached_next_index;
99 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
149 enqueue_code = (next0 != next_index) + 2 * (next1 != next_index);
178 vlib_put_next_frame (vm, node, next_index,
180 next_index = next1;
181 vlib_get_next_frame (vm, node, next_index, to_next,
214 if (PREDICT_FALSE (next0 != next_index))
217 vlib_put_next_frame (vm, node, next_index, n_left_to_nex
[all...]
/vpp/src/vnet/l2tp/
H A Ddecap.c79 vnet_buffer (b)->l2t.next_index = L2T_DECAP_NEXT_NO_INTERCEPT;
102 vnet_buffer (b)->l2t.next_index = L2T_DECAP_NEXT_NO_INTERCEPT;
111 vnet_buffer (b)->l2t.next_index = L2T_DECAP_NEXT_L2_INPUT;
129 u32 next_index; local
133 if (vnet_buffer (b)->l2t.next_index != L2T_DECAP_NEXT_L2_INPUT)
135 next_index = vnet_buffer (b)->l2t.next_index;
164 next_index = L2T_DECAP_NEXT_NO_INTERCEPT;
174 next_index = L2T_DECAP_NEXT_DROP;
184 next_index
[all...]
/vpp/src/plugins/nat/dslite/
H A Ddslite_ce_encap.c35 dslite_ce_encap_next_t next_index; local
40 next_index = node->cached_next_index;
46 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
95 t->next_index = next0;
101 vlib_validate_buffer_enqueue_x1 (vm, node, next_index, to_next,
104 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
H A Ddslite_ce_decap.c36 dslite_ce_decap_next_t next_index; local
40 next_index = node->cached_next_index;
46 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
102 t->next_index = next0;
108 vlib_validate_buffer_enqueue_x1 (vm, node, next_index, to_next,
111 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
/vpp/src/vnet/snap/
H A Dnode.c75 u32 n_left_from, next_index, *from, *to_next; local
87 next_index = node->cached_next_index;
93 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
149 next0 = pi0 ? pi0->next_index : SNAP_INPUT_NEXT_DROP;
150 next1 = pi1 ? pi1->next_index : SNAP_INPUT_NEXT_DROP;
159 enqueue_code = (next0 != next_index) + 2 * (next1 != next_index);
188 vlib_put_next_frame (vm, node, next_index,
190 next_index = next1;
191 vlib_get_next_frame (vm, node, next_index, to_nex
[all...]
/vpp/src/vnet/bier/
H A Dbier_input.c47 u32 next_index; member in struct:bier_input_trace_t_
73 u32 n_left_from, next_index, * from, * to_next; local
81 next_index = node->cached_next_index;
87 vlib_get_next_frame (vm, node, next_index,
129 tr->next_index = next0;
133 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
138 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
155 t->next_index, t->bt_index);
H A Dbier_output.c59 u32 next_index; member in struct:bier_output_trace_t_
70 u32 n_left_from, next_index, * from, * to_next; local
80 next_index = node->cached_next_index;
86 vlib_get_next_frame (vm, node, next_index,
165 tr->next_index = next0;
170 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
175 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
192 t->next_index, t->bfm_index, t->bfm_label);
H A Dbier_disp_dispatch_node.c41 u32 n_left_from, next_index, * from, * to_next; local
46 next_index = node->cached_next_index;
52 vlib_get_next_frame(vm, node, next_index, to_next, n_left_to_next);
111 vlib_validate_buffer_enqueue_x1(vm, node, next_index, to_next,
114 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
H A Dbier_disp_lookup_node.c50 u32 n_left_from, next_index, * from, * to_next; local
55 next_index = node->cached_next_index;
61 vlib_get_next_frame(vm, node, next_index, to_next, n_left_to_next);
114 vlib_validate_buffer_enqueue_x1(vm, node, next_index, to_next,
117 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
/vpp/src/plugins/nsim/
H A Dnsim_input.c27 u32 next_index; member in struct:__anon4
39 s = format (s, "NSIM: tx at %.6f next_index %d", t->expired, t->next_index);
80 u32 next_index; local
93 next_index = node->cached_next_index;
100 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
117 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
136 t->next_index = next0;
145 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
/vpp/src/plugins/igmp/
H A Digmp_input.c62 u32 next_index; member in struct:__anon13
76 t->sw_if_index, t->next_index);
90 t->sw_if_index, t->next_index);
104 t->sw_if_index, t->next_index, t->len);
116 igmp_parse_query_next_t next_index; local
126 next_index = node->cached_next_index;
132 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
206 tr->next_index = next;
213 vlib_validate_buffer_enqueue_x1 (vm, node, next_index, to_next,
216 vlib_put_next_frame (vm, node, next_index, n_left_to_nex
249 igmp_parse_query_next_t next_index; local
353 igmp_input_next_t next_index; local
[all...]
/vpp/src/plugins/ioam/ip6/
H A Dioam_cache_node.c53 u32 next_index; member in struct:__anon17
66 t->flow_label, t->next_index);
98 cache_next_t next_index; local
103 next_index = node->cached_next_index;
109 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
162 t->next_index = next0;
166 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
171 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
203 u32 next_index; member in struct:__anon20
216 s = format (s, "IP6_ADD_FROM_CACHE_HBH: next index %d", t->next_index);
256 ip_lookup_next_t next_index; local
[all...]
/vpp/src/vnet/mpls/
H A Dmpls_input.c24 u32 next_index; member in struct:__anon115
50 #define _(a,b) if (t->next_index == MPLS_INPUT_NEXT_##a) next_name = b;
55 next_name, t->next_index,
75 u32 n_left_from, next_index, * from, * to_next; local
84 next_index = node->cached_next_index;
93 vlib_get_next_frame (vm, node, next_index,
165 tr->next_index = next0;
172 tr->next_index = next1;
176 vlib_validate_buffer_enqueue_x2 (vm, node, next_index,
216 tr->next_index
[all...]
/vpp/src/vnet/bonding/
H A Dnode.c141 u32 * next_index, vlib_error_t * error)
146 *next_index = BOND_INPUT_NEXT_DROP;
180 vnet_feature_next (next_index, b);
208 u32 next_index = 0; local
268 next[0] = next[1] = next[2] = next[3] = next_index;
269 if (next_index == BOND_INPUT_NEXT_DROP)
291 &bond_sw_if_index, b[0], &next_index, &error);
292 next[0] = next_index;
293 if (next_index == BOND_INPUT_NEXT_DROP)
300 &bond_sw_if_index, b[1], &next_index,
138 bond_update_next(vlib_main_t * vm, vlib_node_runtime_t * node, u32 * last_slave_sw_if_index, u32 slave_sw_if_index, u32 * bond_sw_if_index, vlib_buffer_t * b, u32 * next_index, vlib_error_t * error) argument
[all...]
/vpp/src/vnet/l2/
H A Dfeat_bitmap.c89 feat_bitmap_drop_next_t next_index; local
93 next_index = node->cached_next_index;
99 /* get space to enqueue frame to graph node "next_index" */
100 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
141 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
146 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
/vpp/src/plugins/gbp/
H A Dgbp_fwd_node.c59 u32 next_index; local
61 next_index = 0;
69 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
114 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
119 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
/vpp/src/vnet/qos/
H A Dqos_store_node.c51 u32 n_left_from, *from, *to_next, next_index; local
53 next_index = 0;
61 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
97 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
102 vlib_put_next_frame (vm, node, next_index, n_left_to_next);
/vpp/src/vnet/cop/
H A Dnode1.c19 u32 next_index; member in struct:__anon9
31 t->sw_if_index, t->next_index);
56 cop_feature_type_t next_index; local
61 next_index = node->cached_next_index;
67 vlib_get_next_frame (vm, node, next_index,
164 t->next_index = next0;
173 t->next_index = next1;
176 vlib_validate_buffer_enqueue_x2 (vm, node, next_index,
242 t->next_index = next0;
246 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
[all...]
H A Dip6_whitelist.c20 u32 next_index; member in struct:__anon1
32 t->sw_if_index, t->next_index);
57 cop_feature_type_t next_index; local
64 next_index = node->cached_next_index;
70 vlib_get_next_frame (vm, node, next_index,
173 t->next_index = next0;
182 t->next_index = next1;
186 vlib_validate_buffer_enqueue_x2 (vm, node, next_index,
248 t->next_index = next0;
252 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
[all...]
/vpp/src/vnet/lawful-intercept/
H A Dnode.c29 u32 next_index; member in struct:__anon30
40 s = format (s, "LI_HIT: next index %d", t->next_index);
74 li_hit_next_t next_index; local
81 next_index = node->cached_next_index;
99 vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
160 t->next_index = next0;
167 t->next_index = next1;
172 vlib_validate_buffer_enqueue_x2 (vm, node, next_index,
240 t->next_index = next0;
244 vlib_validate_buffer_enqueue_x1 (vm, node, next_index,
[all...]
/vpp/src/plugins/ct6/
H A Dct6.h52 u32 next_index; member in struct:__anon1
109 cmp->first_index[thread_index] = s0->next_index;
114 if (s0->next_index != ~0)
117 s0->next_index);
125 prev_sess->next_index = s0->next_index;
156 s0->next_index = cmp->first_index[thread_index];

Completed in 16 milliseconds

1234567891011>>