Top |
GEnum ├── NM80211Mode ├── NMActiveConnectionState ├── NMActiveConnectionStateReason ├── NMCapability ├── NMClientPermission ├── NMClientPermissionResult ├── NMConnectionMultiConnect ├── NMConnectivityState ├── NMDeviceState ├── NMDeviceStateReason ├── NMDeviceType ├── NMIPTunnelMode ├── NMMetered ├── NMState ├── NMTernary ├── NMVersionInfoCapability ╰── NMWimaxNspNetworkType GFlags ├── NM80211ApFlags ├── NM80211ApSecurityFlags ├── NMActivationStateFlags ├── NMBluetoothCapabilities ├── NMCheckpointCreateFlags ├── NMDeviceCapabilities ├── NMDeviceInterfaceFlags ├── NMDeviceModemCapabilities ├── NMDeviceReapplyFlags ├── NMDeviceWifiCapabilities ├── NMManagerReloadFlags ├── NMMptcpFlags ├── NMRadioFlags ├── NMSecretAgentCapabilities ├── NMSecretAgentGetSecretsFlags ├── NMSettingsAddConnection2Flags ├── NMSettingsConnectionFlags ╰── NMSettingsUpdate2Flags
#define NM_DBUS_INTERFACE_ACCESS_POINT NM_DBUS_INTERFACE ".AccessPoint"
#define NM_DBUS_INTERFACE_ACTIVE_CONNECTION NM_DBUS_INTERFACE ".Connection.Active"
#define NM_DBUS_INTERFACE_DEVICE_6LOWPAN NM_DBUS_INTERFACE_DEVICE ".Lowpan"
#define NM_DBUS_INTERFACE_DEVICE_ADSL NM_DBUS_INTERFACE_DEVICE ".Adsl"
#define NM_DBUS_INTERFACE_DEVICE_BLUETOOTH NM_DBUS_INTERFACE_DEVICE ".Bluetooth"
#define NM_DBUS_INTERFACE_DEVICE_BOND NM_DBUS_INTERFACE_DEVICE ".Bond"
#define NM_DBUS_INTERFACE_DEVICE_BRIDGE NM_DBUS_INTERFACE_DEVICE ".Bridge"
#define NM_DBUS_INTERFACE_DEVICE_DUMMY NM_DBUS_INTERFACE_DEVICE ".Dummy"
#define NM_DBUS_INTERFACE_DEVICE_GENERIC NM_DBUS_INTERFACE_DEVICE ".Generic"
#define NM_DBUS_INTERFACE_DEVICE_INFINIBAND NM_DBUS_INTERFACE_DEVICE ".Infiniband"
#define NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL NM_DBUS_INTERFACE_DEVICE ".IPTunnel"
#define NM_DBUS_INTERFACE_DEVICE_IPVLAN NM_DBUS_INTERFACE_DEVICE ".Ipvlan"
#define NM_DBUS_INTERFACE_DEVICE_LOOPBACK NM_DBUS_INTERFACE_DEVICE ".Loopback"
#define NM_DBUS_INTERFACE_DEVICE_MACSEC NM_DBUS_INTERFACE_DEVICE ".Macsec"
#define NM_DBUS_INTERFACE_DEVICE_MACVLAN NM_DBUS_INTERFACE_DEVICE ".Macvlan"
#define NM_DBUS_INTERFACE_DEVICE_MODEM NM_DBUS_INTERFACE_DEVICE ".Modem"
#define NM_DBUS_INTERFACE_DEVICE_OLPC_MESH NM_DBUS_INTERFACE_DEVICE ".OlpcMesh"
#define NM_DBUS_INTERFACE_DEVICE_OVS_BRIDGE NM_DBUS_INTERFACE_DEVICE ".OvsBridge"
#define NM_DBUS_INTERFACE_DEVICE_OVS_INTERFACE NM_DBUS_INTERFACE_DEVICE ".OvsInterface"
#define NM_DBUS_INTERFACE_DEVICE_OVS_PORT NM_DBUS_INTERFACE_DEVICE ".OvsPort"
#define NM_DBUS_INTERFACE_DEVICE_STATISTICS NM_DBUS_INTERFACE_DEVICE ".Statistics"
#define NM_DBUS_INTERFACE_DEVICE_TEAM NM_DBUS_INTERFACE_DEVICE ".Team"
#define NM_DBUS_INTERFACE_DEVICE_VETH NM_DBUS_INTERFACE_DEVICE ".Veth"
#define NM_DBUS_INTERFACE_DEVICE_VLAN NM_DBUS_INTERFACE_DEVICE ".Vlan"
#define NM_DBUS_INTERFACE_DEVICE_VXLAN NM_DBUS_INTERFACE_DEVICE ".Vxlan"
#define NM_DBUS_INTERFACE_DEVICE_WIFI_P2P NM_DBUS_INTERFACE_DEVICE ".WifiP2P"
#define NM_DBUS_INTERFACE_DEVICE_WIMAX NM_DBUS_INTERFACE_DEVICE ".WiMax"
#define NM_DBUS_INTERFACE_DEVICE_WIRED NM_DBUS_INTERFACE_DEVICE ".Wired"
#define NM_DBUS_INTERFACE_DEVICE_WIREGUARD NM_DBUS_INTERFACE_DEVICE ".WireGuard"
#define NM_DBUS_INTERFACE_DEVICE_WIRELESS NM_DBUS_INTERFACE_DEVICE ".Wireless"
#define NM_DBUS_INTERFACE_DEVICE_WPAN NM_DBUS_INTERFACE_DEVICE ".Wpan"
#define NM_DBUS_INTERFACE_DHCP4_CONFIG NM_DBUS_INTERFACE ".DHCP4Config"
#define NM_DBUS_INTERFACE_DHCP6_CONFIG NM_DBUS_INTERFACE ".DHCP6Config"
#define NM_DBUS_INTERFACE_WIFI_P2P_PEER NM_DBUS_INTERFACE ".WifiP2PPeer"
#define NM_DBUS_INTERFACE_SETTINGS "org.freedesktop.NetworkManager.Settings"
#define NM_DBUS_INTERFACE_SETTINGS_CONNECTION "org.freedesktop.NetworkManager.Settings.Connection"
#define NM_DBUS_PATH_SETTINGS_CONNECTION "/org/freedesktop/NetworkManager/Settings/Connection"
#define NM_DBUS_INTERFACE_AGENT_MANAGER NM_DBUS_INTERFACE ".AgentManager"
#define NM_DBUS_PATH_AGENT_MANAGER "/org/freedesktop/NetworkManager/AgentManager"
#define NM_DBUS_INTERFACE_SECRET_AGENT NM_DBUS_INTERFACE ".SecretAgent"
#define NM_DBUS_PATH_SECRET_AGENT "/org/freedesktop/NetworkManager/SecretAgent"
#define NM_DBUS_INTERFACE_DNS_MANAGER "org.freedesktop.NetworkManager.DnsManager"
#define NM_DBUS_PATH_DNS_MANAGER "/org/freedesktop/NetworkManager/DnsManager"
Currently no enum values are defined. These capabilities are exposed on D-Bus in the "VersionInfo" bit field.
Since: 1.42
NMCapability names the numbers in the Capabilities property. Capabilities are positive numbers. They are part of stable API and a certain capability number is guaranteed not to change.
The range 0x7000 - 0x7FFF of capabilities is guaranteed not to be used by upstream NetworkManager. It could thus be used for downstream extensions.
Since: 1.6
NMState values indicate the current overall networking state.
Networking state is unknown. This indicates a daemon error that makes it unable to reasonably assess the state. In such event the applications are expected to assume Internet connectivity might be present and not disable controls that require network access. The graphical shells may hide the network accessibility indicator altogether since no meaningful status indication can be provided. |
||
Networking is not enabled, the system is being suspended or resumed from suspend. |
||
There is no active network connection. The graphical shell should indicate no network connectivity and the applications should not attempt to access the network. |
||
Network connections are being cleaned up. The applications should tear down their network sessions. |
||
A network connection is being started The graphical shell should indicate the network is being connected while the applications should still make no attempts to connect the network. |
||
There is only local IPv4 and/or IPv6 connectivity, but no default route to access the Internet. The graphical shell should indicate no network connectivity. |
||
There is only site-wide IPv4 and/or IPv6 connectivity. This means a default route is available, but the Internet connectivity check (see "Connectivity" property) did not succeed. The graphical shell should indicate limited network connectivity. |
||
There is global IPv4 and/or IPv6 Internet connectivity This means the Internet connectivity check succeeded, the graphical shell should indicate full network connectivity. |
Network connectivity is unknown. This means the connectivity checks are disabled (e.g. on server installations) or has not run yet. The graphical shell should assume the Internet connection might be available and not present a captive portal window. |
||
The host is not connected to any network. There's no active connection that contains a default route to the internet and thus it makes no sense to even attempt a connectivity check. The graphical shell should use this state to indicate the network connection is unavailable. |
||
The Internet connection is hijacked by a captive
portal gateway. The graphical shell may open a sandboxed web browser window
(because the captive portals typically attempt a man-in-the-middle attacks
against the https connections) for the purpose of authenticating to a gateway
and retrigger the connectivity check with |
||
The host is connected to a network, does not appear to be able to reach the full Internet, but a captive portal has not been detected. |
||
The host is connected to a network, and appears to be able to reach the full Internet. |
NMDeviceType values indicate the type of hardware represented by a device object.
unknown device |
||
a wired ethernet device |
||
an 802.11 Wi-Fi device |
||
not used |
||
not used |
||
a Bluetooth device supporting PAN or DUN access protocols |
||
an OLPC XO mesh networking device |
||
an 802.16e Mobile WiMAX broadband device |
||
a modem supporting analog telephone, CDMA/EVDO, GSM/UMTS, or LTE network access protocols |
||
an IP-over-InfiniBand device |
||
a bond controller interface |
||
an 802.1Q VLAN interface |
||
ADSL modem |
||
a bridge controller interface |
||
generic support for unrecognized device types |
||
a team controller interface |
||
a TUN or TAP interface |
||
a IP tunnel interface |
||
a MACVLAN interface |
||
a VXLAN interface |
||
a VETH interface |
||
a MACsec interface |
||
a dummy interface |
||
a PPP interface |
||
a Open vSwitch interface |
||
a Open vSwitch port |
||
a Open vSwitch bridge |
||
a IEEE 802.15.4 (WPAN) MAC Layer Device |
||
6LoWPAN interface |
||
a WireGuard interface |
||
an 802.11 Wi-Fi P2P device. Since: 1.16. |
||
A VRF (Virtual Routing and Forwarding) interface. Since: 1.24. |
||
a loopback interface. Since: 1.42. |
||
A HSR/PRP device. Since: 1.46. |
||
A IPVLAN device. Since: 1.52. |
General device capability flags.
802.11 specific device encryption and authentication capabilities.
device has no encryption/authentication capabilities |
||
device supports 40/64-bit WEP encryption |
||
device supports 104/128-bit WEP encryption |
||
device supports TKIP encryption |
||
device supports AES/CCMP encryption |
||
device supports WPA1 authentication |
||
device supports WPA2/RSN authentication |
||
device supports Access Point mode |
||
device supports Ad-Hoc mode |
||
device reports frequency capabilities |
||
device supports 2.4GHz frequencies |
||
device supports 5GHz frequencies |
||
device supports 6GHz frequencies. Since: 1.46. |
||
device supports acting as a mesh point. Since: 1.20. |
||
device supports WPA2/RSN in an IBSS network. Since: 1.22. |
802.11 access point flags.
802.11 access point security and authentication flags. These flags describe the current security requirements of an access point as determined from the access point's beacon.
the access point has no special security requirements |
||
40/64-bit WEP is supported for pairwise/unicast encryption |
||
104/128-bit WEP is supported for pairwise/unicast encryption |
||
TKIP is supported for pairwise/unicast encryption |
||
AES/CCMP is supported for pairwise/unicast encryption |
||
40/64-bit WEP is supported for group/broadcast encryption |
||
104/128-bit WEP is supported for group/broadcast encryption |
||
TKIP is supported for group/broadcast encryption |
||
AES/CCMP is supported for group/broadcast encryption |
||
WPA/RSN Pre-Shared Key encryption is supported |
||
802.1x authentication and key management is supported |
||
WPA/RSN Simultaneous Authentication of Equals is supported |
||
WPA/RSN Opportunistic Wireless Encryption is supported |
||
WPA/RSN Opportunistic Wireless Encryption transition mode is supported. Since: 1.26. |
||
WPA3 Enterprise Suite-B 192 bit mode is supported. Since: 1.30. |
Indicates the 802.11 mode an access point or device is currently in.
the device or access point mode is unknown |
||
for both devices and access point objects, indicates the object is part of an Ad-Hoc 802.11 network without a central coordinating access point. |
||
the device or access point is in infrastructure mode. For devices, this indicates the device is an 802.11 client/station. For access point objects, this indicates the object is an access point that provides connectivity to clients. |
||
the device is an access point/hotspot. Not valid for access point objects; used only for hotspot mode on the local machine. |
||
the device is a 802.11s mesh point. Since: 1.20. |
NMBluetoothCapabilities values indicate the usable capabilities of a Bluetooth device.
NMDeviceModemCapabilities values indicate the generic radio access technology families a modem device supports. For more information on the specific access technologies the device supports use the ModemManager D-Bus API.
modem has no usable capabilities |
||
modem uses the analog wired telephone network and is not a wireless/cellular device |
||
modem supports at least one of CDMA 1xRTT, EVDO revision 0, EVDO revision A, or EVDO revision B |
||
modem supports at least one of GSM, GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability |
||
modem has LTE data capability |
||
modem has 5GNR data capability. Since: 1.36. |
the device's state is unknown |
||
the device is recognized, but not managed by NetworkManager |
||
the device is managed by NetworkManager, but is not available for use. Reasons may include the wireless switched off, missing firmware, no ethernet carrier, missing supplicant or modem manager, etc. |
||
the device can be activated, but is currently idle and not connected to a network. |
||
the device is preparing the connection to the network. This may include operations like changing the MAC address, setting physical link properties, and anything else required to connect to the requested network. |
||
the device is connecting to the requested network. This may include operations like associating with the Wi-Fi AP, dialing the modem, connecting to the remote Bluetooth device, etc. |
||
the device requires more information to continue connecting to the requested network. This includes secrets like WiFi passphrases, login passwords, PIN codes, etc. |
||
the device is requesting IPv4 and/or IPv6 addresses and routing information from the network. |
||
the device is checking whether further action is required for the requested network connection. This may include checking whether only local network access is available, whether a captive portal is blocking access to the Internet, etc. |
||
the device is waiting for a secondary connection (like a VPN) which must activated before the device can be activated |
||
the device has a network connection, either local or global. |
||
a disconnection from the current network connection was requested, and the device is cleaning up resources used for that connection. The network connection may still be valid. |
||
the device failed to connect to the requested network and is cleaning up the connection request |
Device state change reason codes
No reason given |
||
Unknown error |
||
Device is now managed |
||
Device is now unmanaged |
||
The device could not be readied for configuration |
||
IP configuration could not be reserved (no available address, timeout, etc) |
||
The IP config is no longer valid |
||
Secrets were required, but not provided |
||
802.1x supplicant disconnected |
||
802.1x supplicant configuration failed |
||
802.1x supplicant failed |
||
802.1x supplicant took too long to authenticate |
||
PPP service failed to start |
||
PPP service disconnected |
||
PPP failed |
||
DHCP client failed to start |
||
DHCP client error |
||
DHCP client failed |
||
Shared connection service failed to start |
||
Shared connection service failed |
||
AutoIP service failed to start |
||
AutoIP service error |
||
AutoIP service failed |
||
The line is busy |
||
No dial tone |
||
No carrier could be established |
||
The dialing request timed out |
||
The dialing attempt failed |
||
Modem initialization failed |
||
Failed to select the specified APN |
||
Not searching for networks |
||
Network registration denied |
||
Network registration timed out |
||
Failed to register with the requested network |
||
PIN check failed |
||
Necessary firmware for the device may be missing |
||
The device was removed |
||
NetworkManager went to sleep |
||
The device's active connection disappeared |
||
Device disconnected by user or client |
||
Carrier/link changed |
||
The device's existing connection was assumed |
||
The supplicant is now available |
||
The modem could not be found |
||
The Bluetooth connection failed or timed out |
||
GSM Modem's SIM Card not inserted |
||
GSM Modem's SIM Pin required |
||
GSM Modem's SIM Puk required |
||
GSM Modem's SIM wrong |
||
InfiniBand device does not support connected mode |
||
A dependency of the connection failed |
||
Problem with the RFC 2684 Ethernet over ADSL bridge |
||
ModemManager not running |
||
The Wi-Fi network could not be found |
||
A secondary connection of the base connection failed |
||
DCB or FCoE setup failed |
||
teamd control failed |
||
Modem failed or no longer available |
||
Modem now ready and available |
||
SIM PIN was incorrect |
||
New connection activation was enqueued |
||
the device's parent changed |
||
the device parent's management changed |
||
problem communicating with Open vSwitch database |
||
a duplicate IP address was detected |
||
The selected IP method is not supported |
||
configuration of SR-IOV parameters failed |
||
The Wi-Fi P2P peer could not be found |
||
The device handler dispatcher returned an error. Since: 1.46 |
||
The device is unmanaged because the device type is unmanaged by default. Since: 1.48 |
||
The device is unmanaged because it is an external device and is unconfigured (down or without addresses). Since: 1.48 |
||
The device is unmanaged because the link is not initialized by udev. Since: 1.48 |
||
The device is unmanaged because NetworkManager is quitting. Since: 1.48 |
||
The device is unmanaged because networking is disabled or the system is suspended. Since: 1.48 |
||
The device is unmanaged by user decision in NetworkManager.conf ('unmanaged' in a [device*] section). Since: 1.48 |
||
The device is unmanaged by explicit user decision (e.g. 'nmcli device set $DEV managed no'). Since: 1.48 |
||
The device is unmanaged by user decision via settings plugin ('unmanaged-devices' for keyfile or 'NM_CONTROLLED=no' for ifcfg-rh). Since: 1.48 |
||
The device is unmanaged via udev rule. Since: 1.48 |
The NMMetered enum has two different purposes: one is to configure "connection.metered" setting of a connection profile in NMSettingConnection, and the other is to express the actual metered state of the NMDevice at a given moment.
For the connection profile only NM_METERED_UNKNOWN, NM_METERED_NO and NM_METERED_YES are allowed.
The device's metered state at runtime is determined by the profile which is currently active. If the profile explicitly specifies NM_METERED_NO or NM_METERED_YES, then the device's metered state is as such. If the connection profile leaves it undecided at NM_METERED_UNKNOWN (the default), then NetworkManager tries to guess the metered state, for example based on the device type or on DHCP options (like Android devices exposing a "ANDROID_METERED" DHCP vendor option). This then leads to either NM_METERED_GUESS_NO or NM_METERED_GUESS_YES.
Most applications probably should treat the runtime state NM_METERED_GUESS_YES like NM_METERED_YES, and all other states as not metered.
Note that the per-device metered states are then combined to a global metered state. This is basically the metered state of the device with the best default route. However, that generalization of a global metered state may not be correct if the default routes for IPv4 and IPv6 are on different devices, or if policy routing is configured. In general, the global metered state tries to express whether the traffic is likely metered, but since that depends on the traffic itself, there is not one answer in all cases. Hence, an application may want to consider the per-device's metered states.
Since: 1.2
indicates that the per-connection
setting is unspecified. In this case, it will fallback to the default
value, which is |
||
the connection profile can only be active once at each moment. Activating a profile that is already active, will first deactivate it. |
||
the profile can be manually activated multiple times on different devices. However, regarding autoconnect, the profile will autoconnect only if it is currently not connected otherwise. |
||
the profile can autoactivate and be manually activated multiple times together. |
Since: 1.14
NMActiveConnectionState values indicate the state of a connection to a specific network while it is starting, connected, or disconnecting from that network.
Active connection state reasons.
The reason for the active connection state change is unknown. |
||
No reason was given for the active connection state change. |
||
The active connection changed state because the user disconnected it. |
||
The active connection changed state because the device it was using was disconnected. |
||
The service providing the VPN connection was stopped. |
||
The IP config of the active connection was invalid. |
||
The connection attempt to the VPN service timed out. |
||
A timeout occurred while starting the service providing the VPN connection. |
||
Starting the service providing the VPN connection failed. |
||
Necessary secrets for the connection were not provided. |
||
Authentication to the server failed. |
||
The connection was deleted from settings. |
||
Master connection of this connection failed to activate. |
||
Could not create the software device link. |
||
The device this connection depended on disappeared. |
Since: 1.8
NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request.
no special behavior; by default no user interaction is allowed and requests for secrets are fulfilled from persistent storage, or if no secrets are available an error is returned. |
||
allows the request to interact with the user, possibly prompting via UI for secrets if any are required, or if none are found in persistent storage. |
||
explicitly prompt for new secrets from the user. This flag signals that NetworkManager thinks any existing secrets are invalid or wrong. This flag implies that interaction is allowed. |
||
set if the request was initiated by user-requested action via the D-Bus interface, as opposed to automatically initiated by NetworkManager in response to (for example) scan results or carrier changes. |
||
indicates that WPS enrollment is active with PBC method. The agent may suggest that the user pushes a button on the router instead of supplying a PSK. |
||
Internal flag, not part of the D-Bus API. |
||
Internal flag, not part of the D-Bus API. |
NMSecretAgentCapabilities indicate various capabilities of the agent.
#define NM_LLDP_ATTR_IEEE_802_3_MAC_PHY_CONF "ieee-802-3-mac-phy-conf"
#define NM_LLDP_ATTR_IEEE_802_3_POWER_VIA_MDI "ieee-802-3-power-via-mdi"
#define NM_LLDP_ATTR_IEEE_802_3_MAX_FRAME_SIZE "ieee-802-3-max-frame-size"
#define NM_LLDP_ATTR_IEEE_802_1_PPVID_FLAGS "ieee-802-1-ppvid-flags"
#define NM_LLDP_DEST_NEAREST_NON_TPMR_BRIDGE "nearest-non-tpmr-bridge"
#define NM_LLDP_DEST_NEAREST_CUSTOMER_BRIDGE "nearest-customer-bridge"
The tunneling mode.
Unknown/unset tunnel mode |
||
IP in IP tunnel |
||
GRE tunnel |
||
SIT tunnel |
||
ISATAP tunnel |
||
VTI tunnel |
||
IPv6 in IPv6 tunnel |
||
IPv4 in IPv6 tunnel |
||
IPv6 GRE tunnel |
||
IPv6 VTI tunnel |
||
GRETAP tunnel |
||
IPv6 GRETAP tunnel |
Since: 1.2
The flags for CheckpointCreate call
no flags |
||
when creating a new checkpoint, destroy all existing ones. |
||
upon rollback, delete any new connection added after the checkpoint. Since: 1.6. |
||
upon rollback, disconnect any new device appeared after the checkpoint. Since: 1.6. |
||
by default, creating a checkpoint fails if there are already existing checkpoints that reference the same devices. With this flag, creation of such checkpoints is allowed, however, if an older checkpoint that references overlapping devices gets rolled back, it will automatically destroy this checkpoint during rollback. This allows to create several overlapping checkpoints in parallel, and rollback to them at will. With the special case that rolling back to an older checkpoint will invalidate all overlapping younger checkpoints. This opts-in that the checkpoint can be automatically destroyed by the rollback of an older checkpoint. Since: 1.12. |
||
during rollback, by default externally added ports attached to bridge devices are preserved. With this flag, the rollback detaches all external ports. This only has an effect for bridge ports. Before 1.38, this was the default behavior. Since: 1.38. |
||
during rollback, by default changes to global DNS via D-BUS interface are preserved. With this flag, the rollback reverts the global DNS changes made via D-Bus interface. Global DNS defined in [global-dns] section of NetworkManager.conf is not impacted by this flag. Since: 1.48. |
Since: 1.12: Public since 1.4, g-ir since 1.12.
The result of a checkpoint Rollback()
operation for a specific device.
Since: 1.4
Flags describing the current activation state.
an alias for numeric zero, no flags set. |
||
the connection is not saved to disk. That either means, that the connection is in-memory only and currently is not backed by a file. Or, that the connection is backed by a file, but has modifications in-memory that were not persisted to disk. |
||
A connection is "nm-generated" if it was generated by NetworkManger. If the connection gets modified or saved by the user, the flag gets cleared. A nm-generated is also unsaved and has no backing file as it is in-memory only. |
||
The connection will be deleted when it disconnects. That is for in-memory connections (unsaved), which are currently active but deleted on disconnect. Volatile connections are always unsaved, but they are also no backing file on disk and are entirely in-memory only. |
||
the profile was generated to represent an external configuration of a networking device. Since: 1.26. |
Since: 1.12
Flags describing the current activation state.
Since: 1.10
#define NM_ACTIVATION_STATE_FLAG_MASTER_HAS_SLAVES NM_ACTIVATION_FLAG_CONTROLLER_HAS_PORTS
Numeric flags for the "flags" argument of AddConnection2()
D-Bus API.
an alias for numeric zero, no flags set. |
||
to persist the connection to disk. |
||
to make the connection in-memory only. |
||
usually, when the connection has autoconnect enabled and gets added, it becomes eligible to autoconnect right away. Setting this flag, disables autoconnect until the connection is manually activated. |
Since: 1.20
an alias for numeric zero, no flags set. |
||
to persist the connection to disk. |
||
makes the profile in-memory. Note that such profiles are stored in keyfile format under /run. If the file is already in-memory, the file in /run is updated in-place. Otherwise, the previous storage for the profile is left unchanged on disk, and the in-memory copy shadows it. Note that the original filename of the previous persistent storage (if any) is remembered. That means, when later persisting the profile again to disk, the file on disk will be overwritten again. Likewise, when finally deleting the profile, both the storage from /run and persistent storage are deleted (or if the persistent storage does not allow deletion, and nmmeta file is written to mark the UUID as deleted). |
||
this is almost the same
as |
||
this is like |
||
This can be specified with either
|
||
usually, when the connection has autoconnect enabled and is modified, it becomes eligible to autoconnect right away. Setting this flag, disables autoconnect until the connection is manually activated. |
||
when a profile gets modified that is currently active, then these changes don't take effect for the active device unless the profile gets reactivated or the configuration reapplied. There are two exceptions: by default "connection.zone" and "connection.metered" properties take effect immediately. Specify this flag to prevent these properties to take effect, so that the change is restricted to modify the profile. Since: 1.20. |
Since: 1.12
Flags for the Reapply()
D-Bus call of a device and
nm_device_reapply_async()
.
Since: 1.42
Flags for the manager Reload()
call.
an alias for numeric zero, no flags set. This reloads everything that is supported and is identical to a SIGHUP. |
||
reload the NetworkManager.conf configuration
from disk. Note that this does not include connections, which can be
reloaded via Setting's |
||
update DNS configuration, which usually involves writing /etc/resolv.conf anew. |
||
means to restart the DNS plugin. This is for example useful when using dnsmasq plugin, which uses additional configuration in /etc/NetworkManager/dnsmasq.d. If you edit those files, you can restart the DNS plugin. This action shortly interrupts name resolution. |
||
all flags. |
Since: 1.22
Flags for a network interface.
an alias for numeric zero, no flags set. |
||
the interface is enabled from the administrative point of view. Corresponds to kernel IFF_UP. |
||
the physical link is up. Corresponds to kernel IFF_LOWER_UP. |
||
receive all packets. Corresponds to kernel IFF_PROMISC. Since: 1.32. |
||
the interface has carrier. In most
cases this is equal to the value of |
||
the flag to indicate device LLDP status. Since: 1.32. |
Since: 1.22
NMClientPermission values indicate various permissions that NetworkManager clients can obtain to perform certain tasks on behalf of the current user.
unknown or no permission |
||
controls whether networking can be globally enabled or disabled |
||
controls whether Wi-Fi can be globally enabled or disabled |
||
controls whether WWAN (3G) can be globally enabled or disabled |
||
controls whether WiMAX can be globally enabled or disabled |
||
controls whether the client can ask NetworkManager to sleep and wake |
||
controls whether networking connections can be started, stopped, and changed |
||
controls whether a password protected Wi-Fi hotspot can be created |
||
controls whether an open Wi-Fi hotspot can be created |
||
controls whether connections that are available to all users can be modified |
||
controls whether connections owned by the current user can be modified |
||
controls whether the persistent hostname can be changed |
||
modify persistent global DNS configuration |
||
controls access to Reload. |
||
permission to create checkpoints. |
||
controls whether device statistics can be globally enabled or disabled |
||
controls whether connectivity check can be enabled or disabled |
||
controls whether wifi scans can be performed |
||
a reserved boundary value |
NMClientPermissionResult values indicate what authorizations and permissions the user requires to obtain a given NMClientPermission
The default, meaning that no MPTCP flags are set. |
||
don't configure MPTCP endpoints on the device. |
||
MPTCP is enabled and endpoints will be configured. This flag is implied if any of the other flags indicate that MPTCP is enabled and therefore in most cases unnecessary. Note that if "/proc/sys/net/mptcp/enabled" sysctl is disabled, MPTCP handling is disabled despite this flag. This can be overruled with the "also-without-sysctl" flag. Note that by default interfaces that don't have a default route are excluded from having MPTCP endpoints configured. This can be overruled with the "also-without-default-route" and this affects endpoints per address family. |
||
even if MPTCP handling is enabled via the "enabled" flag, it is ignored unless "/proc/sys/net/mptcp/enabled" is on. With this flag, MPTCP endpoints will be configured regardless of the sysctl setting. |
||
even if MPTCP handling is enabled via the "enabled" flag, it is ignored per-address family unless NetworkManager configures a default route. With this flag, NetworkManager will also configure MPTCP endpoints if there is no default route. This takes effect per-address family. |
||
Flag for the MPTCP endpoint. The endpoint will be announced/signaled to each peer via an MPTCP ADD_ADDR sub-option. |
||
Flag for the MPTCP endpoint. If additional subflow creation is allowed by the MPTCP limits, the MPTCP path manager will try to create an additional subflow using this endpoint as the source address after the MPTCP connection is established. |
||
Flag for the MPTCP endpoint. If this is a subflow endpoint, the subflows created using this endpoint will have the backup flag set during the connection process. This flag instructs the peer to only send data on a given subflow when all non-backup subflows are unavailable. This does not affect outgoing data, where subflow priority is determined by the backup/non-backup flag received from the peer |
||
Flag for the MPTCP endpoint. If this is a subflow endpoint and additional subflow creation is allowed by the MPTCP limits, the MPTCP path manager will try to create an additional subflow for each known peer address, using this endpoint as the source address. This will occur after the MPTCP connection is established. If the peer did not announce any additional addresses using the MPTCP ADD_ADDR sub-option, this will behave the same as a plain subflow endpoint. When the peer does announce addresses, each received ADD_ADDR sub-option will trigger creation of an additional subflow to generate a full mesh topology. |
Since: 1.40