/openbsd-current/sbin/dhcpleased/ |
H A D | parse.y | 97 static struct iface_conf *iface_conf; 99 struct iface_conf *conf_get_iface(char *); 168 iface_conf = conf_get_iface($2); 170 iface_conf = NULL; 186 if (iface_conf->vc_id != NULL) { 203 iface_conf->vc_id_len = 2 + strlen(buf); 204 iface_conf->vc_id = malloc(iface_conf->vc_id_len); 205 if (iface_conf [all...] |
H A D | frontend.c | 101 int iface_conf_cmp(struct iface_conf *, struct iface_conf *); 235 static struct iface_conf *iface_conf; local 352 iface_conf)) 355 if ((iface_conf = malloc(sizeof(struct iface_conf))) 358 memcpy(iface_conf, imsg.data, sizeof(struct 359 iface_conf)); 360 iface_conf 938 struct iface_conf *iface_conf; local 1228 struct iface_conf *iface_conf; local 1243 struct iface_conf *iface_conf, *oiface_conf; local [all...] |
H A D | engine.c | 396 static struct iface_conf *iface_conf; local 476 iface_conf)) 479 if ((iface_conf = malloc(sizeof(struct iface_conf))) 482 memcpy(iface_conf, imsg.data, sizeof(struct 483 iface_conf)); 484 iface_conf->vc_id = NULL; 485 iface_conf->vc_id_len = 0; 486 iface_conf 722 struct iface_conf *iface_conf; local [all...] |
H A D | dhcpleased.c | 716 struct iface_conf *iface_conf; local 722 SIMPLEQ_FOREACH(iface_conf, &xconf->iface_list, entry) { 723 main_imsg_compose_frontend(IMSG_RECONF_IFACE, -1, iface_conf, 724 sizeof(*iface_conf)); 725 main_imsg_compose_engine(IMSG_RECONF_IFACE, -1, iface_conf, 726 sizeof(*iface_conf)); 728 iface_conf->vc_id, iface_conf->vc_id_len); 730 iface_conf 1254 struct iface_conf *iface_conf; local [all...] |
H A D | dhcpleased.h | 251 struct iface_conf { struct 252 SIMPLEQ_ENTRY(iface_conf) entry; 266 SIMPLEQ_HEAD(iface_conf_head, iface_conf) iface_list; 315 struct iface_conf *find_iface_conf(struct iface_conf_head *, char *);
|
H A D | printconf.c | 102 struct iface_conf *iface;
|
/openbsd-current/sbin/dhcp6leased/ |
H A D | printconf.c | 40 void print_iface_conf(struct iface_conf *, int); 76 print_iface_conf(struct iface_conf *iface, int verbose) 101 struct iface_conf *iface;
|
H A D | frontend.c | 87 int iface_conf_cmp(struct iface_conf *, struct iface_conf *); 237 static struct iface_conf *iface_conf; local 338 iface_conf)) 341 if ((iface_conf = malloc(sizeof(struct iface_conf))) 344 memcpy(iface_conf, imsg.data, sizeof(struct 345 iface_conf)); 346 SIMPLEQ_INIT(&iface_conf 791 struct iface_conf *iface_conf; local 1039 struct iface_conf *iface_conf; local 1054 struct iface_conf *iface_conf, *oiface_conf; local [all...] |
H A D | engine.c | 376 static struct iface_conf *iface_conf; local 467 iface_conf)) 470 if ((iface_conf = malloc(sizeof(struct iface_conf))) 473 memcpy(iface_conf, imsg.data, sizeof(struct 474 iface_conf)); 475 SIMPLEQ_INIT(&iface_conf->iface_ia_list); 477 iface_conf, entry); 478 iface_conf 603 struct iface_conf *iface_conf; local 707 struct iface_conf *iface_conf; local 1288 struct iface_conf *iface_conf; local 1325 struct iface_conf *iface_conf; local [all...] |
H A D | dhcp6leased.h | 211 struct iface_conf { struct 212 SIMPLEQ_ENTRY(iface_conf) entry; 220 SIMPLEQ_HEAD(iface_conf_head, iface_conf) iface_list; 266 struct iface_conf *find_iface_conf(struct iface_conf_head *, char *);
|
H A D | parse.y | 80 static struct iface_conf *iface_conf; 83 struct iface_conf *conf_get_iface(char *); 159 iface_conf = conf_get_iface($5); 163 iface_ia_conf->id = iface_conf->ia_count++; 164 if (iface_conf->ia_count > MAX_IA) { 169 SIMPLEQ_INSERT_TAIL(&iface_conf->iface_ia_list, 172 iface_conf = NULL; 604 struct iface_conf *iface; 700 struct iface_conf * [all...] |
H A D | dhcp6leased.c | 660 struct iface_conf *iface_conf; local 668 SIMPLEQ_FOREACH(iface_conf, &xconf->iface_list, entry) { 669 main_imsg_compose_frontend(IMSG_RECONF_IFACE, -1, iface_conf, 670 sizeof(*iface_conf)); 671 main_imsg_compose_engine(IMSG_RECONF_IFACE, -1, iface_conf, 672 sizeof(*iface_conf)); 673 SIMPLEQ_FOREACH(ia_conf, &iface_conf->iface_ia_list, 877 struct iface_conf *iface_conf; local 1002 struct iface_conf *iface_conf; local [all...] |