2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

243 Commits

Author SHA1 Message Date
Bob Halley
97f1a75cf0 reload support 2000-01-22 01:39:35 +00:00
Mark Andrews
094810739f remove extranious break; 2000-01-20 06:35:51 +00:00
Mark Andrews
5e2b6219d2 Add IPv6 support 2000-01-18 05:42:53 +00:00
Mark Andrews
ccb185b942 Add Solaris IPv6 support 2000-01-18 05:42:33 +00:00
Mark Andrews
757a38d502 Set address family. 2000-01-10 06:16:08 +00:00
David Lawrence
73a1e6a5d1 include netinet6/in6.h if present 2000-01-07 02:48:00 +00:00
David Lawrence
0bd4e3591a reversing bogus checkin 2000-01-06 15:02:16 +00:00
David Lawrence
cc1b6f86f2 added ISC_RESULTCLASS_OMAPI 2000-01-06 14:47:39 +00:00
David Lawrence
dcf8825fd7 BSD/OS 4.01 returns EPROTONOSUPPORT for failure in try_proto() 2000-01-04 20:15:53 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Michael Graff
f39add73bc Actually commit the ipv6 socket code I wrote last week. 1999-12-15 20:47:38 +00:00
Michael Graff
efff2a52af Make this compile (without ipv6 socket support) on half-done implementations. 1999-12-10 16:51:39 +00:00
Michael Graff
c2b450fa72 don't hide the fact that some ipv6 stacks aren't all there. 1999-12-09 00:19:31 +00:00
Michael Graff
8b7f596003 Use one more returned-event attribute to indicate fatal error, where
retrying on a socket is pointless, as it will immediately fail.
1999-12-08 22:53:08 +00:00
Michael Graff
633c5ee7b9 remove a debugging statement that is no longer useful, and fix an error return 1999-12-06 23:07:05 +00:00
Michael Graff
857f8bd11b Cast to (void *) to shut up compiler warnings re signed/unsigned char *. It
would be so nice if people would define 'msg_control' in a msghdr to be
consistant with other pointers...
1999-12-06 22:33:20 +00:00
James Brister
ce84c593e8 gcc 2.7.2.3 and 2.95.1 both dislike '#warn' but will accept '#warning' cpp
statements.
1999-12-06 12:35:19 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Andreas Gustafsson
79c08618e9 use NULL (not 0) for null pointers; use size_t (not unsigned int) in
sysctl() arguments
1999-11-30 22:13:26 +00:00
Bob Halley
f924db5119 1000 nanoseconds in a microsecond, not 10000 1999-11-04 21:40:49 +00:00
Bob Halley
176323fd5e set msg_namelen to the right size 1999-11-01 22:51:19 +00:00
Bob Halley
431fb211db include unistd.h to get prototype for chdir 1999-10-31 19:29:48 +00:00
Bob Halley
0e1bef59f0 add isc_dir_chdir; change argument order of isc_dir_open 1999-10-31 19:08:17 +00:00
Bob Halley
eb2c85b103 ISC_NET_HAVEIPV6 -> ISC_PLATFORM_HAVEIPV6 1999-10-30 03:53:19 +00:00
Andreas Gustafsson
cdd5e37820 isc_netaddr_t now has a "family" field 1999-10-28 23:09:01 +00:00
Mark Andrews
42c479991f in6addr_any and in6addr_loopback should be "const" 1999-10-25 16:33:13 +00:00
Mark Andrews
fce52c2b8c `A prototype should be a prototype. 1999-10-09 13:24:37 +00:00
David Lawrence
4ad9b25e6d new function isc_time_microdiff 1999-10-09 02:40:32 +00:00
Andreas Gustafsson
91c49d591c use ISC_PLATFORM_HAVESALEN, not ISC_NET_HAVESALEN 1999-10-09 01:31:29 +00:00
David Lawrence
156d37e2dc dir.h added to HEADERS 1999-10-06 19:41:01 +00:00
David Lawrence
a91a5c2322 New CPP macros ISC_DIR_NAMEMAX and ISC_DIR_PATHMAX; win32 are based
on _MAX_FNAME and _MAX_PATH, unix are "reasonable values" (256 and 1024)
because unix is inconsistent about this.
1999-10-06 19:36:13 +00:00
Bob Halley
51917258db build system cleanups; improved include handling 1999-10-05 19:52:30 +00:00
Bob Halley
10ba7f6f56 lint 1999-10-05 19:50:53 +00:00
David Lawrence
a252c2771f include isc/net.h, do not include sys/socket.h, netinet/in.h or arpa/inet.h,
and/or use type in_port_t instead of unsigned int for ports
1999-10-02 02:54:16 +00:00
David Lawrence
8671e8306b configure ISC_NET_NEEDPORTT if "typedef isc_uint16_t in_port_t" is needed 1999-10-01 02:11:34 +00:00
David Lawrence
0307846c71 AIX does not define NAME_MAX or PATH_MAX by default. It would either
need a special cpp macro like _XPG4 defined or the name buffer would
need to be dynamically allocated based on pathconf(), which is
undesirably complicated.  Instead 255 is used as a suitably sized NAME_MAX
and 1024 in place of PATH_MAX.
1999-10-01 01:12:04 +00:00
David Lawrence
b05363a2b9 include string.h for strcpy/strlen protos 1999-09-28 03:37:36 +00:00
David Lawrence
1c333c1415 Not all dirents have d_namlen.
include stdlib.h to define NULL; BSD/OS managed to define it in
one of the other files already included, but that was not portable.

Thanks for pointing these issues out for Linux, Brian.
1999-09-23 21:35:19 +00:00
Bob Halley
271d5bfc5c conforming changes for task API simplification 1999-09-23 21:31:03 +00:00
David Lawrence
49e558760e directory scanning API for unix/nt portability 1999-09-23 17:31:59 +00:00
Michael Graff
2f072c2982 Update copyrights 1999-09-15 23:03:43 +00:00
Michael Graff
aca2a14afc Implement MSG_TRUNC faking for UDP, on systems where recvmsg() doesn't set that
flag for us.  To see if a UDP packet was truncated, look at
done_event->attributes and see if ISC_SOCKEVENTATTR_TRUNC is set.
1999-09-13 22:00:28 +00:00
Michael Graff
07a9b8b588 Make a few helper macros which will return lengths of regions rather than
requiring an isc_region_t to fill in.  Use these macros in a few places.
1999-09-10 21:13:39 +00:00
Michael Graff
c520793fb9 Add isc_socket_sendv(), sendtov(), and recvv() that work 1999-09-06 04:44:40 +00:00
Michael Graff
c138fc2791 multi-buffer isc_socket_recvv() -- needs testing 1999-09-03 16:38:08 +00:00
Michael Graff
e823f5d408 common path for sending, too 1999-09-03 01:18:45 +00:00
Michael Graff
ad76b9d585 checkpoint new development: recvmsg() path is now common between all receiving
routines (internal and external)
1999-09-03 00:22:28 +00:00
Michael Graff
dfeb5a60db fix 1999-09-02 23:34:09 +00:00
Michael Graff
9f1c521285 change some flags (so we can use internal ones, too) 1999-09-02 20:52:44 +00:00