Arvid Norberg
b94ea71957
fix literal operator declaration
2025-03-04 02:36:58 +01:00
arvidn
5935f63ead
update copyrights
2020-09-01 05:14:17 -07:00
arvidn
ebadcaf331
build and run enum_if on FreeBSD CI
2020-08-22 02:32:17 -07:00
Arvid Norberg
2c518b3430
merge RC_1_2 into RC_2_0
2020-07-21 08:48:58 +02:00
arvidn
fab02846a3
add interface to enum_net_interfaces for if-flags and if-state. extend enum_if test program to print them. make session_impl not expand unspecified addresses to interfaces that are down
2020-07-20 23:03:24 -07:00
arvidn
50124ec7f7
merged RC_1_2 into master
2020-03-03 14:23:52 +01:00
arvidn
fdf4514d4f
remove is_loopback. use member function is_loopback instead
2020-02-28 19:03:02 +01:00
arvidn
cc792d8638
improve error messages and error reporting of failing enum_routes()
2020-02-26 17:48:12 +01:00
arvidn
84186c6c2a
factor out ip address helpers from broadcast_socket and move broadcast socket into the test support library, as it's only used by tests now
2020-01-23 23:59:01 +01:00
arvidn
b5c5b38a01
merged RC_1_2 into master
2020-01-23 08:11:51 +01:00
arvidn
208d71ba77
support source-hint from routing table, where supported
2020-01-22 15:50:33 +01:00
arvidn
206935c25b
merged RC_1_2 into master
2020-01-21 19:41:59 +01:00
arvidn
f5ebd4e354
simplify natpmp by requiring it to be tied to a specific network, and use get_gateway() and remove unused get_default_route() functions
2020-01-20 01:24:22 +01:00
arvidn
a8c41c0c31
merge RC_1_2 into master
2020-01-19 09:58:24 +01:00
arvidn
a53d3a8746
factor out get_gateway function and add unit tests. IPv6 gateways are not addressed in the same network, so we can't use match_addr_mask(). Assume all local IPv6 addresses do not have a gateway
2020-01-19 08:27:33 +01:00
arvidn
d3f7a363c2
update copyright year
2019-08-29 00:13:04 +02:00
arvidn
2f9ed031db
disable deprecated boost.asio APIs
2019-02-13 22:16:59 +01:00
arvidn
d0e95ea698
replace io_service with io_context
2019-02-11 20:19:08 +01:00
Arvid Norberg
a477a53b80
simplify natpmp gateway and local address discovery
2018-07-29 13:10:36 +02:00
Steven Siloti
2cf1018fa0
enum_if: add default gateway column to interface table
2018-06-07 18:18:31 -07:00
Steven Siloti
78be52112f
create a natpmp instance for each listen socket
2018-06-07 18:16:08 -07:00
Alden Torres
421709f67f
added friendly_name and description to ip_interface ( #2799 )
2018-02-19 11:46:35 +01:00
arvidn
d59d394d5b
remove residual mentions of mtu for interfaces
2017-08-20 22:34:20 +02:00
Alden Torres
66734e2e5b
using if_indextoname instead of RTM_GETLINK to fill the interface name in enum_net_interfaces ( #2253 )
...
using if_indextoname instead of RTM_GETLINK to fill the interface name in enum_net_interfaces. removed IFA_LABEL switch case, removed ip_interface::mtu, master rebase
2017-08-20 10:55:59 +02:00
arvidn
d138f02424
introduce lt namespace alias
2017-04-23 23:43:58 -04:00
arvidn
20aeed09e1
clean up tests
2016-11-12 17:39:34 -05:00
arvidn
6c805bd06d
simplify print statements in tests
2016-10-09 20:23:45 -04:00
Arvid Norberg
e801d2e6de
modernize replace deprecated headers ( #897 )
2016-07-09 23:17:55 -04:00
Arvid Norberg
e8380e1d0b
factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows ( #732 )
2016-05-17 09:24:06 -04:00
Alden Torres
b85b501d92
Using address::is_multicast instead util function ( #686 )
2016-05-01 18:15:25 -04:00
Luca Bruno
6feab20733
test: fix enum_if compilation
...
Signed-off-by: Luca Bruno <lucab@debian.org >
2016-01-04 14:27:39 +01:00
Arvid Norberg
f9c9d0ad0d
merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile.
2015-05-30 04:31:23 +00:00
Arvid Norberg
bbe62564ad
low level network primitives should not be exported. Moved enum_if into tests (since it uses internal functions)
2013-07-20 01:02:15 +00:00