Lines Matching refs:ifo

919 	const struct if_options *ifo = iface->state->options;  in make_message()  local
948 if (ifo->options & DHCPCD_BROADCAST && in make_message()
997 if (type == DHCP_DISCOVER && ifo->options & DHCPCD_REQUEST) in make_message()
998 PUTADDR(DHO_IPADDRESS, ifo->req_addr); in make_message()
1020 if (ifo->userclass[0]) { in make_message()
1022 memcpy(p, ifo->userclass, ifo->userclass[0] + 1); in make_message()
1023 p += ifo->userclass[0] + 1; in make_message()
1026 if (ifo->vendorclassid[0]) { in make_message()
1028 memcpy(p, ifo->vendorclassid, in make_message()
1029 ifo->vendorclassid[0] + 1); in make_message()
1030 p += ifo->vendorclassid[0] + 1; in make_message()
1035 if (ifo->leasetime != 0) { in make_message()
1038 ul = htonl(ifo->leasetime); in make_message()
1048 if (ifo->options & DHCPCD_HOSTNAME && ifo->hostname[0]) { in make_message()
1050 hp = strchr(ifo->hostname, '.'); in make_message()
1052 len = hp - ifo->hostname; in make_message()
1054 len = strlen(ifo->hostname); in make_message()
1056 memcpy(p, ifo->hostname, len); in make_message()
1059 if (ifo->fqdn != FQDN_DISABLE && ifo->hostname[0]) { in make_message()
1074 *p++ = (ifo->fqdn & 0x09) | 0x04; in make_message()
1077 ul = encode_rfc1035(ifo->hostname, p); in make_message()
1083 if (ifo->vendor[0]) { in make_message()
1085 memcpy(p, ifo->vendor, ifo->vendor[0] + 1); in make_message()
1086 p += ifo->vendor[0] + 1; in make_message()
1094 has_option_mask(ifo->requestmask, opt->option))) in make_message()
1383 const struct if_options *ifo) in configure_env() argument
1403 if (has_option_mask(ifo->nomask, opt->option)) in configure_env()
1445 if (has_option_mask(ifo->nomask, opt->option)) in configure_env()