-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux platform functions to get network interfaces #1811
Commits on Jan 12, 2021
-
Improved get_network_interfaces_info() in Linux
It still remains to add details on bridges.
Configuration menu - View commit details
-
Copy full SHA for a3f3472 - Browse repository at this point
Copy the full SHA a3f3472View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1acea1 - Browse repository at this point
Copy the full SHA c1acea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19794f2 - Browse repository at this point
Copy the full SHA 19794f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 814a2b6 - Browse repository at this point
Copy the full SHA 814a2b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9fa008 - Browse repository at this point
Copy the full SHA b9fa008View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9490d2d - Browse repository at this point
Copy the full SHA 9490d2dView commit details -
Test Linux platform::get_network_interface_info().
The test is incomplete, since we still have to mock the filesystem to mimic reading from /sys.
Configuration menu - View commit details
-
Copy full SHA for 49c1abf - Browse repository at this point
Copy the full SHA 49c1abfView commit details -
Linux tests for getting network interfaces info.
To test virtual interfaces, the filesystem had to be mocked in order to create a structure similar to /sys. For physical interfaces, only the output of the `ip` command had to be simulated.
Configuration menu - View commit details
-
Copy full SHA for ea00b5e - Browse repository at this point
Copy the full SHA ea00b5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dff0ce5 - Browse repository at this point
Copy the full SHA dff0ce5View commit details -
Improve Linux platform functions.
Move free functions to unnamed namespace. Add comments about confinement. These things were pointed out during the review of the PR.
Configuration menu - View commit details
-
Copy full SHA for 35ee551 - Browse repository at this point
Copy the full SHA 35ee551View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbdf26d - Browse repository at this point
Copy the full SHA cbdf26dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e4dff - Browse repository at this point
Copy the full SHA c9e4dffView commit details -
[linux] Improved get_network_interfaces_info().
- Made output strings look like the other platforms output; - simplified function interfaces; - add some logging.
Configuration menu - View commit details
-
Copy full SHA for 6d24c90 - Browse repository at this point
Copy the full SHA 6d24c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for a960322 - Browse repository at this point
Copy the full SHA a960322View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a5aff7 - Browse repository at this point
Copy the full SHA 8a5aff7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fecd38b - Browse repository at this point
Copy the full SHA fecd38bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03bd662 - Browse repository at this point
Copy the full SHA 03bd662View commit details -
[linux] Read /proc/net/wireless only once.
It was read each time a physical interface was queried.
Configuration menu - View commit details
-
Copy full SHA for 4061178 - Browse repository at this point
Copy the full SHA 4061178View commit details