gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.SettingPpp

Description

Point-to-Point Protocol Settings

Synopsis

Exported types

newtype SettingPpp Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf SettingPpp o) => IsSettingPpp o Source #

Type class for types which can be safely cast to SettingPpp, for instance with toSettingPpp.

Instances

Instances details
(GObject o, IsDescendantOf SettingPpp o) => IsSettingPpp o Source # 
Instance details

Defined in GI.NM.Objects.SettingPpp

toSettingPpp :: (MonadIO m, IsSettingPpp o) => o -> m SettingPpp Source #

Cast to SettingPpp, for types for which this is known to be safe. For general casts, use castTo.

Methods

getBaud

settingPppGetBaud Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Word32

Returns: the SettingPpp:baud property of the setting

No description available in the introspection data.

getCrtscts

settingPppGetCrtscts Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:crtscts property of the setting

No description available in the introspection data.

getLcpEchoFailure

settingPppGetLcpEchoFailure Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Word32

Returns: the SettingPpp:lcpEchoFailure property of the setting

No description available in the introspection data.

getLcpEchoInterval

settingPppGetLcpEchoInterval Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Word32

Returns: the SettingPpp:lcpEchoInterval property of the setting

No description available in the introspection data.

getMppeStateful

settingPppGetMppeStateful Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:mppeStateful property of the setting

No description available in the introspection data.

getMru

settingPppGetMru Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Word32

Returns: the SettingPpp:mru property of the setting

No description available in the introspection data.

getMtu

settingPppGetMtu Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Word32

Returns: the SettingPpp:mtu property of the setting

No description available in the introspection data.

getNoVjComp

settingPppGetNoVjComp Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:noVjComp property of the setting

No description available in the introspection data.

getNoauth

settingPppGetNoauth Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:noauth property of the setting

No description available in the introspection data.

getNobsdcomp

settingPppGetNobsdcomp Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:nobsdcomp property of the setting

No description available in the introspection data.

getNodeflate

settingPppGetNodeflate Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:nodeflate property of the setting

No description available in the introspection data.

getRefuseChap

settingPppGetRefuseChap Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:refuseChap property of the setting

No description available in the introspection data.

getRefuseEap

settingPppGetRefuseEap Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:refuseEap property of the setting

No description available in the introspection data.

getRefuseMschap

settingPppGetRefuseMschap Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:refuseMschap property of the setting

No description available in the introspection data.

getRefuseMschapv2

settingPppGetRefuseMschapv2 Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:refuseMschapv2 property of the setting

No description available in the introspection data.

getRefusePap

settingPppGetRefusePap Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:refusePap property of the setting

No description available in the introspection data.

getRequireMppe

settingPppGetRequireMppe Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:requireMppe property of the setting

No description available in the introspection data.

getRequireMppe128

settingPppGetRequireMppe128 Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingPpp a) 
=> a

setting: the SettingPpp

-> m Bool

Returns: the SettingPpp:requireMppe128 property of the setting

No description available in the introspection data.

new

settingPppNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingPpp

Returns: the new empty SettingPpp object

Creates a new SettingPpp object with default values.

Properties

baud

If non-zero, instruct pppd to set the serial port to the specified baudrate. This value should normally be left as 0 to automatically choose the speed.

constructSettingPppBaud :: (IsSettingPpp o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “baud” property. This is rarely needed directly, but it is used by new.

getSettingPppBaud :: (MonadIO m, IsSettingPpp o) => o -> m Word32 Source #

Get the value of the “baud” property. When overloading is enabled, this is equivalent to

get settingPpp #baud

setSettingPppBaud :: (MonadIO m, IsSettingPpp o) => o -> Word32 -> m () Source #

Set the value of the “baud” property. When overloading is enabled, this is equivalent to

set settingPpp [ #baud := value ]

crtscts

If True, specify that pppd should set the serial port to use hardware flow control with RTS and CTS signals. This value should normally be set to False.

constructSettingPppCrtscts :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “crtscts” property. This is rarely needed directly, but it is used by new.

getSettingPppCrtscts :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “crtscts” property. When overloading is enabled, this is equivalent to

get settingPpp #crtscts

setSettingPppCrtscts :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “crtscts” property. When overloading is enabled, this is equivalent to

set settingPpp [ #crtscts := value ]

lcpEchoFailure

If non-zero, instruct pppd to presume the connection to the peer has failed if the specified number of LCP echo-requests go unanswered by the peer. The "lcp-echo-interval" property must also be set to a non-zero value if this property is used.

constructSettingPppLcpEchoFailure :: (IsSettingPpp o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “lcp-echo-failure” property. This is rarely needed directly, but it is used by new.

getSettingPppLcpEchoFailure :: (MonadIO m, IsSettingPpp o) => o -> m Word32 Source #

Get the value of the “lcp-echo-failure” property. When overloading is enabled, this is equivalent to

get settingPpp #lcpEchoFailure

setSettingPppLcpEchoFailure :: (MonadIO m, IsSettingPpp o) => o -> Word32 -> m () Source #

Set the value of the “lcp-echo-failure” property. When overloading is enabled, this is equivalent to

set settingPpp [ #lcpEchoFailure := value ]

lcpEchoInterval

If non-zero, instruct pppd to send an LCP echo-request frame to the peer every n seconds (where n is the specified value). Note that some PPP peers will respond to echo requests and some will not, and it is not possible to autodetect this.

constructSettingPppLcpEchoInterval :: (IsSettingPpp o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “lcp-echo-interval” property. This is rarely needed directly, but it is used by new.

getSettingPppLcpEchoInterval :: (MonadIO m, IsSettingPpp o) => o -> m Word32 Source #

Get the value of the “lcp-echo-interval” property. When overloading is enabled, this is equivalent to

get settingPpp #lcpEchoInterval

setSettingPppLcpEchoInterval :: (MonadIO m, IsSettingPpp o) => o -> Word32 -> m () Source #

Set the value of the “lcp-echo-interval” property. When overloading is enabled, this is equivalent to

set settingPpp [ #lcpEchoInterval := value ]

mppeStateful

If True, stateful MPPE is used. See pppd documentation for more information on stateful MPPE.

constructSettingPppMppeStateful :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “mppe-stateful” property. This is rarely needed directly, but it is used by new.

getSettingPppMppeStateful :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “mppe-stateful” property. When overloading is enabled, this is equivalent to

get settingPpp #mppeStateful

setSettingPppMppeStateful :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “mppe-stateful” property. When overloading is enabled, this is equivalent to

set settingPpp [ #mppeStateful := value ]

mru

If non-zero, instruct pppd to request that the peer send packets no larger than the specified size. If non-zero, the MRU should be between 128 and 16384.

constructSettingPppMru :: (IsSettingPpp o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “mru” property. This is rarely needed directly, but it is used by new.

getSettingPppMru :: (MonadIO m, IsSettingPpp o) => o -> m Word32 Source #

Get the value of the “mru” property. When overloading is enabled, this is equivalent to

get settingPpp #mru

setSettingPppMru :: (MonadIO m, IsSettingPpp o) => o -> Word32 -> m () Source #

Set the value of the “mru” property. When overloading is enabled, this is equivalent to

set settingPpp [ #mru := value ]

mtu

If non-zero, instruct pppd to send packets no larger than the specified size.

constructSettingPppMtu :: (IsSettingPpp o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “mtu” property. This is rarely needed directly, but it is used by new.

getSettingPppMtu :: (MonadIO m, IsSettingPpp o) => o -> m Word32 Source #

Get the value of the “mtu” property. When overloading is enabled, this is equivalent to

get settingPpp #mtu

setSettingPppMtu :: (MonadIO m, IsSettingPpp o) => o -> Word32 -> m () Source #

Set the value of the “mtu” property. When overloading is enabled, this is equivalent to

set settingPpp [ #mtu := value ]

noVjComp

If True, Van Jacobsen TCP header compression will not be requested.

constructSettingPppNoVjComp :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “no-vj-comp” property. This is rarely needed directly, but it is used by new.

getSettingPppNoVjComp :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “no-vj-comp” property. When overloading is enabled, this is equivalent to

get settingPpp #noVjComp

setSettingPppNoVjComp :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “no-vj-comp” property. When overloading is enabled, this is equivalent to

set settingPpp [ #noVjComp := value ]

noauth

If True, do not require the other side (usually the PPP server) to authenticate itself to the client. If False, require authentication from the remote side. In almost all cases, this should be True.

constructSettingPppNoauth :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “noauth” property. This is rarely needed directly, but it is used by new.

getSettingPppNoauth :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “noauth” property. When overloading is enabled, this is equivalent to

get settingPpp #noauth

setSettingPppNoauth :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “noauth” property. When overloading is enabled, this is equivalent to

set settingPpp [ #noauth := value ]

nobsdcomp

If True, BSD compression will not be requested.

constructSettingPppNobsdcomp :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “nobsdcomp” property. This is rarely needed directly, but it is used by new.

getSettingPppNobsdcomp :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “nobsdcomp” property. When overloading is enabled, this is equivalent to

get settingPpp #nobsdcomp

setSettingPppNobsdcomp :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “nobsdcomp” property. When overloading is enabled, this is equivalent to

set settingPpp [ #nobsdcomp := value ]

nodeflate

If True, "deflate" compression will not be requested.

constructSettingPppNodeflate :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “nodeflate” property. This is rarely needed directly, but it is used by new.

getSettingPppNodeflate :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “nodeflate” property. When overloading is enabled, this is equivalent to

get settingPpp #nodeflate

setSettingPppNodeflate :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “nodeflate” property. When overloading is enabled, this is equivalent to

set settingPpp [ #nodeflate := value ]

refuseChap

If True, the CHAP authentication method will not be used.

constructSettingPppRefuseChap :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “refuse-chap” property. This is rarely needed directly, but it is used by new.

getSettingPppRefuseChap :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “refuse-chap” property. When overloading is enabled, this is equivalent to

get settingPpp #refuseChap

setSettingPppRefuseChap :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “refuse-chap” property. When overloading is enabled, this is equivalent to

set settingPpp [ #refuseChap := value ]

refuseEap

If True, the EAP authentication method will not be used.

constructSettingPppRefuseEap :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “refuse-eap” property. This is rarely needed directly, but it is used by new.

getSettingPppRefuseEap :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “refuse-eap” property. When overloading is enabled, this is equivalent to

get settingPpp #refuseEap

setSettingPppRefuseEap :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “refuse-eap” property. When overloading is enabled, this is equivalent to

set settingPpp [ #refuseEap := value ]

refuseMschap

If True, the MSCHAP authentication method will not be used.

constructSettingPppRefuseMschap :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “refuse-mschap” property. This is rarely needed directly, but it is used by new.

getSettingPppRefuseMschap :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “refuse-mschap” property. When overloading is enabled, this is equivalent to

get settingPpp #refuseMschap

setSettingPppRefuseMschap :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “refuse-mschap” property. When overloading is enabled, this is equivalent to

set settingPpp [ #refuseMschap := value ]

refuseMschapv2

If True, the MSCHAPv2 authentication method will not be used.

constructSettingPppRefuseMschapv2 :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “refuse-mschapv2” property. This is rarely needed directly, but it is used by new.

getSettingPppRefuseMschapv2 :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “refuse-mschapv2” property. When overloading is enabled, this is equivalent to

get settingPpp #refuseMschapv2

setSettingPppRefuseMschapv2 :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “refuse-mschapv2” property. When overloading is enabled, this is equivalent to

set settingPpp [ #refuseMschapv2 := value ]

refusePap

If True, the PAP authentication method will not be used.

constructSettingPppRefusePap :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “refuse-pap” property. This is rarely needed directly, but it is used by new.

getSettingPppRefusePap :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “refuse-pap” property. When overloading is enabled, this is equivalent to

get settingPpp #refusePap

setSettingPppRefusePap :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “refuse-pap” property. When overloading is enabled, this is equivalent to

set settingPpp [ #refusePap := value ]

requireMppe

If True, MPPE (Microsoft Point-to-Point Encryption) will be required for the PPP session. If either 64-bit or 128-bit MPPE is not available the session will fail. Note that MPPE is not used on mobile broadband connections.

constructSettingPppRequireMppe :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “require-mppe” property. This is rarely needed directly, but it is used by new.

getSettingPppRequireMppe :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “require-mppe” property. When overloading is enabled, this is equivalent to

get settingPpp #requireMppe

setSettingPppRequireMppe :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “require-mppe” property. When overloading is enabled, this is equivalent to

set settingPpp [ #requireMppe := value ]

requireMppe128

If True, 128-bit MPPE (Microsoft Point-to-Point Encryption) will be required for the PPP session, and the "require-mppe" property must also be set to True. If 128-bit MPPE is not available the session will fail.

constructSettingPppRequireMppe128 :: (IsSettingPpp o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “require-mppe-128” property. This is rarely needed directly, but it is used by new.

getSettingPppRequireMppe128 :: (MonadIO m, IsSettingPpp o) => o -> m Bool Source #

Get the value of the “require-mppe-128” property. When overloading is enabled, this is equivalent to

get settingPpp #requireMppe128

setSettingPppRequireMppe128 :: (MonadIO m, IsSettingPpp o) => o -> Bool -> m () Source #

Set the value of the “require-mppe-128” property. When overloading is enabled, this is equivalent to

set settingPpp [ #requireMppe128 := value ]