log src/lib/net.c @ 22639:da6cf4b7caf4

age author description
Sat, 04 Nov 2017 01:43:41 +0200 Timo Sirainen lib: net_addr2ip() - Optimize for parsing IPv4 addresses
Sat, 04 Nov 2017 01:42:37 +0200 Timo Sirainen lib: net_ip2addr() - Optimize by allocating destination memory immediately
Tue, 04 Apr 2017 13:28:44 +0300 Timo Sirainen lib: Increase net_connect*() EADDRNOTAVAIL retries to 20
Wed, 11 Jan 2017 01:57:46 +0100 Stephan Bosch global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Mon, 12 Dec 2016 07:19:55 +0200 Timo Sirainen global: Change string position/length from unsigned int to size_t
Wed, 09 Nov 2016 15:17:01 +0200 Aki Tuomi lib: Add net_ipport2str
Thu, 16 Jun 2016 22:01:06 +0200 Stephan Bosch lib: Created net_set_tcp_nodelay(), which enables the TCP_NODELAY socket option.
Tue, 27 Sep 2016 16:15:42 +0300 Timo Sirainen lib: If connect() fails with EADDRNOTAVAIL, retry it 4 more times.
Fri, 20 May 2016 00:02:49 +0200 Stephan Bosch lib: Implemented net_set_send_buffer_size() and net_set_recv_buffer_size().
Fri, 29 Jan 2016 17:32:30 +0200 Timo Sirainen lib: Added net_str2hostport()
Wed, 13 Jan 2016 12:24:03 +0200 Timo Sirainen global: freshen copyright
Mon, 04 Jan 2016 14:00:19 -0500 Timo Sirainen lib: Fixed assert-crash with net_is_in_network(family=ipv6, family=0, ..)
Mon, 19 Oct 2015 14:05:26 +0300 Timo Sirainen lib: net_gethostbyname() now supports [ipv6] style bracketed addresses.
Wed, 23 Sep 2015 14:52:45 +0300 Teemu Huovila Remove now-unnecessary direct stdlib.h #includes.
Tue, 08 Sep 2015 19:07:02 +0300 Timo Sirainen Replaced unlink() calls with i_unlink*() wherever possible.
Sun, 30 Aug 2015 00:46:32 +0300 Stephan Bosch Earlier in_port_t fix created problems with service listener configuration.
Sat, 29 Aug 2015 14:26:30 +0300 Stephan Bosch Changed type of internet port values to in_port_t everywhere.
Wed, 29 Apr 2015 17:35:18 +0200 Timo Sirainen lib: net_addr2ip() sets the family now only after address is successfully converted.
Mon, 05 Jan 2015 22:20:10 +0200 Phil Carmody global: freshen copyright
Wed, 08 Oct 2014 16:28:40 +0300 Timo Sirainen lib: Compiling fix for FreeBSD
Sat, 04 Oct 2014 17:48:03 +0300 Stephan Bosch lib: Added support for connecting UDP sockets.
Fri, 13 Jun 2014 00:09:23 +0300 Timo Sirainen lib: Changed net_geterror() to return errno instead of -1 if getsockopt() fails.
Fri, 13 Jun 2014 00:03:11 +0300 Timo Sirainen lib: Added (void) prefixes to some setsockopt() calls which we don't care if they fail.
Tue, 04 Feb 2014 16:23:22 -0500 Timo Sirainen Updated copyright notices to include year 2014.
Thu, 30 Jan 2014 22:03:40 +0100 Timo Sirainen net_transmit() may have wrongly returned EPIPE error.
Mon, 23 Sep 2013 04:06:08 +0300 Timo Sirainen lib: Added net_listen_full() with a flag to set SO_REUSEPORT on the socket if available.
Sun, 22 Sep 2013 02:24:05 +0300 Timo Sirainen net_listen_unix(): If path is too long, return EOVERFLOW instead of EINVAL.
Tue, 06 Aug 2013 14:53:23 +0300 Timo Sirainen net_ip2addr() changed to return "" instead of NULL on failure.
Mon, 05 Aug 2013 16:59:21 +0300 Timo Sirainen net_gethosterror(): Never return NULL.
Fri, 28 Jun 2013 19:48:15 +0300 Timo Sirainen Added net_gethostbyaddr() for DNS PTR lookups.
Thu, 11 Apr 2013 13:38:16 +0300 Timo Sirainen net_getunixcred(): Fix to previous NetBSD<5 support: return pid as -1.
Thu, 11 Apr 2013 13:15:39 +0300 Timo Sirainen net_getunixcred() support for NetBSD <v5.0. Fixed also building with other NetBSDs.
Tue, 19 Mar 2013 12:39:43 +0200 Timo Sirainen net_is_in_network(): Don't assert-crash with invalid IP.
Sat, 02 Feb 2013 17:02:55 +0200 Timo Sirainen Oops :) Update copyrights to 2013 without breaking all .c files.
Sat, 02 Feb 2013 17:01:07 +0200 Timo Sirainen Updated copyright notices to include year 2013.
Wed, 09 Jan 2013 05:38:13 +0200 Timo Sirainen Merged changes from v2.1 tree. base src/lib/network.c@8f83847b0dbc
Wed, 03 Oct 2012 18:17:26 +0300 Timo Sirainen Renamed network.[ch] to net.[ch]. base src/lib/network.c@863026c672bd