Searched refs:dhcp (Results 1 - 6 of 6) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/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 *)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"); 367 dprintf(("dhcp: timeout\n")); 379 * Return an integer point rating value for the given dhcp packe 941 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> 373 dhcpol_parse_packet(dhcpol_t * options, const struct dhcp * pkt, int len) 426 * Types and functions to create new dhcp option areas. 533 * Add a dhcp message option to the option area. 633 struct dhcp * pkt = (struct dhcp *)buf;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | netboot.c | 90 #define DHCP_RESPONSE "dhcp-response" 317 if (pkt != NULL && pkt_len >= (int)sizeof(struct dhcp)) { 323 if (pkt != NULL && pkt_len >= (int)sizeof(struct dhcp)) { 331 const struct dhcp * reply; 333 reply = (const struct dhcp *)pkt; 505 if (pkt != NULL && pkt_len >= (int)sizeof(struct dhcp)) { 510 if (pkt != NULL && pkt_len >= (int)sizeof(struct dhcp)) { 518 const struct dhcp * reply; 520 reply = (const struct dhcp *)pkt; 651 error = dhcp(if [all...] |
Completed in 32 milliseconds