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

1 2

  /external/syslinux/gpxe/src/usr/
dhcpmgmt.c 25 #include <gpxe/dhcp.h>
35 * DHCP management
39 int dhcp ( struct net_device *netdev ) { function
53 /* Perform DHCP */
55 printf ( "DHCP (%s ", netdev->name );
  /frameworks/base/services/net/java/android/net/dhcp/
DhcpDeclinePacket.java 17 package android.net.dhcp;
23 * This class implements the DHCP-DECLINE packet.
DhcpDiscoverPacket.java 17 package android.net.dhcp;
23 * This class implements the DHCP-DISCOVER packet.
DhcpInformPacket.java 17 package android.net.dhcp;
23 * This class implements the (unused) DHCP-INFORM packet.
DhcpNakPacket.java 17 package android.net.dhcp;
23 * This class implements the DHCP-NAK packet.
DhcpRequestPacket.java 17 package android.net.dhcp;
25 * This class implements the DHCP-REQUEST packet.
DhcpAckPacket.java 17 package android.net.dhcp;
23 * This class implements the DHCP-ACK packet.
DhcpOfferPacket.java 17 package android.net.dhcp;
23 * This class implements the DHCP-OFFER packet.
  /external/syslinux/com32/lua/src/
dhcp.c 30 * dhcp.c
35 * the DHCP server for use in a Lua pxeboot script
46 * flags flags DHCP Flags field
56 * getoptions() returns a table of the DHCP Options field of the BOOTP
57 * message returned by the DHCP server for use in a Lua pxeboot script.
64 * raw binary number that was returned by the DHCP server and must be decoded
85 t = dhcp.gettable()
93 #include "dhcp.h"
131 dhcp_t* dhcp = 0; local
134 /* Append the DHCP info *
258 dhcp_t* dhcp = 0; local
    [all...]
dhcp.h 31 typedef struct dhcp { struct
38 uint16_t flags; /* DHCP Flags field */
  /external/dhcpcd-6.8.2/
ipv4ll.c 2 * dhcpcd - DHCP client daemon
38 #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;
117 /* A DHCP lease could have already been offered
    [all...]
script.c 2 * dhcpcd - DHCP client daemon
46 #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) {
dhcp.c 2 * dhcpcd - DHCP client daemon
56 #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))
716 struct dhcp_message *dhcp; local
1130 struct dhcp_message *dhcp; local
1645 struct dhcp_message *dhcp; local
2241 struct dhcp_message *dhcp; local
2829 struct dhcp_message *dhcp = *dhcpp; local
3251 struct dhcp_message *dhcp = NULL; local
    [all...]
  /system/core/libnetutils/
packet.c 30 #define LOG_TAG "DHCP"
163 struct dhcp_msg dhcp; member in struct:dhcp_packet
198 ALOGD("UDP dest port (%d) is not DHCP client", ntohs(packet.udp.dest));
208 /* Seems like it's probably a valid DHCP packet */
253 memcpy(msg, &packet.dhcp, dhcp_size);
  /external/syslinux/core/fs/pxe/
dhcp_option.c 159 * Parse a sequence of DHCP options, pointed to by _option_;
160 * -- some DHCP servers leave option fields unterminated
191 dprintf("DHCP: option %d, len %d\n", opt_num, opt_len);
212 * Parse a DHCP packet. This includes dealing with "overloaded"
230 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
    [all...]
  /external/syslinux/com32/cmenu/
complex.c 33 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/
hdt-common.c 441 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/
netif.h 46 struct dhcp;
67 * by dhcp/autoip when an address has been assigned.
76 /** If set, the interface is configured using DHCP.
77 * Set by the DHCP code when starting or stopping DHCP. */
87 * Used to check input packet types and use of DHCP. */
170 /** the DHCP client state information for this netif */
171 struct dhcp *dhcp; member in struct:netif
dhcp.h 29 struct dhcp struct
33 /** our connection to the DHCP server */
37 /** current DHCP state machine state */
52 ip_addr_t server_ip_addr; /* dhcp server address that offered this lease */
73 /** minimum set of fields of any DHCP message */
98 /** set this to be sufficient for your options in outgoing DHCP msgs */
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
    [all...]
  /external/wpa_supplicant_8/src/ap/
fils_hlp.c 13 #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;
136 wpa_printf(MSG_ERROR, "FILS: DHCP sendto failed: %s",
141 "FILS: Acting as DHCP rapid commit proxy for %s:%d",
155 struct dhcp_data *dhcp; local
171 wpa_printf(MSG_DEBUG, "FILS: DHCP read failed: %s",
175 wpa_printf(MSG_DEBUG, "FILS: DHCP response from server %s:%d (len=%d)"
329 const struct dhcp_data *dhcp; local
    [all...]
  /external/syslinux/gpxe/src/arch/i386/include/gpxe/
ibft.h 175 /** DHCP server */
176 struct ibft_ipaddr dhcp; member in struct:ibft_nic
  /external/syslinux/core/lwip/src/core/
dhcp.c 42 * This is a DHCP client for the lwIP TCP/IP stack. It aims to conform
53 * In lwip/dhcp.h
61 * starts a DHCP client instance which configures the interface by
65 * to remove the DHCP client.
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
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
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
1520 struct dhcp *dhcp = netif->dhcp; local
    [all...]
  /frameworks/base/tests/net/java/android/net/dhcp/
DhcpPacketTest.java 17 package android.net.dhcp;
19 import static android.net.dhcp.DhcpPacket.*;
64 DhcpPacket.testOverrideVendorId = "android-dhcp-???";
372 fail("Dhcp packet parsing should have failed");
391 fail("Dhcp packet parsing should have failed");
420 fail("Dhcp packet parsing should have failed");
451 fail("Dhcp packet parsing should have failed");
483 fail("Dhcp packet parsing should have failed");
674 // 2. It uses DHCP option overloading, which we don't currently support (but it doesn't
    [all...]
  /external/syslinux/gpxe/src/net/udp/
dhcp.c 40 #include <gpxe/dhcp.h>
52 static int dhcp_tx ( struct dhcp_session *dhcp );
55 * DHCP operation types
57 * This table maps from DHCP message types (i.e. values of the @c
58 * DHCP_MESSAGE_TYPE option) to values of the "op" field within a DHCP
72 /** Raw option data for options common to all DHCP requests */
97 /** DHCP server address setting */
99 .name = "dhcp-server",
100 .description = "DHCP server address",
105 /** DHCP user class setting *
279 struct dhcp_session *dhcp = local
1249 struct dhcp_session *dhcp = local
1329 struct dhcp_session *dhcp = local
1354 struct dhcp_session *dhcp = local
1402 struct dhcp_session *dhcp; local
1503 struct dhcp_session *dhcp; local
    [all...]
  /external/toybox/toys/pending/
dhcp.c 0 /* 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))
9 config DHCP
10 bool "dhcp"
13 usage: dhcp [-fbnqvoCRB] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
16 Configure network dynamicaly using DHCP.
20 -s Run PROG at DHCP events (default /usr/share/dhcp/default.script)
171 dhcp_msg_t dhcp; member in struct:dhcp_raw_s
    [all...]

Completed in 647 milliseconds

1 2