Searched refs:value (Results 1 - 25 of 256) sorted by relevance

1234567891011

/vpp/src/vppinfra/
H A Dtest_dlist.c32 u32 value; local
45 elt->value = i;
54 value = 0;
55 while (value != ~0)
58 fformat (stdout, "elt %d value %d\n", i++, elt->value);
60 value = elt->value;
66 value = 0;
67 while (value !
[all...]
H A Dbihash_16_8.h41 u64 value; member in struct:__anon2
48 if (v->key[0] == ~0ULL && v->value == ~0ULL)
69 s = format (s, "key %llu %llu value %llu", v->key[0], v->key[1], v->value);
H A Dbihash_8_8.h38 /** 8 octet key, 8 octet key value pair */
42 u64 value; /**< the value */ member in struct:__anon7
46 @param v- pointer to the (key,value) pair
51 if (v->key == ~0ULL && v->value == ~0ULL)
57 @param v - pointer to the (key,value) pair, hash the key (only)
72 @param args (vararg) - the (key,value) pair to format
80 s = format (s, "key %llu value %llu", v->key, v->value);
H A Dbihash_16_8_32.h43 u64 value; member in struct:__anon3
50 if (v->key[0] == ~0ULL && v->value == ~0ULL)
71 s = format (s, "key %llu %llu value %llu", v->key[0], v->key[1], v->value);
/vpp/test/
H A Dvrf.py18 def __init__(self, value):
19 NumericConstant.__init__(self, value)
/vpp/extras/vpp_config/vpplib/
H A DVppGrubUtil.py101 value = cmdline.split('{}='.format(grubcmdline))[1]
102 value = value.rstrip('"').lstrip('"')
106 # iommu = re.findall(r'iommu=\w+', value)
107 # pstate = re.findall(r'intel_pstate=\w+', value)
111 # value = '{} intel_pstate=disable'.format(value)
114 isolcpus = re.findall(r'isolcpus=[\w+\-,]+', value)
117 value = "{} isolcpus={}".format(value, isolated_cpu
[all...]
/vpp/src/plugins/rdma/
H A Drdma_mlx5dv.h109 mlx5_set_u32 (void *start, int offset, u32 value) argument
111 (*(u32 *) (((u8 *) start) + offset)) = clib_host_to_net_u32 (value);
115 mlx5_set_u64 (void *start, int offset, u64 value) argument
117 (*(u64 *) (((u8 *) start) + offset)) = clib_host_to_net_u64 (value);
121 mlx5_set_bits (void *start, int offset, int first, int last, u32 value) argument
127 mlx5_set_u32 (start, offset, value);
130 ASSERT (value == (value & mask));
131 value &= mask;
133 mlx5_set_u32 (start, offset, old | value << las
139 u32 value = mlx5_get_u32 (start, offset); local
[all...]
/vpp/src/tools/g2/
H A Dprops.h19 extern void addprop (char *name, char *value);
/vpp/src/vnet/mpls/
H A Dmpls_lookup.h45 * We need to byte swap so we use the numerical value. i.e. an odd label
46 * leads to an odd bucket. as opposed to a label above and below value X.
50 u32 hash, value; local
60 value = vnet_mpls_uc_get_label(ho_label);
65 * The label is an entropy value, use it alone as the hash
69 if (MPLS_IETF_ENTROPY_LABEL == value)
73 * label is an entropy value
81 * build up the hash value
83 hash ^= value;
/vpp/src/vnet/qos/
H A Dqos_store.h24 qos_source_t input_source, qos_bits_t value);
28 qos_bits_t value, void *ctx);
H A Dqos_store.c37 u8 enable, qos_bits_t value)
43 sw_if_index, enable, &value,
44 sizeof (value));
46 sw_if_index, enable, &value,
47 sizeof (value));
49 sw_if_index, enable, &value,
50 sizeof (value));
52 sw_if_index, enable, &value,
53 sizeof (value));
65 qos_source_t input_source, qos_bits_t value)
35 qos_store_feature_config(u32 sw_if_index, qos_source_t input_source, u8 enable, qos_bits_t value) argument
64 qos_store_enable(u32 sw_if_index, qos_source_t input_source, qos_bits_t value) argument
165 u32 sw_if_index, qs, value; local
[all...]
/vpp/src/vnet/pg/
H A Dedit.c44 pg_edit_set_value_helper (pg_edit_t * e, u64 value, u8 * result) argument
57 v[i] = (value & 0xff) << j;
58 value >>= BITS (v[0]) - j;
65 v[i] = value & 0xff;
66 value >>= 8;
77 pg_edit_set_value (pg_edit_t * e, int hi_or_lo, u64 value) argument
80 pg_edit_set_value_helper (e, value, e->values[hi_or_lo]);
89 u64 value; local
91 ASSERT (BITS (value) >= e->n_bits);
93 if (!unformat (input, "0x%X", sizeof (value),
[all...]
/vpp/src/plugins/nat/nat44/
H A Dinlines.h82 while (elt->value != ~0)
84 s = pool_elt_at_index (tsm->sessions, elt->value);
101 clib_bihash_kv_8_8_t kv, value; local
115 if (!clib_bihash_search_8_8 (&tsm->user_hash, &kv, &value))
118 pool_elt_at_index (tsm->users, value.value),
129 if (!clib_bihash_search_8_8 (&tsm->user_hash, &kv, &value))
132 (tsm->users, value.value),
/vpp/src/plugins/nat/
H A Dnat_affinity.c77 kv->value = ~0ULL;
113 a = pool_elt_at_index (nam->affinity_pool, elt->value);
116 pool_put_index (nam->affinity_pool, elt->value);
132 clib_bihash_kv_16_8_t kv, value; local
138 if (clib_bihash_search_16_8 (&nam->affinity_hash, &kv, &value))
144 a = pool_elt_at_index (nam->affinity_pool, value.value);
152 pool_put_index (nam->affinity_pool, value.value);
173 a = pool_elt_at_index (nam->affinity_pool, kv->value);
198 clib_bihash_kv_16_8_t kv, value; local
246 clib_bihash_kv_16_8_t kv, value; local
[all...]
/vpp/src/vnet/ipfix-export/
H A Dipfix_packet.h79 u32 value; local
80 value = (e << 31) | ((id & 0x7FFF) << 16) | length;
81 return clib_host_to_net_u32 (value);
101 * Identifies the Set. A value of 2 is reserved for Template Sets.
102 * A value of 3 is reserved for Options Template Sets. Values from 4
111 * contain multiple records, the Length value MUST be used to
/vpp/extras/vom/vom/
H A Denum_base.hpp24 * This enum type exists to associate an enum value with a string for
86 * Return the value of the enum - same as integer conversion
88 int value() const { return (m_value); } function in class:VOM::enum_base
92 * Constructor of an enum - takes value and string description
94 enum_base(int value, const std::string desc) argument
95 : m_value(value)
107 * Integer value of the enum
H A Dbridge_domain_cmds.cpp52 payload.flood = m_flood_mode.value();
53 payload.uu_flood = m_uu_flood_mode.value();
55 payload.learn = m_learning_mode.value();
56 payload.arp_term = m_arp_term_mode.value();
57 payload.arp_ufwd = m_arp_ufwd_mode.value();
58 payload.mac_age = m_mac_age_mode.value();
H A Dacl_binding_cmds.cpp30 payload.sw_if_index = m_itf.value();
33 payload.acl_index = m_acl.value();
58 payload.sw_if_index = m_itf.value();
61 payload.acl_index = m_acl.value();
109 payload.sw_if_index = m_itf.value();
111 payload.acl_index = m_acl.value();
136 payload.sw_if_index = m_itf.value();
138 payload.acl_index = m_acl.value();
H A Dl2_vtr_cmds.cpp44 payload.sw_if_index = m_itf.value();
45 payload.vtr_op = m_hw_item.data().value();
H A Dinterface_ip6_nd_cmds.cpp28 payload.sw_if_index = m_itf.value();
44 payload.sw_if_index = m_itf.value();
63 payload.sw_if_index = m_itf.value();
79 payload.sw_if_index = m_itf.value();
/vpp/src/vnet/lisp-cp/
H A Dgid_dictionary.c52 (a->cb) (kvp->value, a->arg);
96 (a->cb) (kvp->value, a->arg);
166 BVT (clib_bihash_kv) kv, value;
169 rv = BV (clib_bihash_search_inline_2) (&db->mac_lookup_table, &kv, &value);
176 &value);
178 return value.value;
181 return value.value;
190 BVT (clib_bihash_kv) kv, value;
884 add_del_ip(gid_dictionary_t * db, u32 vni, ip_prefix_t * dst_key, ip_prefix_t * src_key, u32 value, u8 is_add) argument
904 add_del_sd(gid_dictionary_t * db, u32 vni, source_dest_t * key, u32 value, u8 is_add) argument
926 add_del_arp_ndp(gid_l2_arp_ndp_table_t * db, u32 bd, ip_address_t * key, u64 value, u8 is_add) argument
953 add_del_nsh(gid_nsh_table_t * db, u32 vni, u32 spi, u8 si, u32 value, u8 is_add) argument
978 gid_dictionary_add_del(gid_dictionary_t * db, gid_address_t * key, u64 value, u8 is_add) argument
[all...]
/vpp/src/svm/
H A Dsvmdb.c157 u32 value; local
167 value = (np->action << 28) | (np->opaque);
168 sv.sival_ptr = (void *) (uword) value;
202 svmdb_value_t *value; local
226 value = pool_elt_at_index (shm->values, hp->value[0]);
228 for (i = 0; i < vec_len (value->notifications); i++)
230 np = vec_elt_at_index (value->notifications, i);
237 vec_delete (value->notifications, 1, i);
256 vec_add2 (value
411 u32 value; local
435 u32 value; local
502 u8 *key, *value; local
606 u32 value; local
[all...]
/vpp/src/vnet/l2/
H A Dl2_rw.h36 u32x4 *value;
85 u8 * mask, u8 * value, u32 len, u32 skip, u8 is_del);
/vpp/src/vpp/stats/
H A Dstat_segment_shared.h36 uint64_t value; member in union:__anon5::__anon6
/vpp/src/plugins/gbp/
H A Dgbp_endpoint.h61 * Sources of Endpoints in priority order. The best (lowest value) source
281 clib_bihash_kv_16_8_t key, value; local
286 rv = clib_bihash_search_16_8 (&gbp_ep_db.ged_by_mac_bd, &key, &value);
291 return (gbp_endpoint_get (value.value));
316 clib_bihash_kv_24_8_t key, value; local
321 rv = clib_bihash_search_24_8 (&gbp_ep_db.ged_by_ip_rd, &key, &value);
326 return (gbp_endpoint_get (value.value));
341 clib_bihash_kv_24_8_t key, value; local
[all...]

Completed in 14 milliseconds

1234567891011