Go to file
Bill Paul adc4fa336b More async resolver refinements:
- yp_main.c: Always add the resolver socket to the set of fds
  monitored by select(). It can happen that pending == 0 but we
  still have some data in the socket buffer from an old query.
  This way, the data will be flushed in a timely manner.

- yp_extern.h: remove proto for yp_dns_pending() since we don't need
  it anynmore.

- yp_server.c: call yp_async_lookup_name()/yp_async_lookup_addr()
  functions with the svc_req pointer as an arg instead of the xprt.
  (The svc_req struct includes a pointer to the transport handle,
  and it also has the service version number which the async DNS
  code will need. (see below))

- yp_dnslookup.c:

   o Nuke yp_dns_pending() since we don't need it anymore.
   o In yp_run_dnsq(), swallow up and ignore replies if no requests
     are pending or the ID doesn't match any of the IDs in the queue.
   o In yp_send_dns_reply(), we assume that we will always be
     replying to an NIS v2 client. While this will probably always
     be the case, we do support the v1 'match' procedure, and it
     has a different result struct than v2. For completeness,
     support replying to both NIS v1 and v2 clients.
   o Update the queue entry structure to include a member to
     keep track of the NIS version number.
   o Have yp_async_lookup_name/addr() extract the version number
     from the svc_req structure and save it with the queue entry
     for yp_send_dns_reply() to inspect later.
   o Add some comments.
1996-12-25 18:10:35 +00:00
bin Fix handling of -o and -a operators in the 3 argument case. 1996-12-25 00:08:10 +00:00
contrib Ay, merge from RELENG_2_2. Back out the "moving HEAD" fix. 1996-12-19 08:55:10 +00:00
eBones Fix a cosmetic bug that has bothered me for ages. :-) 1996-12-21 06:21:16 +00:00
etc Add commented out samples on how to activate the compat libs during build. 1996-12-23 05:17:09 +00:00
games comma police for section SEE ALSO 1996-12-22 23:17:39 +00:00
gnu Remove a couple of private malloc() implementations, one of which 1996-12-23 20:21:35 +00:00
include string.h defines nonstandard routines when _POSIX_SOURCE is 1996-12-17 19:35:43 +00:00
lib Another one-liner: remember to NUL terminate local copy of NIS host 1996-12-24 17:01:49 +00:00
libexec Change declaration of yp_errno from int to enum ypstat so that it 1996-12-23 18:15:41 +00:00
lkm
release Bring these up-to-date with Peter's compat distribution changes. 1996-12-24 00:23:43 +00:00
sbin comma typos 1996-12-23 23:09:55 +00:00
secure
share Merge the en version chnages made in 1.41 -> 1.42. 1996-12-25 04:19:52 +00:00
sys Synchronize with sys/i386/isa/sio.c revision 1.155 (use breakpoint() 1996-12-24 11:47:52 +00:00
tools Fix the 'info sharedlibextention' output in tclsh which was caused by a 1996-12-17 13:08:08 +00:00
usr.bin comma typos 1996-12-23 23:09:55 +00:00
usr.sbin More async resolver refinements: 1996-12-25 18:10:35 +00:00
COPYRIGHT
Makefile Add comment on -DALLLANG. 1996-12-20 08:18:47 +00:00