org.freedesktop.NetworkManager.PPP

org.freedesktop.NetworkManager.PPP — Helper interface for a PPP plugin.

Methods

NeedSecrets  (OUT s     username,
              OUT s     password);
SetIp4Config (IN  a{sv} config);
SetIp6Config (IN  a{sv} config);
SetState     (IN  u     state);
SetIfindex   (IN  i     ifindex);

Description

Method Details

The NeedSecrets() method

NeedSecrets (OUT s username,
             OUT s password);

Called by the pppd plugin to obtain the secrets (username and password) needed to establish the PPP connection.

OUT s username:

The username for the PPP connection.

OUT s password:

The password for the PPP connection.


The SetIp4Config() method

SetIp4Config (IN  a{sv} config);

Called by the pppd plugin to pass the IPv4 configuration negotiated for the PPP link to NetworkManager.

IN a{sv} config:

The IPv4 configuration, as a dictionary of properties.


The SetIp6Config() method

SetIp6Config (IN  a{sv} config);

Called by the pppd plugin to pass the IPv6 configuration negotiated for the PPP link to NetworkManager.

IN a{sv} config:

The IPv6 configuration, as a dictionary of properties.


The SetState() method

SetState (IN  u state);

Called by the pppd plugin to report a change in the state of the PPP connection.

IN u state:

The new PPP state (an NMPPPStatus value).


The SetIfindex() method

SetIfindex (IN  i ifindex);

Called by the pppd plugin to inform NetworkManager of the ifindex of the PPP interface once it has been created.

IN i ifindex:

The interface index of the PPP network interface.