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 |
|
Michael Graff
|
3467456ae4
|
deal with partial writes correctly
|
1999-09-02 20:06:55 +00:00 |
|
Michael Graff
|
ad4f276061
|
Use a static function to allocate and initialize isc_socketevent_t's
|
1999-09-02 18:56:11 +00:00 |
|
Michael Graff
|
4556681e19
|
snapshot socket.[ch] code and commit dynbuf_t -> buffer_t changes
|
1999-09-02 02:10:44 +00:00 |
|
Michael Graff
|
daf8c5c687
|
Fix a bug where a 0-length UDP packet was sent when the output queue was empty.
|
1999-08-31 21:01:53 +00:00 |
|
Michael Graff
|
4c5faa6bcf
|
Do the bsd4.3/bsd4.4 msghdr test right.
|
1999-08-31 20:57:46 +00:00 |
|
Bob Halley
|
a0c881832e
|
fix typo, linux problems
|
1999-08-28 19:30:23 +00:00 |
|
Michael Graff
|
194b6a2519
|
make sendmsg() and recvmsg() work on solaris and hpux through nasty methods
|
1999-08-28 05:34:41 +00:00 |
|
Michael Graff
|
e417ec684f
|
use sendmsg() rather than send() or sendto() now, and start on control message
processing
|
1999-08-28 04:26:49 +00:00 |
|
Michael Graff
|
b39326d06e
|
sizeof() the right thing
|
1999-08-26 01:29:17 +00:00 |
|
Michael Graff
|
483e300c61
|
use recvmsg() and sendmsg()
|
1999-08-25 23:50:48 +00:00 |
|
Andreas Gustafsson
|
27e48d2eea
|
don't test errno if there has been no error
|
1999-08-19 11:18:37 +00:00 |
|
Bob Halley
|
b59b7cff7a
|
Fix typo ("bufsiz" instead of "bufsize")
|
1999-08-18 19:32:46 +00:00 |
|
Andreas Gustafsson
|
b97feea8fd
|
bind 8 #734: linux only fills in as many entries as will fill the buffer with SIOCGIFCONF
|
1999-08-18 05:00:52 +00:00 |
|
Bob Halley
|
f4e535251b
|
Detach from the correct task when canceling.
|
1999-07-28 23:25:16 +00:00 |
|
Michael Graff
|
11e2a221f1
|
hack on socket code more, trying to track down a bug
|
1999-07-28 23:04:33 +00:00 |
|
Michael Graff
|
d524cd03ec
|
make the isc_socket_recv() partial flag be a byte count instead, which allows
us to say "read at least 2 bytes" for things like a DNS packet over TCP.
|
1999-07-28 21:30:37 +00:00 |
|
Michael Graff
|
9bde328d3b
|
extremely minor formatting
|
1999-07-28 07:02:56 +00:00 |
|
Michael Graff
|
863563c38b
|
make writing use one event, too
|
1999-07-28 06:50:10 +00:00 |
|
Michael Graff
|
39fba32b02
|
oops, no debugging :)
|
1999-07-28 01:15:12 +00:00 |
|
Michael Graff
|
231c2cf614
|
use one internal event for connects and receives. Writes will be done shortly.
|
1999-07-28 01:07:21 +00:00 |
|
Andreas Gustafsson
|
ca485ab26f
|
sysctl-based network interface list scanning
|
1999-07-21 08:07:55 +00:00 |
|
Bob Halley
|
2f3cfa8c02
|
isc_net_haveipvN to isc_net_probeipvN
|
1999-07-19 23:54:09 +00:00 |
|
Bob Halley
|
595cc914dd
|
lint
|
1999-07-19 23:54:03 +00:00 |
|
Bob Halley
|
727524f623
|
simply AF_INET6 and PF_INET6 checking
|
1999-07-16 00:56:59 +00:00 |
|
Bob Halley
|
489b3eb09a
|
check for PF_INET
|
1999-07-16 00:52:58 +00:00 |
|
Bob Halley
|
a761b4cd8d
|
forgot to change isc_inet_ to isc_net_
|
1999-07-16 00:43:18 +00:00 |
|
Bob Halley
|
e9c5347c19
|
add support for inet_{ntop,pton,aton}
|
1999-07-16 00:27:15 +00:00 |
|
Bob Halley
|
fef7437f8f
|
add netdb.h
|
1999-07-16 00:26:31 +00:00 |
|
Bob Halley
|
0d1f8c2672
|
eliminate inet.h and extra sys/ includes
|
1999-07-16 00:25:59 +00:00 |
|
Bob Halley
|
b8e1e8f743
|
ensure INADDR_ANY, IN6ADDR_ANY_INIT, in6addr_any, and in6addr_loopback defined
|
1999-07-15 20:15:03 +00:00 |
|
Bob Halley
|
507fa57547
|
add
|
1999-07-15 20:12:47 +00:00 |
|
Bob Halley
|
c65d0c4346
|
add ipv6.o; search for includes in build dir include
|
1999-07-15 20:12:37 +00:00 |
|
Bob Halley
|
86bbe826f0
|
add protocol family
|
1999-07-15 20:11:35 +00:00 |
|
Bob Halley
|
bed86971bf
|
add isc_app_onrun
|
1999-07-14 02:03:44 +00:00 |
|
Bob Halley
|
694c897b20
|
mkdep support
|
1999-07-13 20:12:47 +00:00 |
|
Bob Halley
|
1e0134b61e
|
sigwait() apparently blocks SIGABRT on linux, causing the main thread
to hang around instead of exiting if a child thread calls abort(). We now
listen for SIGABRT.
|
1999-07-13 02:22:11 +00:00 |
|
Bob Halley
|
8f0c024bf0
|
include <arpa/inet.h>
|
1999-07-13 02:01:06 +00:00 |
|
Bob Halley
|
ef4b66d355
|
update isc_sockettype_t enum names
|
1999-07-13 01:49:33 +00:00 |
|
Bob Halley
|
f26747f494
|
event tags are now void *
|
1999-07-10 01:05:54 +00:00 |
|
Michael Graff
|
3ce0769857
|
add UNEXPECTED_ERROR in one place where ISC_R_UNEXPECTED is returned.
|
1999-07-09 20:31:35 +00:00 |
|
Bob Halley
|
2b71bc3d51
|
fix typo
|
1999-07-08 02:49:51 +00:00 |
|
Bob Halley
|
e08daafffc
|
add
|
1999-07-08 02:45:47 +00:00 |
|
Bob Halley
|
ae27cfaba3
|
add isc_net_haveipv[46]; cleanups
|
1999-07-08 02:45:17 +00:00 |
|