Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:dhcp

2  * dhcpcd - DHCP client daemon
46 #include "dhcp.h"
172 int dhcp, ra;
174 dhcp = ra = 0;
178 dhcp = 1;
224 if ((dhcp && iface->state->new) || (ra && iface->ras)) {
253 if (dhcp && iface->state->old) {
265 if (dhcp && iface->state->new) {
537 get_subnet_route(struct dhcp_message *dhcp)
543 addr = dhcp->yiaddr;
545 addr = dhcp->ciaddr;
547 if (get_option_addr(&net, dhcp, DHO_SUBNETMASK) == -1)
606 /* Some DHCP servers add set host routes by setting the gateway
777 struct dhcp_message *dhcp = iface->state->new;
786 if (dhcp == NULL) {
823 rt = get_subnet_route(dhcp);
837 if (write_lease(iface, dhcp) == -1)