Lines Matching refs:ext
887 static void __init ic_do_bootp_ext(u8 *ext) in ic_do_bootp_ext() argument
896 printk("DHCP/BOOTP: Got extension %d:",*ext); in ic_do_bootp_ext()
897 for (c=ext+2; c<ext+2+ext[1]; c++) in ic_do_bootp_ext()
902 switch (*ext++) { in ic_do_bootp_ext()
905 memcpy(&ic_netmask, ext+1, 4); in ic_do_bootp_ext()
909 memcpy(&ic_gateway, ext+1, 4); in ic_do_bootp_ext()
912 servers= *ext/4; in ic_do_bootp_ext()
917 memcpy(&ic_nameservers[i], ext+1+4*i, 4); in ic_do_bootp_ext()
921 ic_bootp_string(utsname()->nodename, ext+1, *ext, in ic_do_bootp_ext()
926 ic_bootp_string(ic_domain, ext+1, *ext, sizeof(ic_domain)); in ic_do_bootp_ext()
930 ic_bootp_string(root_server_path, ext+1, *ext, in ic_do_bootp_ext()
934 memcpy(&mtu, ext+1, sizeof(mtu)); in ic_do_bootp_ext()
938 ic_bootp_string(utsname()->domainname, ext+1, *ext, in ic_do_bootp_ext()
1042 u8 *ext; in ic_bootp_recv() local
1049 ext = &b->exten[4]; in ic_bootp_recv()
1050 while (ext < end && *ext != 0xff) { in ic_bootp_recv()
1051 u8 *opt = ext++; in ic_bootp_recv()
1054 ext += *ext + 1; in ic_bootp_recv()
1055 if (ext >= end) in ic_bootp_recv()
1116 ext = &b->exten[4]; in ic_bootp_recv()
1117 while (ext < end && *ext != 0xff) { in ic_bootp_recv()
1118 u8 *opt = ext++; in ic_bootp_recv()
1121 ext += *ext + 1; in ic_bootp_recv()
1122 if (ext < end) in ic_bootp_recv()