Home
last modified time | relevance | path

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

/external/iproute2/include/
Dnames.h12 struct db_names { struct
19 struct db_names *db_names_alloc(void); argument
20 int db_names_load(struct db_names *db, const char *path);
21 void db_names_free(struct db_names *db);
23 char *id_to_name(struct db_names *db, int id, char *name);
24 int name_to_id(struct db_names *db, int *id, const char *name);
/external/iproute2/lib/
Dnames.c53 struct db_names *db_names_alloc(void) in db_names_alloc()
55 struct db_names *db; in db_names_alloc()
70 int db_names_load(struct db_names *db, const char *path) in db_names_load()
114 void db_names_free(struct db_names *db) in db_names_free()
137 char *id_to_name(struct db_names *db, int id, char *name) in id_to_name()
157 int name_to_id(struct db_names *db, int *id, const char *name) in name_to_id()
/external/iproute2/tc/
Dtc_util.c35 static struct db_names *cls_names = NULL;