Lines Matching refs:protocol
230 int protocol = PROTO_LINK; in make_env() local
309 protocol = PROTO_DHCP6; in make_env()
312 protocol = PROTO_RA; in make_env()
317 protocol = PROTO_IPV4LL; in make_env()
320 protocol = PROTO_DHCP; in make_env()
325 protocol = PROTO_STATIC6; in make_env()
328 protocol = PROTO_DHCP6; in make_env()
331 protocol = PROTO_RA; in make_env()
340 protocol = PROTO_LINK; in make_env()
344 protocol = PROTO_IPV4LL; in make_env()
347 protocol = PROTO_DHCP; in make_env()
353 if (protocols[protocol] != NULL) { in make_env()
355 protocols[protocol]) == -1) in make_env()
359 if (ifp->ctx->options & DHCPCD_DUMPLEASE && protocol != PROTO_LINK) in make_env()
435 || (protocol == PROTO_DHCP && state && state->new) in make_env()
437 || (protocol == PROTO_IPV4LL && IPV4LL_STATE_RUNNING(ifp)) in make_env()
441 || (protocol == PROTO_STATIC6 && IPV6_STATE_RUNNING(ifp)) in make_env()
443 || (protocol == PROTO_DHCP6 && d6_state && d6_state->new) in make_env()
445 || (protocol == PROTO_RA && ipv6nd_hasra(ifp)) in make_env()
479 if (protocol == PROTO_DHCP && state && state->old) { in make_env()
489 if (protocol == PROTO_DHCP6 && d6_state && d6_state->old) { in make_env()
499 if (protocol == PROTO_IPV4LL && istate) { in make_env()
504 if (protocol == PROTO_DHCP && state && state->new) { in make_env()
514 if (protocol == PROTO_STATIC6) { in make_env()
519 if (protocol == PROTO_DHCP6 && D6_STATE_RUNNING(ifp)) { in make_env()
525 if (protocol == PROTO_RA) { in make_env()