Lines Matching refs:rtnl_rtscope_tab
125 static const char **rtnl_rtscope_tab; /* [256] */
129 if (rtnl_rtscope_tab) return;
130 rtnl_rtscope_tab = xzalloc(256 * sizeof(rtnl_rtscope_tab[0]));
131 rtnl_rtscope_tab[0] = "global";
132 rtnl_rtscope_tab[255] = "nowhere";
133 rtnl_rtscope_tab[254] = "host";
134 rtnl_rtscope_tab[253] = "link";
135 rtnl_rtscope_tab[200] = "site";
137 rtnl_rtscope_tab, 256);
150 if (rtnl_rtscope_tab[id])
151 return rtnl_rtscope_tab[id];
170 if (rtnl_rtscope_tab[i] &&
171 strcmp(rtnl_rtscope_tab[i], arg) == 0) {
172 cache = rtnl_rtscope_tab[i];