Searched refs:count (Results 1 - 25 of 168) sorted by relevance

1234567

/vpp/src/plugins/acl/
H A Dmanual_fns.h34 vl_api_acl_rule_t_array_endian(vl_api_acl_rule_t *rules, u32 count) argument
37 for(i=0; i<count; i++) {
43 vl_api_macip_acl_rule_t_array_endian(vl_api_macip_acl_rule_t *rules, u32 count) argument
46 for(i=0; i<count; i++) {
58 a->count = clib_net_to_host_u32 (a->count);
59 vl_api_acl_rule_t_array_endian (a->r, a->count);
69 a->count = clib_net_to_host_u32 (a->count);
70 vl_api_macip_acl_rule_t_array_endian (a->r, a->count);
185 u32 count = clib_net_to_host_u32 (a->count); local
228 u32 count = clib_net_to_host_u32 (a->count); local
257 u32 count = clib_net_to_host_u32 (a->count); local
284 u32 count = clib_net_to_host_u32 (a->count); local
314 u32 count = clib_net_to_host_u32 (a->count); local
[all...]
/vpp/src/vppinfra/
H A Dstring.h295 clib_memset_u64 (void *p, u64 val, uword count) argument
300 while (count >= 8)
304 count -= 8;
306 if (count == 0)
311 while (count >= 4)
315 count -= 4;
317 if (count == 0)
320 while (count >= 4)
324 count -= 4;
327 while (count
332 clib_memset_u32(void *p, u32 val, uword count) argument
378 clib_memset_u16(void *p, u16 val, uword count) argument
424 clib_memset_u8(void *p, u8 val, uword count) argument
472 uword count; local
522 uword count; local
590 uword count; local
658 uword count; local
[all...]
/vpp/extras/vom/vom/
H A Dstat_reader.cpp88 counter_t count; local
91 count.packets += data[k][i];
96 itf->set(count, name);
109 counter_t count; local
112 count.packets += data[k][i].packets;
113 count.bytes += data[k][i].bytes;
118 itf->set(count, name);
/vpp/src/vnet/util/
H A Drefcount.c33 u64 count = 0; local
40 count += r->per_cpu[thread_index].counters[index];
44 return count;
/vpp/src/vnet/lisp-cp/
H A Dgid_dictionary.h62 u32 count; member in struct:__anon93
78 u64 count; member in struct:__anon94
88 u64 count; member in struct:gid_mac_table
98 u64 count; member in struct:gid_nsh_table
106 u64 count; member in struct:__anon95
/vpp/test/
H A Dtemplate_ipsec.py227 def gen_encrypt_pkts(self, p, sa, sw_intf, src, dst, count=1,
232 for i in range(count)]
234 def gen_encrypt_pkts6(self, p, sa, sw_intf, src, dst, count=1,
240 for i in range(count)]
242 def gen_pkts(self, sw_intf, src, dst, count=1, payload_size=54):
245 for i in range(count)]
247 def gen_pkts6(self, sw_intf, src, dst, count=1, payload_size=54):
251 for i in range(count)]
559 def verify_tra_basic4(self, count=1, payload_size=54):
568 count
[all...]
H A Dtest_l2xc_multi_instance.py136 def create_hosts(cls, count):
141 :param int count: Number of hosts to create MAC/IPv4 addresses for.
144 macs_per_if = count // n_int
149 end_nr = count if i == (n_int - 1) else macs_per_if * (i + 1)
157 def create_xconnects(self, count, start=0):
162 :param int count: Number of cross-connects to be created.
166 for i in range(count):
174 if self.pg_in_xc.count(rx_if) == 0:
176 if self.pg_not_in_xc.count(rx_if) == 1:
179 def delete_xconnects(self, count, star
[all...]
H A Dtest_ping.py99 count = 0
113 count = count + 1
114 if count >= 3:
116 count = 0
/vpp/doxygen/siphon/
H A Dgenerate.py82 count open and close braces in str
83 return (0, index) when braces were found and count becomes 0.
87 return (count, -1) if not all opening braces are closed, count is the
90 def count_braces(self, str, count=0, found=False):
93 count += 1;
96 if count == 0:
99 count -= 1;
101 if count == 0 and found:
102 return (count, inde
[all...]
/vpp/src/vnet/ipfix-export/
H A Dipfix_packet.h184 ipfix_id_count (u16 id, u16 count) argument
186 return clib_host_to_net_u32 ((id << 16) | count);
/vpp/src/vppinfra/linux/
H A Dsyscall.h44 move_pages (int pid, unsigned long count, void **pages, const int *nodes, argument
47 return syscall (__NR_move_pages, pid, count, pages, nodes, status, flags);
/vpp/src/plugins/quic/
H A Dcerts.c106 size_t count = 0; local
112 while (count < list_max)
124 list[count].base = buf.base;
125 list[count].len = buf.off;
126 count++;
141 if (ret == PTLS_ERROR_PEM_LABEL_NOT_FOUND && count > 0)
146 *nb_objects = count;
171 &ctx->certificates.count);
/vpp/src/plugins/tlspicotls/
H A Dcerts.c88 size_t count = 0; local
94 while (count < list_max)
106 list[count].base = buf.base;
107 list[count].len = buf.off;
108 count++;
123 if (ret == PTLS_ERROR_PEM_LABEL_NOT_FOUND && count > 0)
128 *nb_objects = count;
153 &ctx->certificates.count);
/vpp/src/vlib/
H A Dthreads_cli.c258 total += fqh->count[nelt];
271 compute_percent (&fqh->count[0], total),
272 compute_percent (&fqh->count[2], total),
273 compute_percent (&fqh->count[4], total),
274 compute_percent (&fqh->count[6], total),
275 compute_percent (&fqh->count[8], total),
276 compute_percent (&fqh->count[10], total),
277 compute_percent (&fqh->count[12], total),
278 compute_percent (&fqh->count[14], total),
279 compute_percent (&fqh->count[1
[all...]
H A Dbuffer_node.h340 u32 * buffers, u16 * nexts, uword count)
347 max = clib_min (n_left_to_next, count);
349 while (count)
357 max = clib_min (n_left_to_next, count);
376 if (count + 3 < max)
398 count -= 32;
412 count -= 16;
426 count -= 8;
439 count -= 4;
452 count
339 vlib_buffer_enqueue_to_next(vlib_main_t * vm, vlib_node_runtime_t * node, u32 * buffers, u16 * nexts, uword count) argument
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 Dtrace.h63 u32 count; member in struct:__anon2
/vpp/src/vat/
H A Djson_format.c138 u32 i, count; local
150 count = vec_len (node->pairs);
151 if (count >= 1)
155 for (i = 0; i < count; i++)
160 if (i < count - 1)
176 count = vec_len (node->array);
177 if (count >= 1)
184 for (i = 0; i < count; i++)
192 if (i < count - 1)
/vpp/src/vpp/api/
H A Djson_format.c138 u32 i, count; local
150 count = vec_len (node->pairs);
151 if (count >= 1)
155 for (i = 0; i < count; i++)
160 if (i < count - 1)
176 count = vec_len (node->array);
177 if (count >= 1)
184 for (i = 0; i < count; i++)
192 if (i < count - 1)
/vpp/src/plugins/srv6-am/test/
H A Dtest_srv6.py85 count = len(ipv6)
87 count = len(ipv4)
88 self.logger.debug("Creating and configuring %d interfaces" % (count))
92 if len(ipv6) < count:
93 ipv6 += (count - len(ipv6)) * [False]
94 if len(ipv4) < count:
95 ipv4 += (count - len(ipv4)) * [False]
99 if len(ipv6_table_id) < count:
100 ipv6_table_id += (count - len(ipv6_table_id)) * [0]
101 if len(ipv4_table_id) < count
[all...]
/vpp/src/vpp-api/lua/
H A Dbench.lua42 local count = 1
46 count = count + 1
51 print (tostring(count) .. " iterations, average speed " .. tostring(tps) .. " per second")
/vpp/src/plugins/lacp/
H A Dnode.c141 .format = "Starting LACP process, interface count = %d",
147 u32 count; member in struct:__anon2
151 ed->count = lm->lacp_int;
161 .format = "Stopping LACP process, interface count = %d",
167 u32 count; member in struct:__anon3
171 ed->count = lm->lacp_int;
/vpp/src/vnet/flow/
H A Dflow.c24 vnet_flow_get_range (vnet_main_t * vnm, char *owner, u32 count, u32 * start) argument
34 fm->flows_used += count;
37 r->count = count;
/vpp/src/plugins/acl/test/
H A Dvpp_acl.py202 def count(self): member in class:VppAcl
214 acl_index=self._acl_index, tag=self.tag, count=self.count,
267 def count(self): member in class:VppEtypeWhitelist
272 sw_if_index=self._sw_if_index, count=self.count,
279 sw_if_index=self._sw_if_index, count=0, n_input=0, whitelist=[])
304 def count(self): member in class:VppAclInterface
317 count=self.count, acl
383 def count(self): member in class:VppMacipAcl
447 def count(self): member in class:VppMacipAclInterface
[all...]
/vpp/src/plugins/srv6-as/test/
H A Dtest_srv6_as.py85 count = len(ipv6)
87 count = len(ipv4)
88 self.logger.debug("Creating and configuring %d interfaces" % (count))
92 if len(ipv6) < count:
93 ipv6 += (count - len(ipv6)) * [False]
94 if len(ipv4) < count:
95 ipv4 += (count - len(ipv4)) * [False]
99 if len(ipv6_table_id) < count:
100 ipv6_table_id += (count - len(ipv6_table_id)) * [0]
101 if len(ipv4_table_id) < count
[all...]
/vpp/src/plugins/srv6-ad/test/
H A Dtest_srv6_ad.py86 count = len(ipv6)
88 count = len(ipv4)
89 self.logger.debug("Creating and configuring %d interfaces" % (count))
93 if len(ipv6) < count:
94 ipv6 += (count - len(ipv6)) * [False]
95 if len(ipv4) < count:
96 ipv4 += (count - len(ipv4)) * [False]
100 if len(ipv6_table_id) < count:
101 ipv6_table_id += (count - len(ipv6_table_id)) * [0]
102 if len(ipv4_table_id) < count
[all...]

Completed in 20 milliseconds

1234567