Matias Fontanini
|
ecacd4aee5
|
Only use IFF_POINTOPOINT on BSD when getting broadcast address
Fixes #232
|
2017-08-05 19:05:46 -07:00 |
|
Matias Fontanini
|
d7a7877bfe
|
Use the right checks to consider an interface up on Windows
Fixes #182
Thanks @gvanem!
|
2017-05-14 15:01:36 -07:00 |
|
Matias Fontanini
|
734b874dab
|
Include iterator in network_interface
|
2017-05-08 22:23:45 -07:00 |
|
Matias Fontanini
|
f764f68e9c
|
Move routing related functions into their own header file
|
2017-04-30 12:32:16 -07:00 |
|
Matias Fontanini
|
c06787ca22
|
Update license date to 2017
|
2017-04-29 09:56:26 -07:00 |
|
Matias Fontanini
|
928e66eb27
|
Fix issue considering an interface down when it's up
|
2016-03-27 08:21:05 -07:00 |
|
Matias Fontanini
|
e15ef0d837
|
Add info members directly into NetworkInterface
|
2016-03-05 10:33:50 -08:00 |
|
Matias Fontanini
|
3a99213c0b
|
Rename IPv6AddressPrefix to IPv6Prefix
|
2016-03-02 21:34:21 -08:00 |
|
Matias Fontanini
|
ad71158268
|
Add IPv6 addresses to NetworkInterface::Info
|
2016-03-02 21:13:50 -08:00 |
|
Matias Fontanini
|
fb4e5086fd
|
Update copyright notice
|
2016-01-31 20:03:49 -08:00 |
|
Matias Fontanini
|
0cf3dd3342
|
Move utils.h implementations to utils.cpp
|
2016-01-24 14:13:34 -08:00 |
|
Matias Fontanini
|
d7df3a449e
|
Move utils.h implementations to utils.cpp
|
2016-01-24 11:37:05 -08:00 |
|
Matias Fontanini
|
75add84741
|
Add NetworkInterface::friendly_name to get Windows friendly names
Fixes #103
|
2016-01-10 17:44:32 -08:00 |
|
Matias Fontanini
|
d84f10cf08
|
Code cleanup and use same syntax on the entire project
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
|
2016-01-09 10:01:58 -08:00 |
|
rklabs
|
9c9994f129
|
Restoring deleted comment
|
2015-07-22 22:24:53 +05:30 |
|
rklabs
|
97e6a99c5e
|
Add additional check for found_ip in case of tunnel interface and then raise exception
|
2015-07-22 22:06:21 +05:30 |
|
rklabs
|
d09450980a
|
Incase of tunnel interface(VPN) mac address can be 0
|
2015-07-22 21:08:40 +05:30 |
|
Matias Fontanini
|
d447009779
|
Add metric to RouteEntry.
|
2015-06-21 14:32:23 -07:00 |
|
Matias Fontanini
|
0a2fdfcd42
|
Fix compilation errors on android.
|
2015-06-07 15:25:57 -07:00 |
|
Matias Fontanini
|
76c6511e0c
|
Add NetworkInterface::is_up and NetworkInterface::info.
|
2015-05-19 18:52:42 -07:00 |
|
Matias Fontanini
|
2f2a705127
|
Add NetworkInterface::Info::is_up.
|
2015-05-19 18:44:24 -07:00 |
|
Matias Fontanini
|
a607ab380c
|
Replace WIN32 macro with _WIN32.
|
2015-05-02 16:25:59 -07:00 |
|
Matias Fontanini
|
69440fbc75
|
Fixed exception thrown when an interface didn't have IP address.
|
2014-10-23 00:04:20 -05:00 |
|
Matias Fontanini
|
64fac4f255
|
Added NetworkInterface::is_loopback.
|
2014-10-19 09:13:28 -03:00 |
|
Matias Fontanini
|
b532753a16
|
Fixed network naming on Windows.
|
2014-09-07 23:48:37 -03:00 |
|
Matias Fontanini
|
9d4bdce7a9
|
NetworkInterface::name now works on Windows.
|
2014-09-07 16:40:50 -03:00 |
|
Matias Fontanini
|
2dff95700f
|
Updated copyright notice.
|
2014-07-13 11:04:29 -03:00 |
|
Matias Fontanini
|
559c963d63
|
Fixed compilation errors on Windows.
|
2014-05-06 00:13:05 -03:00 |
|
Matias Fontanini
|
de06fee5ab
|
Fixed bug triggered when ifaddrs::ifa_addr was null.
|
2013-11-04 15:53:55 -03:00 |
|
Matias Fontanini
|
5064a9255b
|
Fixed BSD notice. Updated AUTHORS file.
|
2013-04-23 20:33:00 -03:00 |
|
Matias Fontanini
|
fdfb8b0dea
|
Fixed compilation issues triggered in GNU/kFreeBSD.
|
2013-04-22 23:48:53 -03:00 |
|
Matias Fontanini
|
742276c251
|
libtins compiles and runs under windows. Packets apparently can't be sent yet.
|
2012-12-02 20:25:05 -03:00 |
|
Matias Fontanini
|
6d1e96866e
|
libtins now compiles on windows. A couple of features were disabled and need to be fixed though.
|
2012-12-02 00:45:10 -03:00 |
|
Matias Fontanini
|
acff776d56
|
Utils::route_entries now works on BSD.
|
2012-11-29 17:11:10 -03:00 |
|
Matias Fontanini
|
6696c1b284
|
Ported almost everything to BSD. Utils::route_entries and sending link layer PDUs still don't work.
|
2012-11-28 00:11:42 -03:00 |
|
Matias Fontanini
|
73577c744a
|
Every test now pass on big endian architectures. Ported about half of the library to windows as well.
|
2012-10-08 21:14:57 -03:00 |
|
Matias Fontanini
|
1c22dab2dc
|
libtins now uses a BSD license.
|
2012-10-07 20:33:45 -03:00 |
|
Matias Fontanini
|
3cb6603151
|
Improved compile time using forward declarations and removing useless includes.
|
2012-09-05 11:59:46 -03:00 |
|
Matias Fontanini
|
832a79a1e1
|
Moved endianness change functions to endianness.h.
|
2012-09-03 23:58:43 -03:00 |
|
Matias Fontanini
|
e1a84be0cb
|
Documented and fixed some bugs in IPv4Address.
|
2012-08-27 11:57:14 -03:00 |
|
Matias Fontanini
|
da8c77c77e
|
RAII'd some code. Everything(hopefully) uses IPv4Address now.
|
2012-08-27 00:16:56 -03:00 |
|
Matias Fontanini
|
e83acc92cc
|
No code uses net_to_host_* now.
|
2012-08-16 23:45:50 -03:00 |
|
Matias Fontanini
|
0014d5e0f7
|
Done minor modifications on Utils.
|
2012-08-13 15:28:42 -03:00 |
|
Matias Fontanini
|
91af0f9cc2
|
EthernetII, IEEE802_3 and Dot11(and subclasses) now use NetworkInterface and HWAddress.
|
2012-08-09 12:00:29 -03:00 |
|
Matias Fontanini
|
29c5a696e5
|
NetworkInterface class is working.
|
2012-08-09 09:52:44 -03:00 |
|
Matias Fontanini
|
dd1d1c3c49
|
Added NetworkInterface class. Needs testing.
|
2012-08-08 23:43:08 -03:00 |
|