Home
last modified time | relevance | path

Searched refs:curr_section (Results 1 – 1 of 1) sorted by relevance

/f-stack/dpdk/lib/librte_cfgfile/
H A Drte_cfgfile.c381 struct rte_cfgfile_section *curr_section = _get_section(cfg, in rte_cfgfile_add_entry() local
383 if (curr_section == NULL) in rte_cfgfile_add_entry()
386 ret = _add_entry(curr_section, entryname, entryvalue); in rte_cfgfile_add_entry()
400 struct rte_cfgfile_section *curr_section = _get_section(cfg, in rte_cfgfile_set_entry() local
402 if (curr_section == NULL) in rte_cfgfile_set_entry()
408 for (i = 0; i < curr_section->num_entries; i++) in rte_cfgfile_set_entry()
409 if (!strcmp(curr_section->entries[i].name, entryname)) { in rte_cfgfile_set_entry()
410 strlcpy(curr_section->entries[i].value, entryvalue, in rte_cfgfile_set_entry()
411 sizeof(curr_section->entries[i].value)); in rte_cfgfile_set_entry()