ntp_io.h (285169) | ntp_io.h (294554) |
---|---|
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 | 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 |
|
43/* 44 * Define FNDELAY and FASYNC using O_NONBLOCK and O_ASYNC if we need 45 * to (and can). This is here initially for QNX, but may help for 46 * others as well... 47 */ 48#ifndef FNDELAY 49# ifdef O_NONBLOCK 50# define FNDELAY O_NONBLOCK --- 27 unchanged lines hidden (view full) --- 78 ACTION_IGNORE, 79 ACTION_DROP 80} nic_rule_action; 81 82 83extern int qos; 84SOCKET move_fd(SOCKET fd); 85isc_boolean_t get_broadcastclient_flag(void); | 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); |
86extern int is_ip_address(const char *, u_short, sockaddr_u *); | |
87extern void sau_from_netaddr(sockaddr_u *, const isc_netaddr_t *); 88extern void add_nic_rule(nic_rule_match match_type, 89 const char *if_name, int prefixlen, 90 nic_rule_action action); 91#ifndef HAVE_IO_COMPLETION_PORT 92extern void maintain_activefds(int fd, int closing); 93#else 94#define maintain_activefds(f, c) do {} while (0) 95#endif 96 97 98#endif /* NTP_IO_H */ | 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 */ |