Searched refs:key_field (Results 1 – 2 of 2) sorted by relevance
2986 struct hist_field *key_field; in create_field_var_hist() local3037 key_field = hist_data->fields[i]; in create_field_var_hist()3040 strcat(cmd, key_field->field->name); in create_field_var_hist()5221 struct hist_field *key_field, void *rec) in add_to_key() argument5223 size_t size = key_field->size; in add_to_key()5225 if (key_field->flags & HIST_FIELD_FL_STRING) { in add_to_key()5228 field = key_field->field; in add_to_key()5236 if (size > key_field->size - 1) in add_to_key()5237 size = key_field->size - 1; in add_to_key()5239 strncpy(compound_key + key_field->offset, (char *)key, size); in add_to_key()[all …]
1771 key_field = self.get_attr("OVS_FLOW_ATTR_KEY")1773 if key_field is not None:1774 keymsg = key_field1972 key_field = packetmsg.get_attr("OVS_PACKET_ATTR_KEY")1973 if key_field is not None:1974 keystr = key_field.dpstr(None, True)