Lines Matching defs:value
75 * ba_retrieve(bataid, value, fid_table)
77 * searches for all filters matching value in bataid->table
79 * to value and then looking value up in bataid->table->masked_values.
84 ba_retrieve(ba_table_id_t *bataid, uint8_t value, ht_match_t *fid_table)
93 /* special case, if value == 0, no need to apply masks */
94 if (value == 0) {
95 /* masked value will always be 0 for this case */
105 /* apply each mask to the value and do the look up in the ba table */
107 masked_value = (uint8_t)(p->id) & value;
125 * ba_remove(bataid, filter_id, value, mask)
127 * removes filter_id from bataid->table->masked_values[mask & value]
131 ba_remove(ba_table_id_t *bataid, int filter_id, uint8_t value, uint8_t mask)
133 uint8_t masked_value = value & mask;