Lines Matching refs:ext
901 static void __init ic_do_bootp_ext(u8 *ext) in ic_do_bootp_ext() argument
910 printk("DHCP/BOOTP: Got extension %d:",*ext); in ic_do_bootp_ext()
911 for (c=ext+2; c<ext+2+ext[1]; c++) in ic_do_bootp_ext()
916 switch (*ext++) { in ic_do_bootp_ext()
919 memcpy(&ic_netmask, ext+1, 4); in ic_do_bootp_ext()
923 memcpy(&ic_gateway, ext+1, 4); in ic_do_bootp_ext()
926 servers= *ext/4; in ic_do_bootp_ext()
931 memcpy(&ic_nameservers[i], ext+1+4*i, 4); in ic_do_bootp_ext()
935 ic_bootp_string(utsname()->nodename, ext+1, *ext, in ic_do_bootp_ext()
940 ic_bootp_string(ic_domain, ext+1, *ext, sizeof(ic_domain)); in ic_do_bootp_ext()
944 ic_bootp_string(root_server_path, ext+1, *ext, in ic_do_bootp_ext()
948 memcpy(&mtu, ext+1, sizeof(mtu)); in ic_do_bootp_ext()
952 ic_bootp_string(utsname()->domainname, ext+1, *ext, in ic_do_bootp_ext()
1056 u8 *ext; in ic_bootp_recv() local
1063 ext = &b->exten[4]; in ic_bootp_recv()
1064 while (ext < end && *ext != 0xff) { in ic_bootp_recv()
1065 u8 *opt = ext++; in ic_bootp_recv()
1068 ext += *ext + 1; in ic_bootp_recv()
1069 if (ext >= end) in ic_bootp_recv()
1130 ext = &b->exten[4]; in ic_bootp_recv()
1131 while (ext < end && *ext != 0xff) { in ic_bootp_recv()
1132 u8 *opt = ext++; in ic_bootp_recv()
1135 ext += *ext + 1; in ic_bootp_recv()
1136 if (ext < end) in ic_bootp_recv()