Lines Matching defs:oldport
1811 struct port *oldport, *newport, *tmpport;
1884 TAILQ_FOREACH_SAFE(oldport, &oldconf->conf_ports, p_next, tmpport) {
1885 if (oldport->p_foreign)
1887 newport = port_find(newconf, oldport->p_name);
1890 log_debugx("removing port \"%s\"", oldport->p_name);
1891 error = kernel_port_remove(oldport);
1894 oldport->p_name);
2010 oldport = port_find(oldconf, newport->p_name);
2012 if (oldport == NULL || oldport->p_foreign) {
2017 newport->p_ctl_port = oldport->p_ctl_port;
2018 error = kernel_port_update(newport, oldport);
2022 (oldport == NULL) ? "add" : "update",