Searched refs:rtnl_rtscope_tab (Results 1 – 1 of 1) sorted by relevance
125 static rtnl_tab_t *rtnl_rtscope_tab; variable129 if (rtnl_rtscope_tab) in rtnl_rtscope_initialize()131 rtnl_rtscope_tab = xzalloc(sizeof(*rtnl_rtscope_tab)); in rtnl_rtscope_initialize()132 rtnl_rtscope_tab->tab[0] = "global"; in rtnl_rtscope_initialize()133 rtnl_rtscope_tab->tab[255] = "nowhere"; in rtnl_rtscope_initialize()134 rtnl_rtscope_tab->tab[254] = "host"; in rtnl_rtscope_initialize()135 rtnl_rtscope_tab->tab[253] = "link"; in rtnl_rtscope_initialize()136 rtnl_rtscope_tab->tab[200] = "site"; in rtnl_rtscope_initialize()137 rtnl_tab_initialize("scopes", rtnl_rtscope_tab->tab); in rtnl_rtscope_initialize()148 if (rtnl_rtscope_tab->tab[id]) in rtnl_rtscope_n2a()[all …]