Lines Matching refs:ext
890 static void __init ic_do_bootp_ext(u8 *ext)
898 pr_debug("DHCP/BOOTP: Got extension %d:", *ext);
899 for (c=ext+2; c<ext+2+ext[1]; c++)
903 switch (*ext++) {
906 memcpy(&ic_netmask, ext+1, 4);
910 memcpy(&ic_gateway, ext+1, 4);
913 servers= *ext/4;
918 memcpy(&ic_nameservers[i], ext+1+4*i, 4);
923 ic_bootp_string(utsname()->nodename, ext+1, *ext,
930 ic_bootp_string(ic_domain, ext+1, *ext, sizeof(ic_domain));
934 ic_bootp_string(root_server_path, ext+1, *ext,
938 memcpy(&mtu, ext+1, sizeof(mtu));
942 ic_bootp_string(utsname()->domainname, ext+1, *ext,
946 servers = *ext / 4;
951 memcpy(&ic_ntp_servers[i], ext+1+4*i, 4);
1049 u8 *ext;
1056 ext = &b->exten[4];
1057 while (ext < end && *ext != 0xff) {
1058 u8 *opt = ext++;
1061 ext += *ext + 1;
1062 if (ext >= end)
1119 ext = &b->exten[4];
1120 while (ext < end && *ext != 0xff) {
1121 u8 *opt = ext++;
1124 ext += *ext + 1;
1125 if (ext < end)