Lines Matching refs:arglist

50 struct arglist {
89 static struct arglist *rt_dsfield[RPDB_ENTRIES];
90 static struct arglist *rt_protos[RPDB_ENTRIES];
91 static struct arglist *rt_tables[RPDB_ENTRIES];
92 static struct arglist *rt_realms[RPDB_ENTRIES];
93 static struct arglist *rt_scope[RPDB_ENTRIES];
95 static struct arglist rtmtypes[] = { {"none", RTN_UNSPEC},
128 static int substring_to_idx(char *str, struct arglist *list)
130 struct arglist *alist;
141 static int string_to_idx(char *str, struct arglist *list)
143 struct arglist *alist;
151 static char *idx_to_string(int idx, struct arglist *list)
153 struct arglist *alist;
183 static void parseRPDB(char *fname, struct arglist **list, int32_t size)
207 else list[index] = xzalloc(sizeof(struct arglist));
216 static void free_alist(struct arglist **list)
227 static void init_arglist(struct arglist **list,int value, char* name)
229 if (!list[value]) list[value] = xzalloc(sizeof(struct arglist));
234 static struct arglist **getlist(u_int8_t whichDB)
236 struct arglist **alist;
306 struct arglist **alist;
325 struct arglist **alist;
538 static char *get_flag_string(struct arglist *aflags, int flags, int ismulti)
540 struct arglist *p = aflags;
556 struct arglist vlan_optlist[] = {{"id", 0}, {"protocol", 1},
558 struct arglist vlan_protolist[] = {{"802.1q", 0}, {"802.1ad", 1}, {NULL,-1}};
559 struct arglist on_off[] = { {"on", 0}, {"off", 1}, {NULL,-1}};
609 struct arglist objectlist[] = { {"type", 0}, {"name", 1}, {"link", 2},
685 struct arglist cmd_objectlist[] = {{"up", 0}, {"down", 1}, {"arp", 2},
790 struct arglist iface_flags[] = {{"",0},{"UP", IFF_UP},
858 struct arglist hwtypes[]={{"generic",0},{"ether",ARPHRD_ETHER},
929 struct arglist flags[]={{"UNKNOWN", 0}, {"NOTPRESENT", 1},
985 struct arglist cmd_objectlist[] = {{"add", 0}, {"delete", 0},
1111 struct arglist cmd_objectlist[] = {{"dev",0}, {"peer", 1},
1279 struct arglist cmd_objectlist[] = {{"to", 0}, {"scope", 1}, {"up", 2},
1475 struct arglist cmd_objectlist[] = { {"add", 0}, {"delete", 0},
1781 struct arglist cmd_objectlist[] = {{"from", 0}, {"iif", 1}, {"oif", 2},
1873 struct arglist cmd_objectlist[] = {{"protocol", 0}, {"dev", 1}, {"oif", 2},
2006 struct arglist cmd_objectlist[] = {{"src", 0}, {"via", 1}, {"mtu", 2},
2134 struct arglist cmd_objectlist1[] = {{"add", 0}, {"append", 1},{"change", 2},
2185 struct arglist options[] = {{"from", 0}, {"to", 1}, {"preference", 2},
2408 struct arglist options[] = {{"add", 0}, {"delete", 0}, {"list", 1},
2541 struct arglist opts[] = { {"mode", 0}, {"key", 1}, {"ikey", 2},
2768 struct arglist opts[] = {{"add", 0}, {"change", 0}, {"del", 0},
2839 struct arglist ip_options[] = {{"oneline", 0}, {"family", 1},
2859 struct arglist ip_aflist[] = {{"inet", AF_INET},
2880 struct arglist ip_objectlist[] = { {"address", 0}, {"link", 1},
2888 struct arglist ip_objectlist[] = { {"ipaddr", 0}, {"iplink", 1},