Linux Packages Manuals » NetworkManager-glib-devel-1.4.0

VPN Plugin D-Bus API Types

VPN Plugin D-Bus API Types

enum NMVpnServiceState

VPN daemon states

Values

NM_VPN_SERVICE_STATE_UNKNOWN

= 0

The state of the VPN plugin is unknown.

 

NM_VPN_SERVICE_STATE_INIT

= 1

The VPN plugin is initialized.

 

NM_VPN_SERVICE_STATE_SHUTDOWN

= 2

Not used.

 

NM_VPN_SERVICE_STATE_STARTING

= 3

The plugin is attempting to connect to a VPN server.

 

NM_VPN_SERVICE_STATE_STARTED

= 4

The plugin has connected to a VPN server.

 

NM_VPN_SERVICE_STATE_STOPPING

= 5

The plugin is disconnecting from the VPN server.

 

NM_VPN_SERVICE_STATE_STOPPED

= 6

The plugin has disconnected from the VPN server.

 

enum NMVpnConnectionState

VPN connection states

Values

NM_VPN_CONNECTION_STATE_UNKNOWN

= 0

The state of the VPN connection is unknown.

 

NM_VPN_CONNECTION_STATE_PREPARE

= 1

The VPN connection is preparing to connect.

 

NM_VPN_CONNECTION_STATE_NEED_AUTH

= 2

The VPN connection needs authorization credentials.

 

NM_VPN_CONNECTION_STATE_CONNECT

= 3

The VPN connection is being established.

 

NM_VPN_CONNECTION_STATE_IP_CONFIG_GET

= 4

The VPN connection is getting an IP address.

 

NM_VPN_CONNECTION_STATE_ACTIVATED

= 5

The VPN connection is active.

 

NM_VPN_CONNECTION_STATE_FAILED

= 6

The VPN connection failed.

 

NM_VPN_CONNECTION_STATE_DISCONNECTED

= 7

The VPN connection is disconnected.

 

enum NMVpnConnectionStateReason

VPN connection state reasons

Values

NM_VPN_CONNECTION_STATE_REASON_UNKNOWN

= 0

The reason for the VPN connection state change is unknown.

 

NM_VPN_CONNECTION_STATE_REASON_NONE

= 1

No reason was given for the VPN connection state change.

 

NM_VPN_CONNECTION_STATE_REASON_USER_DISCONNECTED

= 2

The VPN connection changed state because the user disconnected it.

 

NM_VPN_CONNECTION_STATE_REASON_DEVICE_DISCONNECTED

= 3

The VPN connection changed state because the device it was using was disconnected.

 

NM_VPN_CONNECTION_STATE_REASON_SERVICE_STOPPED

= 4

The service providing the VPN connection was stopped.

 

NM_VPN_CONNECTION_STATE_REASON_IP_CONFIG_INVALID

= 5

The IP config of the VPN connection was invalid.

 

NM_VPN_CONNECTION_STATE_REASON_CONNECT_TIMEOUT

= 6

The connection attempt to the VPN service timed out.

 

NM_VPN_CONNECTION_STATE_REASON_SERVICE_START_TIMEOUT

= 7

A timeout occurred while starting the service providing the VPN connection.

 

NM_VPN_CONNECTION_STATE_REASON_SERVICE_START_FAILED

= 8

Starting the service starting the service providing the VPN connection failed.

 

NM_VPN_CONNECTION_STATE_REASON_NO_SECRETS

= 9

Necessary secrets for the VPN connection were not provided.

 

NM_VPN_CONNECTION_STATE_REASON_LOGIN_FAILED

= 10

Authentication to the VPN server failed.

 

NM_VPN_CONNECTION_STATE_REASON_CONNECTION_REMOVED

= 11

The connection was deleted from settings.

 

enum NMVpnPluginFailure

VPN plugin failure reasons

Values

NM_VPN_PLUGIN_FAILURE_LOGIN_FAILED

= 1

Login failed.

 

NM_VPN_PLUGIN_FAILURE_CONNECT_FAILED

= 2

Connect failed.

 

NM_VPN_PLUGIN_FAILURE_BAD_IP_CONFIG

= 3

Invalid IP configuration returned from the VPN plugin.