/external/dhcpcd/ |
ipv4ll.c | 2 * dhcpcd - DHCP client daemon 47 struct dhcp_message *dhcp; local 50 dhcp = xzalloc(sizeof(*dhcp)); 52 dhcp->yiaddr = addr; 53 p = dhcp->options; 66 return dhcp;
|
showlease.c | 6 #include "dhcp.h" 129 struct dhcp_message *dhcp; local 135 dhcp = malloc(sizeof(*dhcp)); 136 memset(dhcp, 0, sizeof(*dhcp)); 137 bytes = read(fd, dhcp, sizeof(*dhcp)); 140 free(dhcp); 141 dhcp = NULL 320 struct dhcp_message *dhcp; local [all...] |
configure.c | 2 * dhcpcd - DHCP client daemon 46 #include "dhcp.h" 172 int dhcp, ra; local 174 dhcp = ra = 0; 178 dhcp = 1; 224 if ((dhcp && iface->state->new) || (ra && iface->ras)) { 253 if (dhcp && iface->state->old) { 265 if (dhcp && iface->state->new) { 537 get_subnet_route(struct dhcp_message *dhcp) 543 addr = dhcp->yiaddr 777 struct dhcp_message *dhcp = iface->state->new; local [all...] |
net.c | 2 * dhcpcd - DHCP client daemon 67 #include "dhcp.h" 224 /* Ensure that the MTU is big enough for DHCP */ 675 struct dhcp_message dhcp; member in struct:udp_dhcp_packet 723 memcpy(&udpp->dhcp, data, length); 755 *data = udp + offsetof(struct udp_dhcp_packet, dhcp);
|
dhcp.c | 2 * dhcpcd - DHCP client daemon 38 #include "dhcp.h" 83 * Without this some DHCP servers may skip the DNS entries in the DHCP replies.*/ 94 * Without this some DHCP servers may skip the DNS entries in the DHCP replies.*/ 303 #define get_option_raw(dhcp, opt) get_option(dhcp, opt, NULL, NULL) 305 get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type) 307 const uint8_t *p = dhcp->options 906 struct dhcp_message *dhcp; local 1168 struct dhcp_message *dhcp; local [all...] |
dhcpcd.c | 2 * dhcpcd - DHCP client daemon 97 /* If set, avoid routes after a DHCP success */ 311 struct dhcp_message *dhcp; local 350 len = make_message(&dhcp, iface, type); 353 from.s_addr = dhcp->ciaddr; 359 r = send_packet(iface, to, (uint8_t *)dhcp, len); 365 len = make_udp_packet(&udp, (uint8_t *)dhcp, len, from, to); 382 free(dhcp); 443 const struct interface *iface, const struct dhcp_message *dhcp, 452 a = get_option_string(dhcp, DHO_MESSAGE) 508 struct dhcp_message *dhcp = *dhcpp; local 665 struct dhcp_message *dhcp = NULL; local 1042 struct dhcp_message *dhcp; local [all...] |
/frameworks/base/core/java/android/net/dhcp/ |
DhcpDeclinePacket.java | 17 package android.net.dhcp; 23 * This class implements the DHCP-DECLINE packet.
|
DhcpStateMachine.java | 17 package android.net.dhcp; 24 * This class defines the "next steps" which occur after a given DHCP
|
DhcpDiscoverPacket.java | 17 package android.net.dhcp; 24 * This class implements the DHCP-DISCOVER packet.
|
DhcpInformPacket.java | 17 package android.net.dhcp; 23 * This class implements the (unused) DHCP-INFORM packet.
|
DhcpNakPacket.java | 17 package android.net.dhcp; 24 * This class implements the DHCP-NAK packet.
|
DhcpAckPacket.java | 17 package android.net.dhcp; 25 * This class implements the DHCP-ACK packet.
|
DhcpOfferPacket.java | 17 package android.net.dhcp; 25 * This class implements the DHCP-OFFER packet.
|
DhcpRequestPacket.java | 17 package android.net.dhcp; 26 * This class implements the DHCP-REQUEST packet.
|
DhcpPacket.java | 1 package android.net.dhcp; 18 * DHCP protocol. Subclasses create the specific packets used at each 57 * The client DHCP port. 62 * The server DHCP port. 88 * DHCP Optional Type: DHCP Subnet Mask 94 * DHCP Optional Type: DHCP Router 100 * DHCP Optional Type: DHCP DNS Serve [all...] |
/system/core/libnetutils/ |
packet.c | 29 #define LOG_TAG "DHCP" 163 struct dhcp_msg dhcp; member in struct:dhcp_packet 198 ALOGD("UDP dest port (%d) is not DHCP client", ntohs(packet.udp.dest)); 208 /* Seems like it's probably a valid DHCP packet */ 237 memcpy(msg, &packet.dhcp, dhcp_size);
|
/external/dnsmasq/src/ |
dnsmasq.h | 466 #define CONFIG_BANK 2048 /* from dhcp hosts file */ 628 struct dhcp_context *dhcp; member in struct:daemon 664 /* DHCP state */ 794 /* dhcp.c */
|