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

  /external/dhcpcd/
showlease.c 6 #include "dhcp.h"
125 struct dhcp_message *dhcp; local
131 dhcp = malloc(sizeof(*dhcp));
132 memset(dhcp, 0, sizeof(*dhcp));
133 bytes = read(fd, dhcp, sizeof(*dhcp));
136 free(dhcp);
137 dhcp = NULL
316 struct dhcp_message *dhcp; local
    [all...]
dhcp.c 2 * dhcpcd - DHCP client daemon
37 #include "dhcp.h"
255 #define get_option_raw(dhcp, opt) get_option(dhcp, opt, NULL, NULL)
257 get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type)
259 const uint8_t *p = dhcp->options;
260 const uint8_t *e = p + sizeof(dhcp->options);
292 p = dhcp->bootfile;
293 e = p + sizeof(dhcp->bootfile);
297 p = dhcp->servername
762 struct dhcp_message *dhcp; local
1010 struct dhcp_message *dhcp; local
    [all...]
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...]
Makefile 6 SRCS= common.c dhcp.c dhcpcd.c logger.c net.c signals.c
15 DBDIR= /data/misc/dhcp
configure.c 2 * dhcpcd - DHCP client daemon
43 #include "dhcp.h"
232 configure_routes(struct interface *iface, const struct dhcp_message *dhcp,
241 ort = get_option_routes(dhcp);
245 IN_PRIVATE(ntohl(dhcp->yiaddr)))
249 * dished out by the DHCP server */
340 const struct dhcp_message *dhcp, const struct dhcp_message *old,
353 if (dhcp == NULL)
356 addr.s_addr = dhcp->yiaddr;
360 if (get_option_addr(&net, dhcp, DHO_SUBNETMASK) == -1
    [all...]
Android.mk 10 LOCAL_SRC_FILES := common.c dhcp.c dhcpcd.c logger.c net.c \
net.c 2 * dhcpcd - DHCP client daemon
64 #include "dhcp.h"
417 /* Ensure that the MTU is big enough for DHCP */
548 struct dhcp_message dhcp; member in struct:udp_dhcp_packet
596 memcpy(&udpp->dhcp, data, length);
632 *data = udp + offsetof(struct udp_dhcp_packet, dhcp);
  /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} ""
  /build/target/board/generic_x86/
buildspec-generic_x86.mk 5 # The eth0 device should be started with dhcp on boot.
  /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...]
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 466 #define CONFIG_BANK 2048 /* from dhcp hosts file */
628 struct dhcp_context *dhcp; member in struct:daemon
664 /* DHCP state */
793 /* dhcp.c */
option.c 125 { "dhcp-leasefile", 2, 0, 'l' },
126 { "dhcp-lease", 1, 0, 'l' },
127 { "dhcp-host", 1, 0, 'G' },
128 { "dhcp-range", 1, 0, 'F' },
129 { "dhcp-option", 1, 0, 'O' },
130 { "dhcp-boot", 1, 0, 'M' },
153 { "no-dhcp-interface", 1, 0, '2' },
155 { "dhcp-lease-max", 1, 0, 'X' },
159 { "dhcp-vendorclass", 1, 0, 'U' },
160 { "dhcp-userclass", 1, 0, 'j' }
    [all...]
rfc2131.c 25 /* The Linux in-kernel DHCP client silently ignores any packet
164 /* check for DHCP rather than BOOTP */
169 /* only insist on a cookie for DHCP. */
320 for (context_tmp = daemon->dhcp; context_tmp; context_tmp = context_tmp->next)
336 // my_syslog(MS_DHCP | LOG_WARNING, _("no address range available for DHCP request %s %s"),
352 my_syslog(MS_DHCP | LOG_INFO, _("%u Available DHCP subnet: %s/%s"),
355 my_syslog(MS_DHCP | LOG_INFO, _("%u Available DHCP range: %s -- %s"),
482 /* infinite lease unless nailed in dhcp-host line. */
602 /* dhcp-match. If we have hex-and-wildcards, look for a left-anchored match.
781 /* proxy DHCP here. The DHCPREQUEST stuff is for gPXE *
    [all...]
  /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/libnetutils/
packet.c 29 #define LOG_TAG "DHCP"
163 struct dhcp_msg dhcp; member in struct:dhcp_packet
198 LOGD("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/iproute2/doc/
ip-cref.tex     [all...]

Completed in 478 milliseconds