Searched defs:dhcp (Results 1 - 25 of 27) sorted by relevance

12

/external/syslinux/gpxe/src/usr/
H A Ddhcpmgmt.c25 #include <gpxe/dhcp.h>
39 int dhcp ( struct net_device *netdev ) { function
/external/syslinux/com32/lua/src/
H A Ddhcp.c30 * dhcp.c
85 t = dhcp.gettable()
93 #include "dhcp.h"
131 dhcp_t* dhcp = 0; local
141 dhcp = (dhcp_t*)dhcpdata;
146 uint8_t* ptr = (uint8_t*)&dhcp->options;
258 dhcp_t* dhcp = 0; local
269 dhcp = (dhcp_t*)dhcpdata;
275 lua_pushinteger(L, dhcp->op);
279 lua_pushinteger(L, dhcp
[all...]
H A Ddhcp.h31 typedef struct dhcp { struct
/external/dhcpcd-6.8.2/
H A Dipv4ll.c38 #include "dhcp.h"
48 struct dhcp_message *dhcp; local
51 dhcp = calloc(1, sizeof(*dhcp));
52 if (dhcp == NULL)
55 dhcp->yiaddr = addr;
56 p = dhcp->options;
69 return dhcp;
H A Dscript.c46 #include "dhcp.h"
233 int dhcp; local
242 dhcp = 0;
259 dhcp = 1;
279 dhcp = 1;
352 || (dhcp && state && state->new)
408 if (dhcp && state && state->old) {
459 if (dhcp && state && state->new) {
H A Ddhcp.c56 #include "dhcp.h"
58 #include "dhcp-common.h"
116 struct dhcp_message dhcp; member in struct:udp_dhcp_packet
150 #define get_option_raw(ctx, dhcp, opt) get_option(ctx, dhcp, opt, NULL)
153 const struct dhcp_message *dhcp, unsigned int opt, size_t *len)
155 const uint8_t *p = dhcp->options;
156 const uint8_t *e = p + sizeof(dhcp->options);
165 if (dhcp->cookie != htonl(MAGIC_COOKIE)) {
205 p = dhcp
152 get_option(struct dhcpcd_ctx *ctx, const struct dhcp_message *dhcp, unsigned int opt, size_t *len) argument
242 get_option_addr(struct dhcpcd_ctx *ctx, struct in_addr *a, const struct dhcp_message *dhcp, uint8_t option) argument
257 get_option_uint32(struct dhcpcd_ctx *ctx, uint32_t *i, const struct dhcp_message *dhcp, uint8_t option) argument
274 get_option_uint8(struct dhcpcd_ctx *ctx, uint8_t *i, const struct dhcp_message *dhcp, uint8_t option) argument
530 get_option_string(struct dhcpcd_ctx *ctx, const struct dhcp_message *dhcp, uint8_t option) argument
582 get_option_routes(struct interface *ifp, const struct dhcp_message *dhcp) argument
688 dhcp_message_add_addr(struct dhcp_message *dhcp, uint8_t type, struct in_addr addr) argument
716 struct dhcp_message *dhcp; local
1069 write_lease(const struct interface *ifp, const struct dhcp_message *dhcp) argument
1130 struct dhcp_message *dhcp; local
1278 dhcp_env(char **env, const char *prefix, const struct dhcp_message *dhcp, const struct interface *ifp) argument
1429 get_lease(struct dhcpcd_ctx *ctx, struct dhcp_lease *lease, const struct dhcp_message *dhcp) argument
1645 struct dhcp_message *dhcp; local
2241 struct dhcp_message *dhcp; local
2469 log_dhcp1(int lvl, const char *msg, const struct interface *ifp, const struct dhcp_message *dhcp, const struct in_addr *from, int ad) argument
2533 log_dhcp(int lvl, const char *msg, const struct interface *ifp, const struct dhcp_message *dhcp, const struct in_addr *from) argument
2829 struct dhcp_message *dhcp = *dhcpp; local
3251 struct dhcp_message *dhcp = NULL; local
[all...]
/external/syslinux/core/fs/pxe/
H A Ddhcp_option.c230 const struct bootp_t *dhcp = (const struct bootp_t *)pkt; local
236 if (ip_ok(dhcp->yip))
237 IPInfo.myip = dhcp->yip;
239 if (ip_ok(dhcp->sip))
240 IPInfo.serverip = dhcp->sip;
242 opt_len = (char *)dhcp + pkt_len - (char *)&dhcp->options;
243 if (opt_len && (dhcp->option_magic == BOOTP_OPTION_MAGIC))
244 parse_dhcp_options(&dhcp->options, opt_len, 0);
247 parse_dhcp_options(&dhcp
[all...]
/external/syslinux/com32/cmenu/
H A Dcomplex.c33 static char dhcpnet[] = "<n>etwork [dhcp]";
48 t_menuitem *stat, *dhcp, *none, *prepopt, *secret; variable
208 if (mi->data == (void *)dhcp)
284 dhcp = add_item("<d>hcp", "Use DHCP", OPT_RADIOITEM, "dhcp ", 0);
/external/syslinux/com32/hdt/
H A Dhdt-common.c441 pxe_bootp_t *dhcp = &hardware->pxe.dhcpdata; local
445 "%02x:%02x:%02x:%02x:%02x:%02x", dhcp->CAddr[0],
446 dhcp->CAddr[1], dhcp->CAddr[2], dhcp->CAddr[3],
447 dhcp->CAddr[4], dhcp->CAddr[5]);
/external/syslinux/core/lwip/src/include/lwip/
H A Dnetif.h46 struct dhcp;
67 * by dhcp/autoip when an address has been assigned.
171 struct dhcp *dhcp; member in struct:netif
H A Ddhcp.h29 struct dhcp struct
52 ip_addr_t server_ip_addr; /* dhcp server address that offered this lease */
108 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp);
109 /** Remove a struct dhcp previously set to the netif using dhcp_set_struct() */
110 #define dhcp_remove_struct(netif) do { (netif)->dhcp = NULL; } while(0)
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dfils_hlp.c13 #include "common/dhcp.h"
40 struct dhcp_data *dhcp; local
55 dhcp = (struct dhcp_data *) pos;
56 pos = (u8 *) (dhcp + 1);
91 sta->hlp_dhcp_discover->used = pos - (u8 *) dhcp;
155 struct dhcp_data *dhcp; local
178 if ((size_t) res < sizeof(*dhcp))
180 dhcp = (struct dhcp_data *) buf;
181 if (dhcp->op != 2)
183 if (dhcp
329 const struct dhcp_data *dhcp; local
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dfils_hlp.c13 #include "common/dhcp.h"
40 struct dhcp_data *dhcp; local
55 dhcp = (struct dhcp_data *) pos;
56 pos = (u8 *) (dhcp + 1);
91 sta->hlp_dhcp_discover->used = pos - (u8 *) dhcp;
155 struct dhcp_data *dhcp; local
178 if ((size_t) res < sizeof(*dhcp))
180 dhcp = (struct dhcp_data *) buf;
181 if (dhcp->op != 2)
183 if (dhcp
329 const struct dhcp_data *dhcp; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dfils_hlp.c13 #include "common/dhcp.h"
40 struct dhcp_data *dhcp; local
55 dhcp = (struct dhcp_data *) pos;
56 pos = (u8 *) (dhcp + 1);
91 sta->hlp_dhcp_discover->used = pos - (u8 *) dhcp;
155 struct dhcp_data *dhcp; local
178 if ((size_t) res < sizeof(*dhcp))
180 dhcp = (struct dhcp_data *) buf;
181 if (dhcp->op != 2)
183 if (dhcp
329 const struct dhcp_data *dhcp; local
[all...]
/external/syslinux/gpxe/src/arch/i386/include/gpxe/
H A Dibft.h176 struct ibft_ipaddr dhcp; member in struct:ibft_nic
/external/syslinux/core/lwip/src/core/
H A Ddhcp.c53 * In lwip/dhcp.h
80 #include "lwip/dhcp.h"
107 * This might be moved into the struct dhcp (not necessarily since
122 @todo: move this into struct dhcp? */
126 @todo: move this into struct dhcp? */
129 #define dhcp_option_given(dhcp, idx) (dhcp_rx_options_given[idx] != 0)
130 #define dhcp_got_option(dhcp, idx) (dhcp_rx_options_given[idx] = 1)
131 #define dhcp_clear_option(dhcp, idx) (dhcp_rx_options_given[idx] = 0)
132 #define dhcp_clear_all_options(dhcp) (memset(dhcp_rx_options_given, 0, sizeof(dhcp_rx_options_given)))
133 #define dhcp_get_option_value(dhcp, id
185 struct dhcp *dhcp = netif->dhcp; local
213 struct dhcp *dhcp = netif->dhcp; local
240 struct dhcp *dhcp = netif->dhcp; local
271 struct dhcp *dhcp = netif->dhcp; local
400 struct dhcp *dhcp = netif->dhcp; local
463 struct dhcp *dhcp = netif->dhcp; local
485 struct dhcp *dhcp = netif->dhcp; local
506 struct dhcp *dhcp = netif->dhcp; local
583 dhcp_set_struct(struct netif *netif, struct dhcp *dhcp) argument
627 struct dhcp *dhcp; local
710 struct dhcp dhcp; local
764 struct dhcp *dhcp = netif->dhcp; local
830 struct dhcp *dhcp = netif->dhcp; local
870 struct dhcp *dhcp = netif->dhcp; local
926 struct dhcp *dhcp; local
1015 struct dhcp *dhcp = netif->dhcp; local
1078 struct dhcp *dhcp = netif->dhcp; local
1138 struct dhcp *dhcp = netif->dhcp; local
1180 struct dhcp *dhcp = netif->dhcp; local
1232 struct dhcp *dhcp; local
1263 dhcp_set_state(struct dhcp *dhcp, u8_t new_state) argument
1278 dhcp_option(struct dhcp *dhcp, u8_t option_type, u8_t option_len) argument
1289 dhcp_option_byte(struct dhcp *dhcp, u8_t value) argument
1296 dhcp_option_short(struct dhcp *dhcp, u16_t value) argument
1304 dhcp_option_long(struct dhcp *dhcp, u32_t value) argument
1324 dhcp_parse_reply(struct dhcp *dhcp, struct pbuf *p) argument
1520 struct dhcp *dhcp = netif->dhcp; local
1621 dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type) argument
1709 dhcp_delete_msg(struct dhcp *dhcp) argument
1730 dhcp_option_trailer(struct dhcp *dhcp) argument
[all...]
/external/syslinux/gpxe/src/net/udp/
H A Ddhcp.c40 #include <gpxe/dhcp.h>
52 static int dhcp_tx ( struct dhcp_session *dhcp );
99 .name = "dhcp-server",
174 * @v dhcp DHCP session
178 int ( * tx ) ( struct dhcp_session *dhcp,
183 * @v dhcp DHCP session
189 void ( * rx ) ( struct dhcp_session *dhcp,
195 * @v dhcp DHCP session
197 void ( * expired ) ( struct dhcp_session *dhcp );
279 struct dhcp_session *dhcp local
298 dhcp_finished( struct dhcp_session *dhcp, int rc ) argument
318 dhcp_set_state( struct dhcp_session *dhcp, struct dhcp_session_state *state ) argument
341 dhcp_next_offer( struct dhcp_session *dhcp, uint8_t type ) argument
373 dhcp_discovery_tx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt __unused, struct sockaddr_in *peer ) argument
395 dhcp_rx_offer( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
487 dhcp_discovery_rx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
556 dhcp_request_tx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer ) argument
595 dhcp_request_rx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
702 dhcp_proxy_tx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer ) argument
735 dhcp_proxy_rx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
834 dhcp_pxebs_tx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer ) argument
865 dhcp_pxebs_accept( struct dhcp_session *dhcp, struct in_addr bs ) argument
893 dhcp_pxebs_rx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
1249 struct dhcp_session *dhcp = local
1329 struct dhcp_session *dhcp = local
1354 struct dhcp_session *dhcp = local
1402 struct dhcp_session *dhcp; local
1454 pxebs_list( struct dhcp_session *dhcp, void *raw, size_t raw_len, struct in_addr *ip ) argument
1503 struct dhcp_session *dhcp; local
[all...]
/external/toybox/toys/pending/
H A Ddhcp.c0 /* dhcp.c - DHCP client for dynamic network configuration.
7 USE_DHCP(NEWTOY(dhcp, "V:H:F:x*r:O*A#<0=20T#<0=3t#<0=3s:p:i:SBRCaovqnbf", TOYFLAG_SBIN|TOYFLAG_ROOTONLY))
10 bool "dhcp"
13 usage: dhcp [-fbnqvoCRB] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
20 -s Run PROG at DHCP events (default /usr/share/dhcp/default.script)
171 dhcp_msg_t dhcp; member in struct:dhcp_raw_s
262 // calculates checksum for dhcp messages.
386 // String to dhcp option conversion
534 : "/usr/share/dhcp/default.script";
694 memcpy(&state->pdhcp, &packet.dhcp, byte
[all...]
H A Ddhcpd.c165 dhcp_msg_t dhcp; member in struct:dhcp_raw_s
340 // calculates checksum for dhcp messeges.
541 // String to dhcp option conversion
913 memcpy(&packet.dhcp, &gstate.send.send_pkt, sizeof(dhcp_msg_t));
1012 // Preapres a dhcp packet with defaults and configs
1035 // Sets a option value in dhcp packet's option field
1056 // Gets a option value from dhcp packet's option field
1128 // Retrives Requested Parameter list from dhcp req packet.
1141 // Sets values of req param in dhcp offer packet.
/external/dnsmasq/src/
H A Ddnsmasq.h461 #define CONFIG_BANK 2048 /* from dhcp hosts file */
603 struct dhcp_context *dhcp; member in struct:daemon
755 /* dhcp.c */
/external/toybox/generated/
H A Dglobals.h522 // toys/pending/dhcp.c
1470 struct dhcp_data dhcp; member in union:global_union
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 506 milliseconds

12