Lines Matching refs:ext
838 static void __init ic_do_bootp_ext(u8 *ext)
847 printk("DHCP/BOOTP: Got extension %d:",*ext);
848 for (c=ext+2; c<ext+2+ext[1]; c++)
853 switch (*ext++) {
856 memcpy(&ic_netmask, ext+1, 4);
860 memcpy(&ic_gateway, ext+1, 4);
863 servers= *ext/4;
868 memcpy(&ic_nameservers[i], ext+1+4*i, 4);
872 ic_bootp_string(utsname()->nodename, ext+1, *ext, __NEW_UTS_LEN);
876 ic_bootp_string(ic_domain, ext+1, *ext, sizeof(ic_domain));
880 ic_bootp_string(root_server_path, ext+1, *ext, sizeof(root_server_path));
883 memcpy(&mtu, ext+1, sizeof(mtu));
887 ic_bootp_string(utsname()->domainname, ext+1, *ext, __NEW_UTS_LEN);
994 u8 *ext;
1001 ext = &b->exten[4];
1002 while (ext < end && *ext != 0xff) {
1003 u8 *opt = ext++;
1006 ext += *ext + 1;
1007 if (ext >= end)
1068 ext = &b->exten[4];
1069 while (ext < end && *ext != 0xff) {
1070 u8 *opt = ext++;
1073 ext += *ext + 1;
1074 if (ext < end)