Searched refs:dhcp (Results 1 - 6 of 6) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | dhcp.h | 34 * dhcp.h 43 struct dhcp { struct 64 struct dhcp dhcp; member in struct:dhcp_packet 69 #define DHCP_PAYLOAD_MIN (sizeof(struct dhcp) + DHCP_OPTIONS_MIN) 71 /* dhcp message types */
|
H A D | in_dhcp.h | 45 dhcp(struct ifnet * ifp, struct in_addr * iaddr_p, int max_try,
|
H A D | dhcp_options.h | 35 * - routines to parse and access dhcp options 45 #include <netinet/dhcp.h> 144 /* dhcp-specific extensions: 50..61, 66, 67 */ 170 * Module: dhcpol (dhcp options list) 173 * Routines to parse and retrieve dhcp options. 201 const struct dhcp * pkt, int len); 204 * Module: dhcpoa (dhcp options area) 207 * Types and functions to create new dhcp option areas. 213 * To record information about a dhcp option data area. 228 * To record information about a dhcp optio [all...] |
H A D | in_dhcp.c | 69 #include <netinet/dhcp.h> 146 static __inline__ struct dhcp * 149 return ((struct dhcp *)(void *)context->reply); 206 make_dhcp_request(struct dhcp * request, int request_size, 215 printf("dhcp: hwlen is %d (> %d), truncating\n", hwlen, 226 request_size - sizeof(struct dhcp) - RFC_MAGIC_SIZE); 227 /* make the request a dhcp packet */ 256 printf("dhcp: ip_pkt_to_mbuf: m_devget failed\n"); 349 dprintf(("dhcp: timeout\n")); 361 * Return an integer point rating value for the given dhcp packe 923 dhcp(struct ifnet * ifp, struct in_addr * iaddr_p, int max_try, function [all...] |
H A D | dhcp_options.c | 30 * - routines to parse and access dhcp options 31 * and create new dhcp option areas 50 #include <netinet/dhcp.h> 374 dhcpol_parse_packet(dhcpol_t * options, const struct dhcp * pkt, int len) 427 * Types and functions to create new dhcp option areas. 534 * Add a dhcp message option to the option area. 634 struct dhcp * pkt = (struct dhcp *)buf;
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | netboot.c | 87 #define DHCP_RESPONSE "dhcp-response" 285 if (pkt != NULL && pkt_len >= (int)sizeof(struct dhcp)) { 291 if (pkt != NULL && pkt_len >= (int)sizeof(struct dhcp)) { 299 const struct dhcp * reply; 301 reply = (const struct dhcp *)pkt; 498 if (pkt != NULL && pkt_len >= (int)sizeof(struct dhcp)) { 503 if (pkt != NULL && pkt_len >= (int)sizeof(struct dhcp)) { 511 const struct dhcp * reply; 513 reply = (const struct dhcp *)pkt; 650 error = dhcp(if [all...] |
Completed in 90 milliseconds