Lines Matching defs:conf_if
387 struct conf_interface *conf_if;
392 if ((conf_if = calloc(1, sizeof(*conf_if))) == NULL)
395 strlcpy(conf_if->if_name, ifname, IF_NAMESIZE);
396 SLIST_INSERT_HEAD(&coifs_head, conf_if, iflist);
413 if (Ginterface(conf_if, buf) == -1)
420 Ginterface(struct conf_interface *conf_if, char *buf)
427 return intf_commands[i].func(conf_if, buf +
435 Itaddr(struct conf_interface *conf_if, char *buf)
437 if (inet_pton(AF_INET, buf, &conf_if->tr_addr) != 1)
444 Ipassive(struct conf_interface *conf_if, char *buf)
446 conf_if->passive = 1;