6 * POSIX says use <fnct.h> to get O_* symbols and
7 * SEEK_SET symbol form <unistd.h>.
13 #include <sys/types.h>
18 #ifdef HAVE_SYS_FILE_H
19 # include <sys/file.h>
24 #if !defined(SEEK_SET) && defined(L_SET)
25 # define SEEK_SET L_SET
30 # include "win32_io.h"
33 #include <isc/boolean.h>
34 #include <isc/netaddr.h>
36 #if HAVE_NETINET_IN_H && HAVE_NETINET_IP_H
37 #include <netinet/in.h>
38 # if HAVE_NETINET_IN_SYSTM_H
39 # include <netinet/in_systm.h>
41 #include <netinet/ip.h>
45 * Define FNDELAY and FASYNC using O_NONBLOCK and O_ASYNC if we need
46 * to (and can). This is here initially for QNX, but may help for
51 # define FNDELAY O_NONBLOCK
57 # define FASYNC O_ASYNC
63 * NIC rule match types
85 isc_boolean_t
get_broadcastclient_flag(void);
86 isc_boolean_t
is_ip_address(const char *, isc_netaddr_t
*);
87 extern void sau_from_netaddr(sockaddr_u
*, const isc_netaddr_t
*);
88 extern void add_nic_rule(nic_rule_match match_type
, const char *if_name
,
89 int prefixlen
, nic_rule_action action
);