• Home
  • Raw
  • Download

Lines Matching refs:ifo

915 	const struct if_options *ifo = iface->state->options;  in make_message()  local
944 if (ifo->options & DHCPCD_BROADCAST && in make_message()
993 if (type == DHCP_DISCOVER && ifo->options & DHCPCD_REQUEST) in make_message()
994 PUTADDR(DHO_IPADDRESS, ifo->req_addr); in make_message()
1016 if (ifo->userclass[0]) { in make_message()
1018 memcpy(p, ifo->userclass, ifo->userclass[0] + 1); in make_message()
1019 p += ifo->userclass[0] + 1; in make_message()
1022 if (ifo->vendorclassid[0]) { in make_message()
1024 memcpy(p, ifo->vendorclassid, in make_message()
1025 ifo->vendorclassid[0] + 1); in make_message()
1026 p += ifo->vendorclassid[0] + 1; in make_message()
1031 if (ifo->leasetime != 0) { in make_message()
1034 ul = htonl(ifo->leasetime); in make_message()
1044 if (ifo->options & DHCPCD_HOSTNAME && ifo->hostname[0]) { in make_message()
1046 hp = strchr(ifo->hostname, '.'); in make_message()
1048 len = hp - ifo->hostname; in make_message()
1050 len = strlen(ifo->hostname); in make_message()
1052 memcpy(p, ifo->hostname, len); in make_message()
1055 if (ifo->fqdn != FQDN_DISABLE && ifo->hostname[0]) { in make_message()
1070 *p++ = (ifo->fqdn & 0x09) | 0x04; in make_message()
1073 ul = encode_rfc1035(ifo->hostname, p); in make_message()
1079 if (ifo->vendor[0]) { in make_message()
1081 memcpy(p, ifo->vendor, ifo->vendor[0] + 1); in make_message()
1082 p += ifo->vendor[0] + 1; in make_message()
1090 has_option_mask(ifo->requestmask, opt->option))) in make_message()
1375 const struct if_options *ifo) in configure_env() argument
1396 if (has_option_mask(ifo->nomask, opt->option)) in configure_env()
1439 if (has_option_mask(ifo->nomask, opt->option)) in configure_env()