/external/autotest/client/site_tests/network_DhcpClasslessStaticRoute/ |
network_DhcpClasslessStaticRoute.py | 5 from autotest_lib.client.cros import dhcp_packet 38 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 39 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 40 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 41 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 42 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 43 dhcp_packet.OPTION_DOMAIN_NAME : domain_name, 44 dhcp_packet.OPTION_DNS_DOMAIN_SEARCH_LIST : dns_search_list, 45 dhcp_packet.OPTION_CLASSLESS_STATIC_ROUTES : [
|
/external/autotest/client/site_tests/network_DhcpNonAsciiParameter/ |
network_DhcpNonAsciiParameter.py | 5 from autotest_lib.client.cros import dhcp_packet 33 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 34 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 35 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 36 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 37 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 38 dhcp_packet.OPTION_DOMAIN_NAME : domain_name, 39 dhcp_packet.OPTION_DNS_DOMAIN_SEARCH_LIST : dns_search_list 42 dhcp_packet.FIELD_LEGACY_SERVER_NAME : server_name
|
/external/autotest/client/site_tests/network_DhcpNegotiationSuccess/ |
network_DhcpNegotiationSuccess.py | 5 from autotest_lib.client.cros import dhcp_packet 31 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 32 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 33 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 34 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 35 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 36 dhcp_packet.OPTION_DOMAIN_NAME : domain_name, 37 dhcp_packet.OPTION_DNS_DOMAIN_SEARCH_LIST : dns_search_list,
|
/external/syslinux/gpxe/src/include/gpxe/ |
dhcppkt.h | 20 struct dhcp_packet { struct 41 static inline __attribute__ (( always_inline )) struct dhcp_packet * 42 dhcppkt_get ( struct dhcp_packet *dhcppkt ) { 53 dhcppkt_put ( struct dhcp_packet *dhcppkt ) { 57 extern int dhcppkt_store ( struct dhcp_packet *dhcppkt, unsigned int tag, 59 extern int dhcppkt_fetch ( struct dhcp_packet *dhcppkt, unsigned int tag, 61 extern void dhcppkt_init ( struct dhcp_packet *dhcppkt,
|
/external/autotest/client/site_tests/network_DhcpRequestHostName/ |
network_DhcpRequestHostName.py | 9 from autotest_lib.client.cros import dhcp_packet 58 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 59 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 60 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 61 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 62 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 63 dhcp_packet.OPTION_DOMAIN_NAME : domain_name, 64 dhcp_packet.OPTION_HOST_NAME : TEST_HOSTNAME, 65 dhcp_packet.OPTION_DNS_DOMAIN_SEARCH_LIST : dns_search_list,
|
/external/autotest/client/cros/ |
dhcp_unittest.py | 15 from autotest_lib.client.cros import dhcp_packet 54 discovery_packet = dhcp_packet.DhcpPacket(byte_str=binary_discovery_packet) 70 parsed_routes = dhcp_packet.ClasslessStaticRoutesOption.unpack( 81 byte_string = dhcp_packet.ClasslessStaticRoutesOption.pack( 95 parsed_domains = dhcp_packet.DomainListOption.unpack( 107 byte_string = dhcp_packet.DomainListOption.pack( 132 packet = dhcp_packet.DhcpPacket(byte_str=data) 149 discovery_message = dhcp_packet.DhcpPacket.create_discovery_packet(mac_addr) 151 dhcp_packet.OPTION_PARAMETER_REQUEST_LIST, 152 dhcp_packet.OPTION_VALUE_PARAMETER_REQUEST_LIST_DEFAULT [all...] |
dhcp_handling_rule.py | 20 from autotest_lib.client.cros import dhcp_packet 51 dhcp_packet.OPTION_* to values. For instance: 53 {dhcp_packet.OPTION_SERVER_ID : "10.10.10.1"} 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 [all...] |
dhcp_test_base.py | 23 from autotest_lib.client.cros import dhcp_packet 245 if dhcp_packet.OPTION_REQUESTED_IP not in dhcp_options: 248 intended_ip = dhcp_options[dhcp_packet.OPTION_REQUESTED_IP] 305 expected_address = dhcp_options.get(dhcp_packet.OPTION_REQUESTED_IP) 324 expected_dns_servers = dhcp_options.get(dhcp_packet.OPTION_DNS_SERVERS) 333 expected_domain_name = dhcp_options.get(dhcp_packet.OPTION_DOMAIN_NAME) 341 expected_host_name = dhcp_options.get(dhcp_packet.OPTION_HOST_NAME) 350 dhcp_packet.OPTION_DNS_DOMAIN_SEARCH_LIST) 358 expected_routers = dhcp_options.get(dhcp_packet.OPTION_ROUTERS) 360 dhcp_options.get(dhcp_packet.OPTION_CLASSLESS_STATIC_ROUTES)) [all...] |
/external/autotest/client/site_tests/network_DhcpFQDN/ |
network_DhcpFQDN.py | 8 from autotest_lib.client.cros import dhcp_packet 36 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 37 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 38 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 39 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 40 dhcp_packet.OPTION_FULLY_QUALIFIED_DOMAIN_NAME : fqdn_option 53 dhcp_packet.OPTION_FULLY_QUALIFIED_DOMAIN_NAME ]
|
/external/autotest/client/site_tests/network_DhcpRenewWithOptionSubset/ |
network_DhcpRenewWithOptionSubset.py | 7 from autotest_lib.client.cros import dhcp_packet 34 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 35 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 36 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 37 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 38 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 42 dhcp_packet.OPTION_DOMAIN_NAME : domain_name, 43 dhcp_packet.OPTION_DNS_DOMAIN_SEARCH_LIST : dns_search_list, 50 dhcp_packet.OPTION_DOMAIN_NAME : "mail.google.com",
|
/external/autotest/client/site_tests/network_DhcpRenew/ |
network_DhcpRenew.py | 10 from autotest_lib.client.cros import dhcp_packet 47 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 48 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 49 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 50 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 51 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 52 dhcp_packet.OPTION_DOMAIN_NAME : domain_name, 53 dhcp_packet.OPTION_DNS_DOMAIN_SEARCH_LIST : dns_search_list, 54 dhcp_packet.OPTION_RENEWAL_T1_TIME_VALUE : LEASE_T1_TIME, 55 dhcp_packet.OPTION_REBINDING_T2_TIME_VALUE : LEASE_T2_TIME [all...] |
/external/autotest/client/site_tests/network_DhcpWpadNegotiation/ |
network_DhcpWpadNegotiation.py | 7 from autotest_lib.client.cros import dhcp_packet 60 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 61 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 62 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 63 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 64 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 65 dhcp_packet.OPTION_WEB_PROXY_AUTO_DISCOVERY : proxy_auto_config
|
/external/autotest/client/site_tests/network_DhcpVendorEncapsulatedOptions/ |
network_DhcpVendorEncapsulatedOptions.py | 7 from autotest_lib.client.cros import dhcp_packet 69 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 70 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 71 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 72 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 73 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 74 dhcp_packet.OPTION_VENDOR_ENCAPSULATED_OPTIONS : vendor_options 88 dhcp_packet.OPTION_VENDOR_ENCAPSULATED_OPTIONS ]
|
/external/autotest/client/site_tests/network_DhcpBrokenDefaultGateway/ |
network_DhcpBrokenDefaultGateway.py | 8 from autotest_lib.client.cros import dhcp_packet 78 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 79 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 80 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 81 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 82 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 83 dhcp_packet.OPTION_ROUTERS : [ gateway_ip ],
|
/external/autotest/client/site_tests/network_DhcpMTU/ |
network_DhcpMTU.py | 9 from autotest_lib.client.cros import dhcp_packet 64 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 65 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 66 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 67 dhcp_packet.OPTION_REQUESTED_IP : intended_ip, 68 dhcp_packet.OPTION_DNS_SERVERS : dns_servers, 69 dhcp_packet.OPTION_INTERFACE_MTU : interface_mtu
|
/external/syslinux/gpxe/src/net/ |
fakedhcp.c | 45 static int copy_encap_settings ( struct dhcp_packet *dest, 95 static int copy_settings ( struct dhcp_packet *dest, 112 struct dhcp_packet dhcppkt; 138 struct dhcp_packet dhcppkt; 179 struct dhcp_packet dhcppkt;
|
dhcppkt.c | 146 int dhcppkt_store ( struct dhcp_packet *dhcppkt, unsigned int tag, 184 int dhcppkt_fetch ( struct dhcp_packet *dhcppkt, unsigned int tag, 226 struct dhcp_packet *dhcppkt = 227 container_of ( settings, struct dhcp_packet, settings ); 244 struct dhcp_packet *dhcppkt = 245 container_of ( settings, struct dhcp_packet, settings ); 272 void dhcppkt_init ( struct dhcp_packet *dhcppkt, struct dhcphdr *data,
|
cachedhcp.c | 47 struct dhcp_packet *dhcppkt;
|
/external/syslinux/com32/include/ |
dhcp.h | 11 struct dhcp_packet { struct
|
/external/autotest/client/site_tests/network_DhcpNak/ |
network_DhcpNak.py | 7 from autotest_lib.client.cros import dhcp_packet 39 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 40 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 41 dhcp_packet.OPTION_IP_LEASE_TIME : LEASE_TIME_SECONDS, 42 dhcp_packet.OPTION_REQUESTED_IP : self.intended_ip, 43 dhcp_packet.OPTION_DNS_SERVERS : [], 44 dhcp_packet.OPTION_DOMAIN_NAME : '', 45 dhcp_packet.OPTION_DNS_DOMAIN_SEARCH_LIST : [],
|
/external/autotest/client/site_tests/network_DhcpStaticIP/ |
network_DhcpStaticIP.py | 7 from autotest_lib.client.cros import dhcp_packet 51 self._static_ip_options[dhcp_packet.OPTION_REQUESTED_IP] = ( 56 self._static_ip_options[dhcp_packet.OPTION_DNS_SERVERS] = ( 89 intended_ip = options[dhcp_packet.OPTION_REQUESTED_IP] 101 the dhcp_packet.OPTION_REQUESTED_IP element is used to configure 107 intended_ip = options[dhcp_packet.OPTION_REQUESTED_IP] 215 dhcp_packet.OPTION_SERVER_ID : self.server_ip, 216 dhcp_packet.OPTION_SUBNET_MASK : subnet_mask, 217 dhcp_packet.OPTION_IP_LEASE_TIME : self.LEASE_TIME_SECONDS, 218 dhcp_packet.OPTION_REQUESTED_IP : intended_ip [all...] |
/external/dnsmasq/contrib/wrt/ |
dhcp_lease_time.c | 61 struct dhcp_packet { struct 96 static unsigned char *option_find(struct dhcp_packet *mess, size_t size, int opt_type, int minsize) 137 struct dhcp_packet packet;
|
/external/syslinux/com32/lib/ |
dhcppack.c | 94 struct dhcp_packet *pkt = packet; 101 if (spc < sizeof(struct dhcp_packet))
|
/external/syslinux/gpxe/src/net/udp/ |
dhcp.c | 179 struct dhcp_packet *dhcppkt, 190 struct dhcp_packet *dhcppkt, 224 struct dhcp_packet *pxe; 374 struct dhcp_packet *dhcppkt __unused, 396 struct dhcp_packet *dhcppkt, 488 struct dhcp_packet *dhcppkt, 557 struct dhcp_packet *dhcppkt, 596 struct dhcp_packet *dhcppkt, 703 struct dhcp_packet *dhcppkt, 736 struct dhcp_packet *dhcppkt [all...] |
/external/dnsmasq/src/ |
dhcp.c | 103 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); 104 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); 107 void dhcp_packet(time_t now) function 109 struct dhcp_packet *mess; 137 msg.msg_iov = &daemon->dhcp_packet; 153 if ((size_t)sz == daemon->dhcp_packet.iov_len) 155 if (!expand_buf(&daemon->dhcp_packet, sz + 100)) 160 expand_buf(&daemon->dhcp_packet, sz) [all...] |