Lines Matching refs:e
547 u8 *e = options; in ic_dhcp_init_options() local
553 memcpy(e, ic_bootp_cookie, 4); /* RFC1048 Magic Cookie */ in ic_dhcp_init_options()
554 e += 4; in ic_dhcp_init_options()
556 *e++ = 53; /* DHCP message type */ in ic_dhcp_init_options()
557 *e++ = 1; in ic_dhcp_init_options()
558 *e++ = mt; in ic_dhcp_init_options()
561 *e++ = 54; /* Server ID (IP address) */ in ic_dhcp_init_options()
562 *e++ = 4; in ic_dhcp_init_options()
563 memcpy(e, &ic_servaddr, 4); in ic_dhcp_init_options()
564 e += 4; in ic_dhcp_init_options()
566 *e++ = 50; /* Requested IP address */ in ic_dhcp_init_options()
567 *e++ = 4; in ic_dhcp_init_options()
568 memcpy(e, &ic_myaddr, 4); in ic_dhcp_init_options()
569 e += 4; in ic_dhcp_init_options()
584 *e++ = 55; /* Parameter request list */ in ic_dhcp_init_options()
585 *e++ = sizeof(ic_req_params); in ic_dhcp_init_options()
586 memcpy(e, ic_req_params, sizeof(ic_req_params)); in ic_dhcp_init_options()
587 e += sizeof(ic_req_params); in ic_dhcp_init_options()
590 *e++ = 255; /* End of the list */ in ic_dhcp_init_options()
595 static void __init ic_bootp_init_ext(u8 *e) in ic_bootp_init_ext() argument
597 memcpy(e, ic_bootp_cookie, 4); /* RFC1048 Magic Cookie */ in ic_bootp_init_ext()
598 e += 4; in ic_bootp_init_ext()
599 *e++ = 1; /* Subnet mask request */ in ic_bootp_init_ext()
600 *e++ = 4; in ic_bootp_init_ext()
601 e += 4; in ic_bootp_init_ext()
602 *e++ = 3; /* Default gateway request */ in ic_bootp_init_ext()
603 *e++ = 4; in ic_bootp_init_ext()
604 e += 4; in ic_bootp_init_ext()
605 *e++ = 5; /* Name server reqeust */ in ic_bootp_init_ext()
606 *e++ = 8; in ic_bootp_init_ext()
607 e += 8; in ic_bootp_init_ext()
608 *e++ = 12; /* Host name request */ in ic_bootp_init_ext()
609 *e++ = 32; in ic_bootp_init_ext()
610 e += 32; in ic_bootp_init_ext()
611 *e++ = 40; /* NIS Domain name request */ in ic_bootp_init_ext()
612 *e++ = 32; in ic_bootp_init_ext()
613 e += 32; in ic_bootp_init_ext()
614 *e++ = 17; /* Boot path */ in ic_bootp_init_ext()
615 *e++ = 40; in ic_bootp_init_ext()
616 e += 40; in ic_bootp_init_ext()
618 *e++ = 57; /* set extension buffer size for reply */ in ic_bootp_init_ext()
619 *e++ = 2; in ic_bootp_init_ext()
620 *e++ = 1; /* 128+236+8+20+14, see dhcpd sources */ in ic_bootp_init_ext()
621 *e++ = 150; in ic_bootp_init_ext()
623 *e++ = 255; /* End of the list */ in ic_bootp_init_ext()