/external/dhcpcd/ |
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...] |
dhcp.c | 2 * dhcpcd - DHCP client daemon 38 #include "dhcp.h" 297 #define get_option_raw(dhcp, opt) get_option(dhcp, opt, NULL, NULL) 299 get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type) 301 const uint8_t *p = dhcp->options; 302 const uint8_t *e = p + sizeof(dhcp->options); 315 opt_buffer = xmalloc(sizeof(*dhcp)); 336 p = dhcp->bootfile; 337 e = p + sizeof(dhcp->bootfile) 830 struct dhcp_message *dhcp; local 1092 struct dhcp_message *dhcp; local [all...] |
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;
|
client.c | 2 * dhcpcd - DHCP client daemon 50 #include "dhcp.h" 327 struct dhcp_message *dhcp; local 330 dhcp = xzalloc(sizeof(*dhcp)); 332 p = dhcp->options; 346 dhcp->yiaddr = htonl(LINKLOCAL_ADDR | 349 if (dhcp->yiaddr != old_addr && 350 IN_LINKLOCAL(ntohl(dhcp->yiaddr))) 353 return dhcp; 394 struct dhcp_message *dhcp = NULL; local 637 struct dhcp_message *dhcp; local 1379 struct dhcp_message *dhcp = *dhcpp; local 1538 struct dhcp_message *dhcp = NULL; local [all...] |
dhcpcd.c | 2 * dhcpcd - DHCP client daemon 95 /* If set, avoid routes after a DHCP success */ 295 struct dhcp_message *dhcp; local 334 len = make_message(&dhcp, iface, type); 337 from.s_addr = dhcp->ciaddr; 343 r = send_packet(iface, to, (uint8_t *)dhcp, len); 349 len = make_udp_packet(&udp, (uint8_t *)dhcp, len, from, to); 366 free(dhcp); 427 const struct interface *iface, const struct dhcp_message *dhcp, 436 a = get_option_string(dhcp, DHO_MESSAGE) 492 struct dhcp_message *dhcp = *dhcpp; local 639 struct dhcp_message *dhcp = NULL; local 982 struct dhcp_message *dhcp; local [all...] |
Android.mk | 9 LOCAL_SRC_FILES := arp.c bind.c common.c control.c dhcp.c dhcpcd.c duid.c \
|
/external/dhcpcd/dhcpcd-hooks/ |
20-dns.conf | 2 # DNS server addresses given by the DHCP server. 12 setprop dhcp.${interface}.dns${i} "" 17 setprop dhcp.${interface}.dns${count} ${dnsaddr} 25 setprop dhcp.${interface}.dns${i} ""
|
50-ntp.conf | 13 # Debian has a seperate file for DHCP config to avoid stamping on 16 : ${NTP_DHCP_CONF:=/var/lib/ntp/ntp.conf.dhcp}
|
/external/iproute2/etc/iproute2/ |
rt_protos | 17 16 dhcp
|
/external/iproute2/examples/ |
dhcp-client-script | 233 # BEWARE: this feature of DHCP is obsolete, because does not 297 # The script mangles it, only if it has dhcp magic signature. 309 echo $idstring > /etc/resolv.conf.dhcp 311 echo search $new_domain_name >> /etc/resolv.conf.dhcp 313 echo options ndots:1 >> /etc/resolv.conf.dhcp 317 echo nameserver $nameserver >> /etc/resolv.conf.dhcp 320 echo nameserver 127.0.0.1 >> /etc/resolv.conf.dhcp 332 mv /etc/resolv.conf.dhcp /etc/resolv.conf 345 ifconfig $interface:dhcp down 348 ifconfig $interface:dhcp 10.10.10.10 netmask 255.255.255.25 [all...] |
/external/dnsmasq/src/ |
Android.mk | 6 LOCAL_SRC_FILES := bpf.c cache.c dbus.c dhcp.c dnsmasq.c forward.c helper.c lease.c log.c \
|
dnsmasq.c | 47 "DHCP " 126 if (daemon->dhcp) 163 if (daemon->dhcp) 216 if (daemon->dhcp && daemon->lease_change_command && daemon->scriptuser) 369 if (daemon->dhcp && daemon->lease_change_command) 391 CAP_NET_RAW (for icmp) if we're doing dhcp */ 499 if (daemon->dhcp) 503 for (dhcp_tmp = daemon->dhcp; dhcp_tmp; dhcp_tmp = dhcp_tmp->next) 509 _("DHCP, static leases only on %.0s%s, lease time %s") : 511 _("DHCP, proxy on subnet %.0s%s%.0s") [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.
|
DhcpRequestPacket.java | 17 package android.net.dhcp; 26 * This class implements the DHCP-REQUEST 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.
|
/external/dnsmasq/contrib/port-forward/ |
dnsmasq-portforward | 5 # A script which gets run when the dnsmasq DHCP lease database changes. 12 # dhcp-script=/usr/sbin/dnsmasq-portforward 19 LOGFILE=/var/log/dhcp.log
|
/external/dnsmasq/bld/ |
Makefile | 4 dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o \
|
/system/extras/tests/fstest/ |
perm_checker.conf | 25 /data/misc/dhcp/ 700 770 root dhcp dhcp dhcp 26 /data/misc/dhcp/... 000 660 root dhcp dhcp dhcp
|
/system/core/netcfg/ |
netcfg.c | 26 #include <netutils/dhcp.h> 47 fprintf(stderr,"usage: netcfg [<interface> {dhcp|up|down}]\n"); 107 { "dhcp", 1, do_dhcp },
|
/system/core/nexus/ |
DhcpClient.cpp | 31 #include <netutils/dhcp.h> 56 LOGD("Starting DHCP service (arp probe = %d)", mDoArpProbe); 75 LOGE("Failed to create DHCP listener socket"); 85 LOGE("Failed to bind DHCP listener socket"); 93 LOGE("Failed to start dhcp service"); 129 LOGW("Failed to stop DHCP service (%s)", strerror(errno));
|