Home
last modified time | relevance | path

Searched refs:dhcp (Results 1 – 25 of 95) sorted by relevance

1234

/external/syslinux/core/lwip/src/core/
Ddhcp.c129 #define dhcp_option_given(dhcp, idx) (dhcp_rx_options_given[idx] != 0) argument
130 #define dhcp_got_option(dhcp, idx) (dhcp_rx_options_given[idx] = 1) argument
131 #define dhcp_clear_option(dhcp, idx) (dhcp_rx_options_given[idx] = 0) argument
132 #define dhcp_clear_all_options(dhcp) (memset(dhcp_rx_options_given, 0, sizeof(dhcp_rx_opti… argument
133 #define dhcp_get_option_value(dhcp, idx) (dhcp_rx_options_val[idx]) argument
134 #define dhcp_set_option_value(dhcp, idx, val) (dhcp_rx_options_val[idx] = (val)) argument
146 static void dhcp_set_state(struct dhcp *dhcp, u8_t new_state);
158 static err_t dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type);
160 static void dhcp_delete_msg(struct dhcp *dhcp);
162 static void dhcp_option(struct dhcp *dhcp, u8_t option_type, u8_t option_len);
[all …]
/external/syslinux/gpxe/src/net/udp/
Ddhcp.c52 static int dhcp_tx ( struct dhcp_session *dhcp );
178 int ( * tx ) ( struct dhcp_session *dhcp,
189 void ( * rx ) ( struct dhcp_session *dhcp,
197 void ( * expired ) ( struct dhcp_session *dhcp );
279 struct dhcp_session *dhcp = in dhcp_free() local
284 if ( dhcp->offers[i].pxe ) in dhcp_free()
285 dhcppkt_put ( dhcp->offers[i].pxe ); in dhcp_free()
288 netdev_put ( dhcp->netdev ); in dhcp_free()
289 free ( dhcp ); in dhcp_free()
298 static void dhcp_finished ( struct dhcp_session *dhcp, int rc ) { in dhcp_finished() argument
[all …]
/external/syslinux/com32/lua/src/
Ddhcp.c131 dhcp_t* dhcp = 0; in dhcp_getoptions() local
141 dhcp = (dhcp_t*)dhcpdata; in dhcp_getoptions()
146 uint8_t* ptr = (uint8_t*)&dhcp->options; in dhcp_getoptions()
258 dhcp_t* dhcp = 0; in dhcp_gettable() local
269 dhcp = (dhcp_t*)dhcpdata; in dhcp_gettable()
275 lua_pushinteger(L, dhcp->op); in dhcp_gettable()
279 lua_pushinteger(L, dhcp->htype); in dhcp_gettable()
283 lua_pushinteger(L, dhcp->hlen); in dhcp_gettable()
287 lua_pushinteger(L, dhcp->hops); in dhcp_gettable()
291 lua_pushinteger(L, ntohl(dhcp->xid)); in dhcp_gettable()
[all …]
/external/dhcpcd-6.8.2/
Ddhcp.c116 struct dhcp_message dhcp; member
150 #define get_option_raw(ctx, dhcp, opt) get_option(ctx, dhcp, opt, NULL) argument
153 const struct dhcp_message *dhcp, unsigned int opt, size_t *len) in get_option() argument
155 const uint8_t *p = dhcp->options; in get_option()
156 const uint8_t *e = p + sizeof(dhcp->options); in get_option()
165 if (dhcp->cookie != htonl(MAGIC_COOKIE)) { in get_option()
205 p = dhcp->bootfile; in get_option()
206 e = p + sizeof(dhcp->bootfile); in get_option()
210 p = dhcp->servername; in get_option()
211 e = p + sizeof(dhcp->servername); in get_option()
[all …]
Dipv4ll.c48 struct dhcp_message *dhcp; in ipv4ll_make_lease() local
51 dhcp = calloc(1, sizeof(*dhcp)); in ipv4ll_make_lease()
52 if (dhcp == NULL) in ipv4ll_make_lease()
55 dhcp->yiaddr = addr; in ipv4ll_make_lease()
56 p = dhcp->options; in ipv4ll_make_lease()
69 return dhcp; in ipv4ll_make_lease()
/external/syslinux/core/fs/pxe/
Ddhcp_option.c230 const struct bootp_t *dhcp = (const struct bootp_t *)pkt; in parse_dhcp() local
236 if (ip_ok(dhcp->yip)) in parse_dhcp()
237 IPInfo.myip = dhcp->yip; in parse_dhcp()
239 if (ip_ok(dhcp->sip)) in parse_dhcp()
240 IPInfo.serverip = dhcp->sip; in parse_dhcp()
242 opt_len = (char *)dhcp + pkt_len - (char *)&dhcp->options; in parse_dhcp()
243 if (opt_len && (dhcp->option_magic == BOOTP_OPTION_MAGIC)) in parse_dhcp()
244 parse_dhcp_options(&dhcp->options, opt_len, 0); in parse_dhcp()
247 parse_dhcp_options(&dhcp->bootfile, 128, 0); in parse_dhcp()
248 else if (dhcp->bootfile[0]) in parse_dhcp()
[all …]
/external/iproute2/examples/
Ddhcp-client-script309 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.255
349 ifconfig $interface:dhcp down
354 ifconfig $interface:dhcp up
[all …]
/external/dnsmasq/
Ddnsmasq.conf.example94 #no-dhcp-interface=
136 #dhcp-range=192.168.0.50,192.168.0.150,12h
142 #dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
146 #dhcp-range=red,192.168.0.50,192.168.0.150
156 #dhcp-host=11:22:33:44:55:66,192.168.0.60
160 #dhcp-host=11:22:33:44:55:66,fred
164 #dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m
172 #dhcp-host=11:22:33:44:55:66,12:34:56:78:90:12,192.168.0.60
176 #dhcp-host=bert,192.168.0.70,infinite
180 #dhcp-host=id:01:02:02:04,192.168.0.60
[all …]
DCHANGELOG15 over-ridden by dhcp-host or dhcp-ignore-names directives.
24 dhcp-boot parameters if it's specified as
25 dhcp-option-force.
46 corresponds to the third argument of dhcp-boot. This
47 allows the complete functionality of dhcp-boot to be
48 replicated with dhcp-option. Useful when using
49 dhcp-optsfile.
68 Honour dhcp-ignore configuration for PXE and proxy-PXE
124 "dnsmasq-dhcp" and messages from TFTP have ident
194 dhcp-option = encap:175, 190, "iscsi-client0"
[all …]
DCHANGELOG.archive51 automatically by ppp or dhcp.
136 Included code from John Volpe to parse dhcp.leases file
321 release 1.10 Log warnings if resolv.conf or dhcp.leases are not
616 the code to read ISC dhcp.leases. This wins in terms
627 Allow hosts to be specified by client ID in dhcp-hosts
629 dhcp-host=<hardware addr>,....
630 dhcp-host=id:<hex client id>,.....
631 dhcp-host=id:<ascii client id>,.....
633 Allow dhcp-host options to specify any IP address on the
637 Allow dhcp-host options for the same host with different
[all …]
/external/wpa_supplicant_8/src/ap/
Dfils_hlp.c40 struct dhcp_data *dhcp; in fils_dhcp_request() local
55 dhcp = (struct dhcp_data *) pos; in fils_dhcp_request()
56 pos = (u8 *) (dhcp + 1); in fils_dhcp_request()
91 sta->hlp_dhcp_discover->used = pos - (u8 *) dhcp; in fils_dhcp_request()
155 struct dhcp_data *dhcp; in fils_dhcp_handler() local
178 if ((size_t) res < sizeof(*dhcp)) in fils_dhcp_handler()
180 dhcp = (struct dhcp_data *) buf; in fils_dhcp_handler()
181 if (dhcp->op != 2) in fils_dhcp_handler()
183 if (dhcp->relay_ip != hapd->conf->own_ip_addr.u.v4.s_addr) { in fils_dhcp_handler()
186 dhcp->relay_ip); in fils_dhcp_handler()
[all …]
/external/ltp/testcases/network/dhcp/
Ddnsmasq_tests.sh31 --dhcp-range=10.1.1.100,10.1.1.100,255.255.255.0,2m \
32 --dhcp-option=option:router --dhcp-option=option:dns-server
38 dnsmasq --dhcp-range=fd00::1,fd00::1 --test > /dev/null 2>&1 || \
42 --dhcp-range=fd00:1:1:2::100,fd00:1:1:2::100 --enable-ra \
43 --dhcp-option=option6:dns-server
/external/autotest/client/cros/cellular/
Dlabconfig_write_stanzas33 self.dhcp = io.StringIO()
41 self.dhcp.write((u'host %(name)s {\n' +
58 print f.dhcp.getvalue()
/external/syslinux/core/lwip/src/include/lwip/
Ddhcp.h29 struct dhcp struct
108 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp);
110 #define dhcp_remove_struct(netif) do { (netif)->dhcp = NULL; } while(0)
/external/dnsmasq/po/
Dpt_BR.po23 #: cache.c:798 dhcp.c:785
28 #: cache.c:856 dhcp.c:801
33 #: cache.c:863 dhcp.c:875
328 msgid "Display this message. Use --help dhcp for known DHCP options."
532 msgid "bad dhcp-option"
540 msgid "bad domain in dhcp-option"
544 msgid "dhcp-option too long"
548 msgid "illegal dhcp-match"
565 msgid "only one dhcp-hostsfile allowed"
569 msgid "only one dhcp-optsfile allowed"
[all …]
Dit.po23 #: cache.c:798 dhcp.c:785
28 #: cache.c:856 dhcp.c:801
33 #: cache.c:863 dhcp.c:875
328 msgid "Display this message. Use --help dhcp for known DHCP options."
532 msgid "bad dhcp-option"
540 msgid "bad domain in dhcp-option"
544 msgid "dhcp-option too long"
548 msgid "illegal dhcp-match"
565 msgid "only one dhcp-hostsfile allowed"
569 msgid "only one dhcp-optsfile allowed"
[all …]
Dfi.po23 #: cache.c:798 dhcp.c:785
28 #: cache.c:856 dhcp.c:801
33 #: cache.c:863 dhcp.c:875
328 msgid "Display this message. Use --help dhcp for known DHCP options."
532 msgid "bad dhcp-option"
540 msgid "bad domain in dhcp-option"
544 msgid "dhcp-option too long"
548 msgid "illegal dhcp-match"
565 msgid "only one dhcp-hostsfile allowed"
569 msgid "only one dhcp-optsfile allowed"
[all …]
Des.po23 #: cache.c:798 dhcp.c:785
28 #: cache.c:856 dhcp.c:801
33 #: cache.c:863 dhcp.c:875
337 msgid "Display this message. Use --help dhcp for known DHCP options."
338 msgstr "Mostrar este mensaje. Usar --help dhcp para opciones DHCP conocidas."
549 msgid "bad dhcp-option"
550 msgstr "opci�n dhcp-option err�nea"
558 msgid "bad domain in dhcp-option"
559 msgstr "dominio err�neo en dhcp-option"
562 msgid "dhcp-option too long"
[all …]
Dro.po23 #: cache.c:798 dhcp.c:785
28 #: cache.c:856 dhcp.c:801
33 #: cache.c:863 dhcp.c:875
337 msgid "Display this message. Use --help dhcp for known DHCP options."
548 msgid "bad dhcp-option"
549 msgstr "dhcp-option invalid"
557 msgid "bad domain in dhcp-option"
558 msgstr "domeniu DNS invalid în declaraţia dhcp-option"
561 msgid "dhcp-option too long"
562 msgstr "declararea dhcp-option este prea lungă"
[all …]
Dno.po25 #: cache.c:798 dhcp.c:785
30 #: cache.c:856 dhcp.c:801
35 #: cache.c:863 dhcp.c:875
339 msgid "Display this message. Use --help dhcp for known DHCP options."
550 msgid "bad dhcp-option"
551 msgstr "d�rlig dhcp-opsjon"
559 msgid "bad domain in dhcp-option"
560 msgstr "d�rlig domene i dhcp-opsjon"
563 msgid "dhcp-option too long"
564 msgstr "dhcp-opsjon for lang"
[all …]
Did.po24 #: cache.c:798 dhcp.c:785
30 #: cache.c:856 dhcp.c:801
36 #: cache.c:863 dhcp.c:875
397 msgid "Display this message. Use --help dhcp for known DHCP options."
628 msgid "bad dhcp-option"
629 msgstr "dhcp-option salah"
639 msgid "bad domain in dhcp-option"
640 msgstr "domain dalam dhcp-option salah"
644 msgid "dhcp-option too long"
645 msgstr "dhcp-option terlalu panjang"
[all …]
Dfr.po22 #: cache.c:798 dhcp.c:785
27 #: cache.c:856 dhcp.c:801
32 #: cache.c:863 dhcp.c:875
335 msgid "Display this message. Use --help dhcp for known DHCP options."
336 msgstr "Afficher ce message. Utiliser --help dhcp pour obtenir la liste des options DHCP connues."
547 msgid "bad dhcp-option"
548 msgstr "mauvaise valeur de 'dhcp-option'"
556 msgid "bad domain in dhcp-option"
557 msgstr "mauvais domaine dans dhcp-option"
560 msgid "dhcp-option too long"
[all …]
Dpl.po27 #: cache.c:798 dhcp.c:785
32 #: cache.c:856 dhcp.c:801
37 #: cache.c:863 dhcp.c:875
332 msgid "Display this message. Use --help dhcp for known DHCP options."
333 msgstr "Wy�wietla ten komunikat. U�yj '--help dhcp' chc�c przejrze� list� opcji DHCP (dhcp-option=x…
483 msgstr "Uruchamianie skryptu dhcp-script jako wskazany u�ytkownik."
538 msgid "bad dhcp-option"
539 msgstr "b��d w dhcp-option"
546 msgid "bad domain in dhcp-option"
547 msgstr "nieprawid�owa nazwa domeny w dhcp-option"
[all …]
Dde.po23 #: cache.c:798 dhcp.c:785
29 #: cache.c:856 dhcp.c:801
35 #: cache.c:863 dhcp.c:875
364 msgid "Display this message. Use --help dhcp for known DHCP options."
568 msgid "bad dhcp-option"
578 msgid "bad domain in dhcp-option"
582 msgid "dhcp-option too long"
586 msgid "illegal dhcp-match"
603 msgid "only one dhcp-hostsfile allowed"
607 msgid "only one dhcp-optsfile allowed"
[all …]
/external/dnsmasq/contrib/slackware-dnsmasq/
Ddnsmasq.leasedir.diff.gz ... 7 +247,7 @@ 15 # The DHCP server needs somewhere on disk to keep its lease database ...

1234