1. 24 May, 2000 2 commits
  2. 23 May, 2000 2 commits
  3. 22 May, 2000 2 commits
  4. 19 May, 2000 1 commit
    • Michael Graff's avatar
      Merge the mlg-20000518 branch onto the mainline. Change summary: · 46993e1d
      Michael Graff authored
      	dns_dispatch_create() no longer exists.  dns_dispatch_createtcp()
      	and dns_dispatch_getudp() are the replacements.  _createtcp() takes
      	a bound, connected TCP socket, while _getudp() will search for
      	a sharable UDP socket, and if found, attach to it and return a
      	pointer to it.  If one is not found, it will create a udp socket,
      	bind it to a supplied local address, and create a new dispatcher
      	around it.
      
      	dns_dispatch_remove{request,response}() no longer take the dispatch
      	as an argument.
      
      	query-source can now be set per view.
      
      	The dispatch manager holds onto three memory pools, one for
      	allocating dispatchers from, one for events, and one for
      	requests/replies.  The free list on these pools is hard-coded,
      	but set to 1024.  This keeps us from having to dig into the
      	isc_mem_t the pools draw from as often.
      
      	dns_resolver_create() and dns_view_createresolver() require that
      	valid dispatchers be passed in; dispatchers are no longer created
      	for the caller.
      46993e1d
  5. 18 May, 2000 5 commits
    • David Lawrence's avatar
      use _PLATFORM_NEEDINETIN6H · e6ce1a0e
      David Lawrence authored
      e6ce1a0e
    • David Lawrence's avatar
      use HAVE_UNIXWARE_SIGWAIT · e8336c45
      David Lawrence authored
      e8336c45
    • Michael Sawyer's avatar
      232fd751
    • David Lawrence's avatar
      Ensure proper range of isc_time_seconds() assigning to timeval.tv_sec, · bc12a0c0
      David Lawrence authored
      and cast isc_time_nanoseconds to shut up the IRIX compiler.
      bc12a0c0
    • David Lawrence's avatar
      189. [func] isc_time_secondsastimet(), a new function, will ensure · 6fa1cb57
      David Lawrence authored
                              that the number of seconds in an isc_time_t does not
                              exceed the range of a time_t, or return ISC_R_RANGE.
                              Similarly, isc_time_now(), isc_time_nowplusinterval(),
                              isc_time_add() and isc_time_subtract() now check the
                              range for overflow/underflow.  In the case of
                              isc_time_subtract, this changed a calling requirement
                              (ie, something that could generate an assertion)
                              into merely a condition that returns an error result.
                              isc_time_add() and isc_time_subtract() were void-
                              valued before but now return isc_result_t.
      
      The seconds member isc_time_t on Unix platforms was changed from time_t
      to unsigned int.
      
      unix/time.c now uses macros for nanoseconds per second, nanoseconds per
      microsecond and microseconds per second to make sure that the right
      number of zeros appears each place the constant is used.
      
      unix/time.c functions which take initialized isc_(interval|time)_t arguments
      INSIST() that the nanoseconds value is less than one full second.
      
      unix/time.c's isc_time_microdiff was broken because it did multiplication and
      addition with unsigned integers and attempted to set them a 64 bit int to
      avoid overflow, but C's ints don't promote to 64 bits on machines that only
      have 32 bit longs.  Fixed.
      
      Added all the pertinent documentation to time.h.
      6fa1cb57
  6. 16 May, 2000 3 commits
  7. 14 May, 2000 2 commits
    • David Lawrence's avatar
      line 356: remark(1174): parameter "msg" was declared but never referenced · 02b152eb
      David Lawrence authored
      line 356: remark(1174): parameter "dev" was declared but never referenced
      
      This is true when ISC_NET_BSD44MSGHDR is not defined.  UNUSED()s were added.
      
      line 1580: remark(1552): variable "task" was set but never used
      line 1670: remark(1552): variable "task" was set but never used
      
      I removed the stack variable and its assignment in each case.
      
      line 2915: remark(1552): variable "ret" was set but never used
      
      It was apparent that the variable was meant to be the return value
      of isc_socket_getsockname, so the return statement was changed to use it.
      
      Also ...
      
      Changed function declarations to ISC coding style.
      
      Wrapped two lines that were wider than column 79.
      
      Removed two UNUSED() macros for variables that were no longer unused.
      02b152eb
    • Andreas Gustafsson's avatar
      use isc_sockaddr_format() instead of a static function doing · bbf66738
      Andreas Gustafsson authored
      the same thing
      bbf66738
  8. 13 May, 2000 1 commit
  9. 11 May, 2000 5 commits
  10. 10 May, 2000 1 commit
  11. 09 May, 2000 2 commits
  12. 08 May, 2000 5 commits
  13. 06 May, 2000 1 commit
    • Michael Graff's avatar
      · ece3d6c3
      Michael Graff authored
      Cause runtime probing of v6 addresses to fail, even if we can actually
      make v6 sockets, but we do not have struct in6_pktinfo.
      
      Add a check in configure.in for struct in6_pktinfo.
      
      Use the result of that check to define (if needed) in6_pktinfo in net.h.
      
      This change makes us build on platforms that have SOME ipv6 structures
      (like in6_addr, etc) but not enough to be useful to us.
      
      Note:  Before making an ipv6 socket the code should verify that ipv6
      sockets can be made using isc_net_probeipv6().  It should also
      check for v4 sockets using isc_net_probeipv4() to be consistant.
      ece3d6c3
  14. 03 May, 2000 2 commits
  15. 28 Apr, 2000 6 commits