Home
last modified time | relevance | path

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

/openbsd/sys/netinet/
H A Dip_spd.c62 struct radix_node_head **spd_tables; variable
76 if (spd_tables == NULL) in spd_table_get()
83 return (spd_tables[rdomain]); in spd_table_get()
96 if (spd_tables == NULL || rdomain > spd_table_max) { in spd_table_add()
101 if (spd_tables != NULL) { in spd_table_add()
102 memcpy(p, spd_tables, sizeof(*rnh) * (spd_table_max+1)); in spd_table_add()
103 free(spd_tables, M_RTABLE, in spd_table_add()
106 spd_tables = p; in spd_table_add()
110 if (spd_tables[rdomain] == NULL) { in spd_table_add()
114 spd_tables[rdomain] = rnh; in spd_table_add()
[all …]