/frameworks/base/services/net/java/android/net/dhcp/ |
DhcpDeclinePacket.java | 17 package android.net.dhcp; 23 * This class implements the DHCP-DECLINE packet.
|
DhcpDiscoverPacket.java | 17 package android.net.dhcp; 23 * 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; 23 * This class implements the DHCP-NAK packet.
|
DhcpRequestPacket.java | 17 package android.net.dhcp; 25 * This class implements the DHCP-REQUEST packet.
|
DhcpAckPacket.java | 17 package android.net.dhcp; 23 * This class implements the DHCP-ACK packet.
|
DhcpOfferPacket.java | 17 package android.net.dhcp; 23 * This class implements the DHCP-OFFER packet.
|
DhcpClient.java | 17 package android.net.dhcp; 59 import static android.net.dhcp.DhcpPacket.*; 78 * - Does not support BOOTP servers. DHCP has been around since 1993, should be everywhere now. 98 // backoff. It's maintained for backwards compatibility with the previous DHCP code, which was 105 /* Commands from controller to start/stop DHCP */ 109 /* Notification from DHCP state machine prior to DHCP discovery/renewal */ 111 /* Notification from DHCP state machine post DHCP discovery/renewal. Indicates 114 /* Notification from DHCP state machine before quitting * [all...] |
DhcpPacket.java | 1 package android.net.dhcp; 26 * DHCP protocol. Subclasses create the specific packets used at each 34 // DHCP client timeout. 53 * Minimum length of a DHCP packet, excluding options, in the above encapsulations. 98 * The client DHCP port. 103 * The server DHCP port. 129 * The magic cookie that identifies this as a DHCP packet instead of BOOTP. 134 * DHCP Optional Type: DHCP Subnet Mask 140 * DHCP Optional Type: DHCP Route [all...] |
/external/dhcpcd-6.8.2/ |
ipv4ll.c | 2 * dhcpcd - DHCP client daemon 38 #include "dhcp.h" 48 struct dhcp_message *dhcp; local 51 dhcp = calloc(1, sizeof(*dhcp)); 52 if (dhcp == NULL) 55 dhcp->yiaddr = addr; 56 p = dhcp->options; 69 return dhcp; 117 /* A DHCP lease could have already been offered [all...] |
script.c | 2 * dhcpcd - DHCP client daemon 46 #include "dhcp.h" 233 int dhcp; local 242 dhcp = 0; 259 dhcp = 1; 279 dhcp = 1; 352 || (dhcp && state && state->new) 408 if (dhcp && state && state->old) { 459 if (dhcp && state && state->new) {
|
dhcp.c | 2 * dhcpcd - DHCP client daemon 56 #include "dhcp.h" 58 #include "dhcp-common.h" 116 struct dhcp_message dhcp; member in struct:udp_dhcp_packet 150 #define get_option_raw(ctx, dhcp, opt) get_option(ctx, dhcp, opt, NULL) 153 const struct dhcp_message *dhcp, unsigned int opt, size_t *len) 155 const uint8_t *p = dhcp->options; 156 const uint8_t *e = p + sizeof(dhcp->options); 165 if (dhcp->cookie != htonl(MAGIC_COOKIE)) 716 struct dhcp_message *dhcp; local 1130 struct dhcp_message *dhcp; local 1645 struct dhcp_message *dhcp; local 2241 struct dhcp_message *dhcp; local 2829 struct dhcp_message *dhcp = *dhcpp; local 3251 struct dhcp_message *dhcp = NULL; local [all...] |
/system/core/libnetutils/ |
packet.c | 30 #define LOG_TAG "DHCP" 164 struct dhcp_msg dhcp; member in struct:dhcp_packet 199 ALOGD("UDP dest port (%d) is not DHCP client", ntohs(packet.udp.dest)); 209 /* Seems like it's probably a valid DHCP packet */ 240 memcpy(msg, &packet.dhcp, dhcp_size);
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
DhcpPacketTest.java | 17 package android.net.dhcp; 34 import static android.net.dhcp.DhcpPacket.*; 52 DhcpPacket.testOverrideVendorId = "android-dhcp-???"; 485 // 2. It uses DHCP option overloading, which we don't currently support (but it doesn't 629 // NOTE: The destination port is a non-DHCP port. [all...] |
/external/toybox/toys/pending/ |
dhcp.c | 0 /* dhcp.c - DHCP client for dynamic network configuration. 7 USE_DHCP(NEWTOY(dhcp, "V:H:F:x*r:O*A#<0=20T#<0=3t#<0=3s:p:i:SBRCaovqnbf", TOYFLAG_SBIN|TOYFLAG_ROOTONLY)) 9 config DHCP 10 bool "dhcp" 13 usage: dhcp [-fbnqvoCRB] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE] 16 Configure network dynamicaly using DHCP. 20 -s Run PROG at DHCP events (default /usr/share/dhcp/default.script) 171 dhcp_msg_t dhcp; member in struct:dhcp_raw_s [all...] |
dhcpd.c | 1 /* dhcpd.c - DHCP server for dynamic network configuration. 93 // DHCP option codes (partial list). See RFC 2132 and 165 dhcp_msg_t dhcp; member in struct:dhcp_raw_s 242 void *options[256]; // list of DHCP options loaded from the config file 340 // calculates checksum for dhcp messeges. 541 // String to dhcp option conversion 913 memcpy(&packet.dhcp, &gstate.send.send_pkt, sizeof(dhcp_msg_t)); 1012 // Preapres a dhcp packet with defaults and configs [all...] |
/external/dnsmasq/src/ |
dnsmasq.h | 468 #define CONFIG_BANK 2048 /* from dhcp hosts file */ 630 struct dhcp_context *dhcp; member in struct:daemon 666 /* DHCP state */ 797 /* dhcp.c */
|
/external/toybox/generated/ |
globals.h | 441 // toys/pending/dhcp.c 1352 struct dhcp_data dhcp; member in union:global_union
|