diff options
author | Andreas Hartmetz <andreas@ixgreen.de> | 2021-01-25 23:48:32 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-02-23 11:49:37 +0000 |
commit | bdfbd4c20b4558b81d96804a0a3cbef81915936c (patch) | |
tree | 830e0ad25b9e213d02d6a5efdbb585e20b2596fa | |
parent | 47be67d65a15a3736f19b7d7e13abe64e79946a7 (diff) |
Fix QNetworkInterface IsUp and IsRunning enum documentation
The information is based on common Linux knowledge, StackOverflow
answers (this is just one of them):
https://stackoverflow.com/questions/11679514/what-is-the-
difference-between-iff-up-and-iff-running
an LKML thread about IFF_UP and IFF_RUNNING:
https://lkml.org/lkml/1999/7/9/69
and the FreeBSD manpage for "ifnet" - e.g.
https://www.freebsd.org/cgi/man.cgi?query=ifnet&sektion=9
Change-Id: I50a47b7fb26a63ac9d3f7eeef559fa7f56003cff
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit e6bd5a5ca3f55765edccf7c667612fb0919e6c94)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/network/kernel/qnetworkinterface.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/network/kernel/qnetworkinterface.cpp b/src/network/kernel/qnetworkinterface.cpp index eed57f8a32..6e87a783a8 100644 --- a/src/network/kernel/qnetworkinterface.cpp +++ b/src/network/kernel/qnetworkinterface.cpp @@ -552,9 +552,11 @@ bool QNetworkAddressEntry::isPermanent() const Specifies the flags associated with this network interface. The possible values are: - \value IsUp the network interface is active - \value IsRunning the network interface has resources - allocated + \value IsUp the network interface is "up" - + enabled by administrative action + \value IsRunning the network interface is operational: + configured "up" and (typically) + physically connected to a network \value CanBroadcast the network interface works in broadcast mode \value IsLoopBack the network interface is a loopback |