Gjsify LogoGjsify Logo

These flags modify the comparison behavior when comparing two settings or two connections.

Index

Enumeration Members

DIFF_RESULT_NO_DEFAULT: number

if this flag is set, nm_setting_diff() and nm_connection_diff() will not include properties that are set to their default value. This is the opposite of NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT. If both flags are set together, NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT wins. If both flags are unset, this means to exclude default properties if there is a setting to compare, but include all properties, if the setting 'b' is missing. This is the legacy behaviour of libnm-util, where nm_setting_diff() behaved differently depending on whether the setting 'b' was available. If NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT is set, nm_setting_diff() will also set the flags NM_SETTING_DIFF_RESULT_IN_A_DEFAULT and NM_SETTING_DIFF_RESULT_IN_B_DEFAULT, if the values are default values.

DIFF_RESULT_WITH_DEFAULT: number

if this flag is set, nm_setting_diff() and nm_connection_diff() will also include properties that are set to their default value. See also NM_SETTING_COMPARE_FLAG_DIFF_RESULT_NO_DEFAULT.

EXACT: number

match all properties exactly

FUZZY: number

match only important attributes, like SSID, type, security settings, etc. Does not match, for example, connection ID or UUID.

IGNORE_AGENT_OWNED_SECRETS: number

ignore secrets for which the secret's flags indicate the secret is owned by a user secret agent (ie, the secret's flag includes NM_SETTING_SECRET_FLAG_AGENT_OWNED)

IGNORE_ID: number

ignore the connection's ID

IGNORE_NOT_SAVED_SECRETS: number

ignore secrets for which the secret's flags indicate the secret should not be saved to persistent storage (ie, the secret's flag includes NM_SETTING_SECRET_FLAG_NOT_SAVED)

IGNORE_SECRETS: number

ignore all secrets

IGNORE_TIMESTAMP: number

ignore the connection's timestamp

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method