| libnm Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#define NM_SETTING_ADSL_SETTING_NAME #define NM_SETTING_ADSL_USERNAME #define NM_SETTING_ADSL_PASSWORD #define NM_SETTING_ADSL_PASSWORD_FLAGS #define NM_SETTING_ADSL_PROTOCOL #define NM_SETTING_ADSL_ENCAPSULATION #define NM_SETTING_ADSL_VPI #define NM_SETTING_ADSL_VCI #define NM_SETTING_ADSL_PROTOCOL_PPPOA #define NM_SETTING_ADSL_PROTOCOL_PPPOE #define NM_SETTING_ADSL_PROTOCOL_IPOATM #define NM_SETTING_ADSL_ENCAPSULATION_VCMUX #define NM_SETTING_ADSL_ENCAPSULATION_LLC struct NMSettingAdsl; NMSettingAdslClass; NMSetting * nm_setting_adsl_new (void); const char * nm_setting_adsl_get_username (NMSettingAdsl *setting); const char * nm_setting_adsl_get_password (NMSettingAdsl *setting); const char * nm_setting_adsl_get_protocol (NMSettingAdsl *setting); const char * nm_setting_adsl_get_encapsulation (NMSettingAdsl *setting); guint32 nm_setting_adsl_get_vpi (NMSettingAdsl *setting); guint32 nm_setting_adsl_get_vci (NMSettingAdsl *setting); NMSettingSecretFlags nm_setting_adsl_get_password_flags (NMSettingAdsl *setting);
"encapsulation" gchar* : Read / Write "password" gchar* : Read / Write "password-flags" NMSettingSecretFlags : Read / Write "protocol" gchar* : Read / Write "username" gchar* : Read / Write "vci" guint : Read / Write "vpi" guint : Read / Write
The NMSettingAdsl object is a NMSetting subclass that describes properties of ADSL connections.
NMSetting * nm_setting_adsl_new (void);
Creates a new NMSettingAdsl object with default values.
Returns : |
the new empty NMSettingAdsl object |
const char * nm_setting_adsl_get_username (NMSettingAdsl *setting);
|
the NMSettingAdsl |
Returns : |
the "username" property of the setting |
const char * nm_setting_adsl_get_password (NMSettingAdsl *setting);
|
the NMSettingAdsl |
Returns : |
the "password" property of the setting |
const char * nm_setting_adsl_get_protocol (NMSettingAdsl *setting);
|
the NMSettingAdsl |
Returns : |
the "protocol" property of the setting |
const char * nm_setting_adsl_get_encapsulation (NMSettingAdsl *setting);
|
the NMSettingAdsl |
Returns : |
the "encapsulation" property of the setting |
guint32 nm_setting_adsl_get_vpi (NMSettingAdsl *setting);
|
the NMSettingAdsl |
Returns : |
the "vpi" property of the setting |
guint32 nm_setting_adsl_get_vci (NMSettingAdsl *setting);
|
the NMSettingAdsl |
Returns : |
the "vci" property of the setting |
NMSettingSecretFlags nm_setting_adsl_get_password_flags (NMSettingAdsl *setting);
|
the NMSettingAdsl |
Returns : |
the NMSettingSecretFlags pertaining to the "password" |
"encapsulation" property"encapsulation" gchar* : Read / Write
Encapsulation of ADSL connection. Can be "vcmux" or "llc".
Default value: NULL
"password" property"password" gchar* : Read / Write
Password used to authenticate with the ADSL service.
Default value: NULL
"password-flags" property"password-flags" NMSettingSecretFlags : Read / Write
Flags indicating how to handle the "password" property.
"protocol" property"protocol" gchar* : Read / Write
ADSL connection protocol. Can be "pppoa", "pppoe" or "ipoatm".
Default value: NULL
"username" property"username" gchar* : Read / Write
Username used to authenticate with the ADSL service.
Default value: NULL
"vci" property"vci" guint : Read / Write
VCI of ADSL connection
Allowed values: <= 65536
Default value: 0
"vpi" property"vpi" guint : Read / Write
VPI of ADSL connection
Allowed values: <= 65536
Default value: 0