Lines Matching refs:dhcp_packet
20 from autotest_lib.client.cros import dhcp_packet
288 dhcp_packet.MESSAGE_TYPE_DISCOVERY, additional_options,
311 response_packet = dhcp_packet.DhcpPacket.create_offer_packet(
317 dhcp_packet.OPTION_PARAMETER_REQUEST_LIST)
330 dhcp_packet.MESSAGE_TYPE_REQUEST, {}, {})
349 response_packet = dhcp_packet.DhcpPacket.create_nak_packet(
379 dhcp_packet.MESSAGE_TYPE_REQUEST, additional_options,
397 server_ip = query_packet.get_option(dhcp_packet.OPTION_SERVER_ID)
398 requested_ip = query_packet.get_option(dhcp_packet.OPTION_REQUESTED_IP)
431 response_packet = dhcp_packet.DhcpPacket.create_acknowledgement_packet(
437 dhcp_packet.OPTION_PARAMETER_REQUEST_LIST)
478 if query_packet.get_option(dhcp_packet.OPTION_SERVER_ID) is not None:
483 requested_ip = query_packet.get_option(dhcp_packet.OPTION_REQUESTED_IP)
520 dhcp_packet.MESSAGE_TYPE_RELEASE, additional_options,
529 server_ip = query_packet.get_option(dhcp_packet.OPTION_SERVER_ID)
579 response_packet = dhcp_packet.DhcpPacket.create_nak_packet(
604 dhcp_packet.MESSAGE_TYPE_DECLINE, additional_options,
613 server_ip = query_packet.get_option(dhcp_packet.OPTION_SERVER_ID)