1#ifndef NTP_IO_H 2#define NTP_IO_H 3 4#include "ntp_workimpl.h" 5 6/* 7 * POSIX says use <fnct.h> to get O_* symbols and 8 * SEEK_SET symbol form <unistd.h>. --- 26 unchanged lines hidden (view full) --- 35# ifdef HAVE_NETINET_IN_SYSTM_H 36# include <netinet/in_systm.h> 37# endif 38# include <netinet/ip.h> 39#endif 40 41#include "libntp.h" /* This needs Something above for GETDTABLESIZE */ 42 |
43#include "ntp_keyacc.h" 44 |
45/* 46 * Define FNDELAY and FASYNC using O_NONBLOCK and O_ASYNC if we need 47 * to (and can). This is here initially for QNX, but may help for 48 * others as well... 49 */ 50#ifndef FNDELAY 51# ifdef O_NONBLOCK 52# define FNDELAY O_NONBLOCK --- 27 unchanged lines hidden (view full) --- 80 ACTION_IGNORE, 81 ACTION_DROP 82} nic_rule_action; 83 84 85extern int qos; 86SOCKET move_fd(SOCKET fd); 87isc_boolean_t get_broadcastclient_flag(void); |
88extern void sau_from_netaddr(sockaddr_u *, const isc_netaddr_t *); 89extern void add_nic_rule(nic_rule_match match_type, 90 const char *if_name, int prefixlen, 91 nic_rule_action action); 92#ifndef HAVE_IO_COMPLETION_PORT 93extern void maintain_activefds(int fd, int closing); 94#else 95#define maintain_activefds(f, c) do {} while (0) 96#endif 97 98 99#endif /* NTP_IO_H */ |