]>
git.saurik.com Git - apple/xnu.git/blob - bsd/netinet/in_dhcp.h
1 #ifndef _NETINET_IN_DHCP_H
2 #define _NETINET_IN_DHCP_H
3 #include <sys/appleapiopts.h>
6 * Copyright (c) 2007 Apple Inc. All rights reserved.
8 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
10 * This file contains Original Code and/or Modifications of Original Code
11 * as defined in and that are subject to the Apple Public Source License
12 * Version 2.0 (the 'License'). You may not use this file except in
13 * compliance with the License. The rights granted to you under the License
14 * may not be used to create, or enable the creation or redistribution of,
15 * unlawful or unlicensed copies of an Apple operating system, or to
16 * circumvent, violate, or enable the circumvention or violation of, any
17 * terms of an Apple operating system software license agreement.
19 * Please obtain a copy of the License at
20 * http://www.opensource.apple.com/apsl/ and read it before using this file.
22 * The Original Code and all software distributed under the License are
23 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
24 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
25 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
26 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
27 * Please see the License for the specific language governing rights and
28 * limitations under the License.
30 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
35 * - definitions for in_dhcp.c
39 inet_aifaddr(struct socket
* so
, const char * name
,
40 const struct in_addr
* addr
,
41 const struct in_addr
* mask
,
42 const struct in_addr
* broadcast
);
45 dhcp(struct ifnet
* ifp
, struct in_addr
* iaddr_p
, int max_try
,
46 struct in_addr
* netmask_p
, struct in_addr
* router_p
,
49 #endif /* _NETINET_IN_DHCP_H */