![]() |
![]() |
![]() |
libnm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define NM_SETTING_PPPOE_SETTING_NAME #define NM_SETTING_PPPOE_SERVICE #define NM_SETTING_PPPOE_USERNAME #define NM_SETTING_PPPOE_PASSWORD #define NM_SETTING_PPPOE_PASSWORD_FLAGS NMSettingPppoe; NMSettingPppoeClass; NMSetting * nm_setting_pppoe_new (void
); const char * nm_setting_pppoe_get_service (NMSettingPppoe *setting
); const char * nm_setting_pppoe_get_username (NMSettingPppoe *setting
); const char * nm_setting_pppoe_get_password (NMSettingPppoe *setting
); NMSettingSecretFlags nm_setting_pppoe_get_password_flags (NMSettingPppoe *setting
);
"password" gchar* : Read / Write "password-flags" NMSettingSecretFlags : Read / Write "service" gchar* : Read / Write "username" gchar* : Read / Write
The NMSettingPppoe object is a NMSetting subclass that describes properties necessary for connection to networks that require PPPoE connections to provide IP transport, for example cable or DSL modems.
NMSetting * nm_setting_pppoe_new (void
);
Creates a new NMSettingPppoe object with default values.
Returns : |
the new empty NMSettingPppoe object. [transfer full] |
const char * nm_setting_pppoe_get_service (NMSettingPppoe *setting
);
|
the NMSettingPppoe |
Returns : |
the "service" property of the setting |
const char * nm_setting_pppoe_get_username (NMSettingPppoe *setting
);
|
the NMSettingPppoe |
Returns : |
the "username" property of the setting |
const char * nm_setting_pppoe_get_password (NMSettingPppoe *setting
);
|
the NMSettingPppoe |
Returns : |
the "password" property of the setting |
NMSettingSecretFlags nm_setting_pppoe_get_password_flags
(NMSettingPppoe *setting
);
|
the NMSettingPppoe |
Returns : |
the NMSettingSecretFlags pertaining to the "password" |
"password"
property "password" gchar* : Read / Write
Password used to authenticate with the PPPoE service.
Default value: NULL
"password-flags"
property"password-flags" NMSettingSecretFlags : Read / Write
Flags indicating how to handle the "password" property.
"service"
property "service" gchar* : Read / Write
If specified, instruct PPPoE to only initiate sessions with access concentrators that provide the specified service. For most providers, this should be left blank. It is only required if there are multiple access concentrators or a specific service is known to be required.
Default value: NULL