summaryrefslogtreecommitdiff
path: root/src/network_interface.cpp
AgeCommit message (Collapse)Author
2018-03-28Add missing operators to address classes (#275)stubbfel
* * add or-operator and a simlple unit test for hw_address, ip_address, ipv6_address * add not-operator and a simlple unit test for hw_address, ip_address, ipv6_address * add greater-then-operator and a simlple unit test for ipv6_address * add new constructor and a simlple unit test for network_interface, which use a ipv6_address to find the nic * add override the function gateway_from_ip for ipv6_address parameter (untested) * change the ipv6_address in NotMaskAdress_Test, so that the expceted addresses are valid for the winsock api * Delete CMakeLists.txt.user * * add <=, >, >= operator for HWAddress with tests * add <=, >, >= operator for IPv4Address with tests * add <=,>= operator for IPv6Address with tests * refactoring the & , |, ~ operator of ipv6_address to "regular" operator
2017-09-21Use absolute include pathsMatias Fontanini
Fixes #250
2017-08-05Only use IFF_POINTOPOINT on BSD when getting broadcast addressMatias Fontanini
Fixes #232
2017-05-14Use the right checks to consider an interface up on WindowsMatias Fontanini
Fixes #182 Thanks @gvanem!
2017-05-08Include iterator in network_interfaceMatias Fontanini
2017-04-30Move routing related functions into their own header fileMatias Fontanini
2017-04-29Update license date to 2017Matias Fontanini
2016-03-27Fix issue considering an interface down when it's upMatias Fontanini
2016-03-05Add info members directly into NetworkInterfaceMatias Fontanini
2016-03-02Rename IPv6AddressPrefix to IPv6PrefixMatias Fontanini
2016-03-02Add IPv6 addresses to NetworkInterface::InfoMatias Fontanini
2016-01-31Update copyright noticeMatias Fontanini
2016-01-24Move utils.h implementations to utils.cppMatias Fontanini
2016-01-24Move utils.h implementations to utils.cppMatias Fontanini
2016-01-10Add NetworkInterface::friendly_name to get Windows friendly namesMatias Fontanini
Fixes #103
2016-01-09Code cleanup and use same syntax on the entire projectMatias Fontanini
Initial code cleanup More code cleanup Cleanup more code Cleanup Dot11 code Fix OSX build issue Cleanup examples Fix ref and pointer declaration syntax Fix braces
2015-07-22Restoring deleted commentrklabs
2015-07-22Add additional check for found_ip in case of tunnel interface and then raise ↵rklabs
exception
2015-07-22Incase of tunnel interface(VPN) mac address can be 0rklabs
2015-06-21Add metric to RouteEntry.Matias Fontanini
2015-06-07Fix compilation errors on android.Matias Fontanini
2015-05-19Add NetworkInterface::is_up and NetworkInterface::info.Matias Fontanini
2015-05-19Add NetworkInterface::Info::is_up.Matias Fontanini
2015-05-02Replace WIN32 macro with _WIN32.Matias Fontanini
2014-10-23Fixed exception thrown when an interface didn't have IP address.Matias Fontanini
2014-10-19Added NetworkInterface::is_loopback.Matias Fontanini
2014-09-07Fixed network naming on Windows.Matias Fontanini
2014-09-07NetworkInterface::name now works on Windows.Matias Fontanini
2014-07-13Updated copyright notice.Matias Fontanini
2014-05-06Fixed compilation errors on Windows.Matias Fontanini
2013-11-04Fixed bug triggered when ifaddrs::ifa_addr was null.Matias Fontanini
2013-04-23Fixed BSD notice. Updated AUTHORS file.Matias Fontanini
2013-04-22Fixed compilation issues triggered in GNU/kFreeBSD.Matias Fontanini
2012-12-02libtins compiles and runs under windows. Packets apparently can't be sent yet.Matias Fontanini
2012-12-02libtins now compiles on windows. A couple of features were disabled and need ↵Matias Fontanini
to be fixed though.
2012-11-29Utils::route_entries now works on BSD.Matias Fontanini
2012-11-28Ported almost everything to BSD. Utils::route_entries and sending link layer ↵Matias Fontanini
PDUs still don't work.
2012-10-08Every test now pass on big endian architectures. Ported about half of the ↵Matias Fontanini
library to windows as well.
2012-10-07libtins now uses a BSD license.Matias Fontanini
2012-09-05Improved compile time using forward declarations and removing useless includes.Matias Fontanini
2012-09-03Moved endianness change functions to endianness.h.Matias Fontanini
2012-08-27Documented and fixed some bugs in IPv4Address.Matias Fontanini
2012-08-27RAII'd some code. Everything(hopefully) uses IPv4Address now.Matias Fontanini
2012-08-16No code uses net_to_host_* now.Matias Fontanini
2012-08-13Done minor modifications on Utils.Matias Fontanini
2012-08-09EthernetII, IEEE802_3 and Dot11(and subclasses) now use NetworkInterface and ↵Matias Fontanini
HWAddress.
2012-08-09NetworkInterface class is working.Matias Fontanini
2012-08-08Added NetworkInterface class. Needs testing.Matias Fontanini