HomeSort by relevance Sort by last modified time
    Searched refs:dhcp (Results 1 - 25 of 29) sorted by null

1 2

  /external/dhcpcd/dhcpcd-hooks/
20-dns.conf 2 # DNS server addresses given by the DHCP server.
19 setprop dhcp.${intf}.dns${i} ""
24 setprop dhcp.${intf}.dns${count} ${dnsaddr}
36 setprop dhcp.${interface}.domain "${new_domain_name}$separator${new_domain_search}"
42 setprop dhcp.${intf}.dns${i} ""
45 setprop dhcp.${interface}.domain ""
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/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"
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
910 struct dhcp_message *dhcp; local
1172 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;
Android.mk 9 LOCAL_SRC_FILES := arp.c bind.c common.c control.c dhcp.c dhcpcd.c duid.c \
57 LOCAL_SRC_FILES := dhcpcd_test.cpp dhcp.c common.c
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...]
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...]
dhcpcd_test.cpp 29 // dhcp.h. This header file is not easily included, since subsequent
36 /* Max MTU - defines dhcp option length */
39 /* Sizes for DHCP options */
47 /* Some crappy DHCP servers require the BOOTP minimum length */
69 char * get_option_string(const struct dhcp_message *dhcp, uint8_t option);
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);
Makefile 4 SRCS= arp.c bind.c common.c control.c dhcp.c dhcpcd.c duid.c eloop.c
  /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 */
505 if (daemon->dhcp)
509 for (dhcp_tmp = daemon->dhcp; dhcp_tmp; dhcp_tmp = dhcp_tmp->next)
515 _("DHCP, static leases only on %.0s%s, lease time %s") :
517 _("DHCP, proxy on subnet %.0s%s%.0s")
    [all...]
dhcp.c 40 die (_("cannot create DHCP socket: %s"), NULL, EC_BADNET);
52 die(_("failed to set options on DHCP socket: %s"), NULL, EC_BADNET);
65 die(_("failed to set SO_REUSE{ADDR|PORT} on DHCP socket: %s"), NULL, EC_BADNET);
77 die(_("failed to bind DHCP server socket: %s"), NULL, EC_BADNET);
226 my_syslog(MS_DHCP | LOG_WARNING, _("DHCP packet received on %s which has no address"), ifr.ifr_name);
234 for (context = daemon->dhcp; context; context = context->next)
360 1) Discards stuff for interfaces other than the one on which a DHCP packet just arrived.
373 for (context = daemon->dhcp; context; context = context->next)
385 my_syslog(MS_DHCP | LOG_WARNING, _("DHCP range %s -- %s is not consistent with netmask %s"),
465 address. Note that none may fit, if the address came a dhcp-host and is outsid
    [all...]
dnsmasq.h 468 #define CONFIG_BANK 2048 /* from dhcp hosts file */
630 struct dhcp_context *dhcp; member in struct:daemon
666 /* DHCP state */
796 /* dhcp.c */
  /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 \
  /device/asus/fugu/
init.fugu.rc 134 mkdir /data/misc/dhcp 0770 dhcp wifi
259 group bluetooth wifi system dhcp
264 group bluetooth system dhcp
BoardConfig.mk 160 dhcp.te \
  /device/moto/shamu/
init.shamu.rc 267 mkdir /data/misc/dhcp 0770 dhcp dhcp
268 chown dhcp dhcp /data/misc/dhcp
  /device/asus/deb/
init.deb.rc 147 # to observe dnsmasq.leases file for dhcp information of soft ap.
148 chown dhcp system /data/misc/dhcp
  /device/asus/flo/
init.flo.rc 147 # to observe dnsmasq.leases file for dhcp information of soft ap.
148 chown dhcp system /data/misc/dhcp
  /device/lge/mako/
init.mako.rc 147 # to observe dnsmasq.leases file for dhcp information of soft ap.
148 chown dhcp system /data/misc/dhcp

Completed in 278 milliseconds

1 2