Lines Matching refs:arg
48 static int rtnl_a2n(rtnl_tab_t *tab, uint32_t *id, const char *arg, int base) in rtnl_a2n() argument
52 if (tab->cached_str && strcmp(tab->cached_str, arg) == 0) { in rtnl_a2n()
59 && strcmp(tab->tab[i], arg) == 0 in rtnl_a2n()
68 i = bb_strtou(arg, NULL, base); in rtnl_a2n()
118 int FAST_FUNC rtnl_rtprot_a2n(uint32_t *id, char *arg) in rtnl_rtprot_a2n() argument
121 return rtnl_a2n(rtnl_rtprot_tab, id, arg, 0); in rtnl_rtprot_a2n()
153 int FAST_FUNC rtnl_rtscope_a2n(uint32_t *id, char *arg) in rtnl_rtscope_a2n() argument
156 return rtnl_a2n(rtnl_rtscope_tab, id, arg, 0); in rtnl_rtscope_a2n()
170 int FAST_FUNC rtnl_rtrealm_a2n(uint32_t *id, char *arg) in rtnl_rtrealm_a2n() argument
173 return rtnl_a2n(rtnl_rtrealm_tab, id, arg, 0); in rtnl_rtrealm_a2n()
215 int FAST_FUNC rtnl_dsfield_a2n(uint32_t *id, char *arg) in rtnl_dsfield_a2n() argument
218 return rtnl_a2n(rtnl_rtdsfield_tab, id, arg, 16); in rtnl_dsfield_a2n()
251 int FAST_FUNC rtnl_rttable_a2n(uint32_t *id, char *arg) in rtnl_rttable_a2n() argument
254 return rtnl_a2n(rtnl_rttable_tab, id, arg, 0); in rtnl_rttable_a2n()