Lines Matching defs:ext
917 static void __init ic_do_bootp_ext(u8 *ext)
925 pr_debug("DHCP/BOOTP: Got extension %d:", *ext);
926 for (c=ext+2; c<ext+2+ext[1]; c++)
930 switch (*ext++) {
933 memcpy(&ic_netmask, ext+1, 4);
937 memcpy(&ic_gateway, ext+1, 4);
940 servers= *ext/4;
946 memcpy(&ic_nameservers[i], ext+1+4*i, 4);
951 ic_bootp_string(utsname()->nodename, ext+1, *ext,
958 ic_bootp_string(ic_domain, ext+1, *ext, sizeof(ic_domain));
962 ic_bootp_string(root_server_path, ext+1, *ext,
966 memcpy(&mtu, ext+1, sizeof(mtu));
970 ic_bootp_string(utsname()->domainname, ext+1, *ext,
974 servers = *ext / 4;
979 memcpy(&ic_ntp_servers[i], ext+1+4*i, 4);
1077 u8 *ext;
1084 ext = &b->exten[4];
1085 while (ext < end && *ext != 0xff) {
1086 u8 *opt = ext++;
1089 ext += *ext + 1;
1090 if (ext >= end)
1147 ext = &b->exten[4];
1148 while (ext < end && *ext != 0xff) {
1149 u8 *opt = ext++;
1152 ext += *ext + 1;
1153 if (ext < end)