Home | History | Annotate | Download | only in dhcpcd

Lines Matching defs:or

6  * Redistribution and use in source and binary forms, with or without
13 * documentation and/or other materials provided with the distribution.
16 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
638 * OR supply a host route. If not, warn and add a host route. */
692 struct rt *nrs = NULL, *dnr, *or, *rt, *rtn, *rtl, *lrt = NULL;
713 if ((or = find_route(routes, rt, &rtl, NULL))) {
714 if (or->iface != ifp ||
715 or->src.s_addr != ifp->addr.s_addr ||
716 rt->gate.s_addr != or->gate.s_addr ||
717 rt->metric != or->metric)
719 if (c_route(or, rt) != 0)
723 rtl->next = or->next;
725 routes = or->next;
726 free(or);
821 /* We need to delete the subnet route to have our metric or