Searched refs:dhcp (Results 1 – 25 of 95) sorted by relevance
1234
129 #define dhcp_option_given(dhcp, idx) (dhcp_rx_options_given[idx] != 0) argument130 #define dhcp_got_option(dhcp, idx) (dhcp_rx_options_given[idx] = 1) argument131 #define dhcp_clear_option(dhcp, idx) (dhcp_rx_options_given[idx] = 0) argument132 #define dhcp_clear_all_options(dhcp) (memset(dhcp_rx_options_given, 0, sizeof(dhcp_rx_opti… argument133 #define dhcp_get_option_value(dhcp, idx) (dhcp_rx_options_val[idx]) argument134 #define dhcp_set_option_value(dhcp, idx, val) (dhcp_rx_options_val[idx] = (val)) argument146 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 …]
52 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() local284 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 …]
131 dhcp_t* dhcp = 0; in dhcp_getoptions() local141 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() local269 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 …]
116 struct dhcp_message dhcp; member150 #define get_option_raw(ctx, dhcp, opt) get_option(ctx, dhcp, opt, NULL) argument153 const struct dhcp_message *dhcp, unsigned int opt, size_t *len) in get_option() argument155 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 …]
48 struct dhcp_message *dhcp; in ipv4ll_make_lease() local51 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()
230 const struct bootp_t *dhcp = (const struct bootp_t *)pkt; in parse_dhcp() local236 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 …]
309 echo $idstring > /etc/resolv.conf.dhcp311 echo search $new_domain_name >> /etc/resolv.conf.dhcp313 echo options ndots:1 >> /etc/resolv.conf.dhcp317 echo nameserver $nameserver >> /etc/resolv.conf.dhcp320 echo nameserver 127.0.0.1 >> /etc/resolv.conf.dhcp332 mv /etc/resolv.conf.dhcp /etc/resolv.conf345 ifconfig $interface:dhcp down348 ifconfig $interface:dhcp 10.10.10.10 netmask 255.255.255.255349 ifconfig $interface:dhcp down354 ifconfig $interface:dhcp up[all …]
94 #no-dhcp-interface=136 #dhcp-range=192.168.0.50,192.168.0.150,12h142 #dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h146 #dhcp-range=red,192.168.0.50,192.168.0.150156 #dhcp-host=11:22:33:44:55:66,192.168.0.60160 #dhcp-host=11:22:33:44:55:66,fred164 #dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m172 #dhcp-host=11:22:33:44:55:66,12:34:56:78:90:12,192.168.0.60176 #dhcp-host=bert,192.168.0.70,infinite180 #dhcp-host=id:01:02:02:04,192.168.0.60[all …]
15 over-ridden by dhcp-host or dhcp-ignore-names directives.24 dhcp-boot parameters if it's specified as25 dhcp-option-force.46 corresponds to the third argument of dhcp-boot. This47 allows the complete functionality of dhcp-boot to be48 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 ident194 dhcp-option = encap:175, 190, "iscsi-client0"[all …]
51 automatically by ppp or dhcp. 136 Included code from John Volpe to parse dhcp.leases file321 release 1.10 Log warnings if resolv.conf or dhcp.leases are not616 the code to read ISC dhcp.leases. This wins in terms 627 Allow hosts to be specified by client ID in dhcp-hosts629 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 the637 Allow dhcp-host options for the same host with different[all …]
40 struct dhcp_data *dhcp; in fils_dhcp_request() local55 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() local178 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 …]
31 --dhcp-range=10.1.1.100,10.1.1.100,255.255.255.0,2m \32 --dhcp-option=option:router --dhcp-option=option:dns-server38 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
33 self.dhcp = io.StringIO()41 self.dhcp.write((u'host %(name)s {\n' +58 print f.dhcp.getvalue()
29 struct dhcp struct108 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp);110 #define dhcp_remove_struct(netif) do { (netif)->dhcp = NULL; } while(0)
23 #: cache.c:798 dhcp.c:78528 #: cache.c:856 dhcp.c:80133 #: cache.c:863 dhcp.c:875328 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 …]
23 #: cache.c:798 dhcp.c:78528 #: cache.c:856 dhcp.c:80133 #: cache.c:863 dhcp.c:875337 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 …]
23 #: cache.c:798 dhcp.c:78528 #: cache.c:856 dhcp.c:80133 #: cache.c:863 dhcp.c:875337 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 …]
25 #: cache.c:798 dhcp.c:78530 #: cache.c:856 dhcp.c:80135 #: cache.c:863 dhcp.c:875339 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 …]
24 #: cache.c:798 dhcp.c:78530 #: cache.c:856 dhcp.c:80136 #: cache.c:863 dhcp.c:875397 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 …]
22 #: cache.c:798 dhcp.c:78527 #: cache.c:856 dhcp.c:80132 #: cache.c:863 dhcp.c:875335 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 …]
27 #: cache.c:798 dhcp.c:78532 #: cache.c:856 dhcp.c:80137 #: cache.c:863 dhcp.c:875332 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 …]
23 #: cache.c:798 dhcp.c:78529 #: cache.c:856 dhcp.c:80135 #: cache.c:863 dhcp.c:875364 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 …]
... 7 +247,7 @@ 15 # The DHCP server needs somewhere on disk to keep its lease database ...