53 Commits

Author SHA1 Message Date
leitner
f141d3e24f socket_accept4 should cope with being passed NULL pointers 2005-08-05 15:45:22 +00:00
leitner
10658ebe60 only write if dest is non-NULL 2005-08-05 14:38:28 +00:00
leitner
eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
2005-05-12 06:52:29 +00:00
leitner
6196f771cd remove a few gcc 4 warnings
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
    kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
    instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
    but TCP?  never heard of it")
2005-05-05 15:55:41 +00:00
leitner
9210337fa5 turns out there is one more error message that can signal missing IPv6
support in the kernel
2005-04-07 05:52:55 +00:00
leitner
d6b7c29808 uh, the scope_id detection #defined the wrong constant. libowfat
always thought there was no scope_id.  Oops.
2005-02-02 19:34:00 +00:00
leitner
8873a442f2 man page update 2004-09-17 13:51:35 +00:00
leitner
08ea2e27a0 be backwards compatible to legacy BSD constant naming 2004-02-25 17:11:26 +00:00
leitner
25181575b6 fix ip6_fmt (martin paljak) 2004-01-15 18:43:49 +00:00
leitner
f52aa87441 more alloca fixes 2004-01-06 23:35:06 +00:00
leitner
3eb26af29d work around IRIX 2004-01-06 23:20:23 +00:00
leitner
0bae11b63e remove socket_sendfile now that we have io_sendfile
make Makefile should also work with a BSD make ;)
2004-01-01 03:39:51 +00:00
leitner
0f60bacb89 add routines to scan and output ipv6 addresses with %eth0 notation.
also add compat formatting routines that will output v4-mapped addresses
  as ipv4 addresses
2003-12-05 19:53:59 +00:00
leitner
15a54e002b More Windoze crap 2003-11-20 23:49:38 +00:00
leitner
82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
2003-11-06 20:47:59 +00:00
leitner
2af3efb074 work around itojun BSD IPV6_ONLY brokenness 2003-10-06 18:16:38 +00:00
leitner
a8f6a1c121 remove special case stralloc textcode functions
write generic stralloc and array textcode wrapper functions
change textcode API to use long instead of int
add cescape fmt and scan functions to textcode
add fmt_foldwhitespace to textcode
2003-09-19 19:08:13 +00:00
leitner
824630a489 more BSD compat 2003-09-06 00:03:27 +00:00
leitner
53b201046e extended socket API; you can now pass NULL to ignore results you don't
need
2003-05-27 19:00:44 +00:00
leitner
92594f480b use sys/poll.h instead of poll.h for iopause
scan_ip6 returned 1 for "::"
2002-12-07 14:54:43 +00:00
leitner
85c18a49cb Lots of good clean-ups from Jukka Zitting! 2002-06-02 00:40:43 +00:00
leitner
eb3596b745 ugly bug in scan_ip6 that manifests if the IPv6 number starts with a
decimal digit and :: skips the 12th byte.
2002-04-15 16:06:06 +00:00
leitner
f908a9dcd4 fix socket routines 2002-03-17 16:57:53 +00:00
leitner
67b6379bbf s/socket_tcp/socket_tcp4/ 2001-11-25 23:51:23 +00:00
leitner
ae4b409c55 add and update man pages. 2001-11-25 23:50:09 +00:00
leitner
732c0235ba more bug fixes 2001-11-24 21:23:01 +00:00
leitner
40897bd709 bug fixes 2001-11-24 20:37:22 +00:00
leitner
24ef5b3bfc socklen_t compatibility cruft. 2001-11-24 20:18:37 +00:00
leitner
d6ae7e2265 this time for real ;) 2001-11-24 20:11:41 +00:00
leitner
6a5887aa8b socklen_t test. 2001-11-24 19:37:35 +00:00
leitner
d4753c43f3 test for ipv6 and if_name2index and socklen_t. 2001-11-24 19:34:32 +00:00
leitner
8ecb47a608 bsd and macosx compatibility 2001-10-15 14:34:02 +00:00
leitner
b3edc1f613 various ip scanning fixes 2001-06-18 21:28:21 +00:00
leitner
03cfe1f188 be compatible to the RFC, not to the Linux kernel. 2001-06-08 17:59:44 +00:00
leitner
cfddc730ea "::" case was handled incorrectly. 2001-05-18 20:36:55 +00:00
leitner
1093f1c267 oops 2001-05-12 03:17:17 +00:00
leitner
5c1abf12b5 hex conversion bug fix. 2001-04-23 13:08:25 +00:00
sanjiyan
8a09e437cc error -> errno
error_proto -> EPROTO
2001-02-19 15:04:13 +00:00
leitner
dc60cb52bd added ip[46] scanning routines. 2001-02-05 22:09:26 +00:00
leitner
23ad357186 renamed ip[46]_fmt to fmt_ip[46] 2001-02-05 22:03:11 +00:00
leitner
fc4193e1ce buffer stuff from Olaf and ip[46]_fmt stuff from me. 2001-02-05 21:55:25 +00:00
leitner
7895eb3b2a fixed sendfile 2001-02-05 20:06:20 +00:00
leitner
ff54589b32 even more man pages 2001-02-05 19:39:55 +00:00
leitner
eb87d79391 more man pages, rename socket_mcttl6 to socket_mchopcount6 2001-02-05 19:35:33 +00:00
leitner
c30e4855e2 more man pages. 2001-02-05 19:21:49 +00:00
leitner
1bcce7eed7 even more stuff 2001-02-05 19:06:12 +00:00
leitner
a5a6b357ef imported multicast socket routines.
added recv.
2001-02-05 18:46:11 +00:00
leitner
3f04a3d284 accept4 and accept6 2001-02-05 18:25:24 +00:00
leitner
1a3d6ebe8e add routines to put number in buffer. 2001-02-05 18:08:57 +00:00
leitner
2e8427998a added man pages and ..._reuse socket bind functions. 2001-02-05 17:57:02 +00:00