8d9f11a45d83489f222cdd5dc839c64e575eca39 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Remove net_transmit()
Its API was confusing, and it's no longer used anywhere. |
19557f192d37cd54a1a090a8a26d9d47265e4413 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix spelling mistakes in comments
Original work by @andreasschulze and @jsoref |
727d691bba4385eb725204f40dc5ecdaf42da8e9 |
|
15-Nov-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib: Add net_ipport2str
Converts struct ip_addr + port into either
127.0.0.1:6000 or [::1]:6000. |
243c1821db2143d76cb6c57a249ec5a7d4031578 |
|
26-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Fixed net_str2port*() comments |
2dca65ba6192532de99e668cd68ccf6015e77788 |
|
16-Jun-2016 |
Stephan Bosch <stephan@dovecot.fi> |
lib: Created net_set_tcp_nodelay(), which enables the TCP_NODELAY socket option.
This disables the TCP Nagle algorithm. |
db623deb12c3566618faba5a35a44ceed83c3dc0 |
|
03-Jun-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: net_get_ip_any[46]() to struct net_ip[46]_any
Also add struct net_ip[46]_loopback. |
8848174ce2d15daa9c4a20c93157e4401941f4f2 |
|
26-May-2016 |
Stephan Bosch <stephan@dovecot.fi> |
lib: Implemented net_set_send_buffer_size() and net_set_recv_buffer_size().
These functions allow manipulating the kernel socket buffer sizes for a socket file descriptor. |
fc7dde2040af579e5cf6769bbf63880071badf11 |
|
19-Apr-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
Require IPv6 to build |
8bb311aef8b8a6ddda990414083cecedcea77c09 |
|
29-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Added net_str2hostport() |
7375e38258226d559fb66141cb77c3f272ed7e70 |
|
04-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Added unit tests for net_is_in_network() about IPv4-mapped IPv6 addresses |
84296542cb39dd452da2c64b84f3d48422cb42fd |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Earlier in_port_t fix created problems with service listener configuration.
Listeners are disabled with port=0, which was not allowed anymore. |
009217abb57a24a4076092e8e4e165545747839e |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Changed type of internet port values to in_port_t everywhere.
Created special SET_IN_PORT setting type for internet port values.
Created net_str2port() for parsing internet port values.
Removed several atoi() invocations in the process. |
efbeceffc8cb1602d698151b0246f29e13b980fa |
|
04-Oct-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib: Added support for connecting UDP sockets. |
b270c58fc227c91a88b07316d680418ec75021e9 |
|
23-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
lib: Added net_listen_full() with a flag to set SO_REUSEPORT on the socket if available. |
91a58087aa77d102ede3960fe99f78afe42d09eb |
|
06-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
net_ip2addr() changed to return "" instead of NULL on failure.
Pretty much everything in the code assumed that it would never fail, which
it normally doesn't except if the ip_addr was created for UNIX sockets. |
c8ef5fc9c4bfa0ee237f9e1d1d94ac5ac2f1bc04 |
|
05-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
dns: Use EAI_NONAME, not EAI_ADDRFAMILY to indicate "no addresses". |
ebbb3d4af58b5166867f756db5bfd7cdad53ce2e |
|
05-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lib-dns, dns: Don't use IPv4-only error codes |
684b65874c28386cc14e4d90eecf002ffefa15a4 |
|
28-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
Added net_gethostbyaddr() for DNS PTR lookups.
This code assumes we have IPv6 capability. Perhaps we should just require it
everywhere already.. |
32a1beb2dd2092a5de1741e02e9667484c34b4c6 |
|
18-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
net_is_in_network(): Don't assert-crash with invalid IP.
It's probably better to do the check here instead of remembering for caller
to do the check. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |