NMDeviceMacsec: libnm Reference Manual

## NMDeviceMacsec NMDeviceMacsec |

## Functions

NMDevice * | nm_device_macsec_get_parent ()
0 | NM_DEPRECATED_IN_1_24_FOR ()
guint64 | nm_device_macsec_get_sci ()
guint8 | nm_device_macsec_get_icv_length ()
guint64 | nm_device_macsec_get_cipher_suite ()
guint | nm_device_macsec_get_window ()
guint8 | nm_device_macsec_get_encoding_sa ()
const char * | nm_device_macsec_get_validation ()
gboolean | nm_device_macsec_get_encrypt ()
gboolean | nm_device_macsec_get_protect ()
gboolean | nm_device_macsec_get_include_sci ()
gboolean | nm_device_macsec_get_es ()
gboolean | nm_device_macsec_get_scb ()
gboolean | nm_device_macsec_get_replay_protect ()

## Properties

guint64 | cipher-suite | Read
guchar | encoding-sa | Read
gboolean | encrypt | Read
gboolean | es | Read
guchar | icv-length | Read
gboolean | include-sci | Read
NMDevice * | parent | Read
gboolean | protect | Read
gboolean | replay-protect | Read
gboolean | scb | Read
guint64 | sci | Read
char * | validation | Read
guint | window | Read

## Types and Values

#define | NM_DEVICE_MACSEC_PARENT
#define | NM_DEVICE_MACSEC_HW_ADDRESS
#define | NM_DEVICE_MACSEC_SCI
#define | NM_DEVICE_MACSEC_ICV_LENGTH
#define | NM_DEVICE_MACSEC_CIPHER_SUITE
#define | NM_DEVICE_MACSEC_WINDOW
#define | NM_DEVICE_MACSEC_ENCODING_SA
#define | NM_DEVICE_MACSEC_VALIDATION
#define | NM_DEVICE_MACSEC_ENCRYPT
#define | NM_DEVICE_MACSEC_PROTECT
#define | NM_DEVICE_MACSEC_INCLUDE_SCI
#define | NM_DEVICE_MACSEC_ES
#define | NM_DEVICE_MACSEC_SCB
#define | NM_DEVICE_MACSEC_REPLAY_PROTECT
| NMDeviceMacsec

## Object Hierarchy

        GObject
        ╰── NMObject
            ╰── NMDevice
                ╰── NMDeviceMacsec

## Description

## Functions

### nm_device_macsec_get_parent ()

    NMDevice *
    nm_device_macsec_get_parent (NMDeviceMacsec *device);

### NM_DEPRECATED_IN_1_24_FOR ()

    0
    NM_DEPRECATED_IN_1_24_FOR ();

`NM_DEPRECATED_IN_1_24_FOR` is deprecated and should not be used in newly-written code.

### nm_device_macsec_get_sci ()

    guint64
    nm_device_macsec_get_sci (NMDeviceMacsec *device);

### nm_device_macsec_get_icv_length ()

    guint8
    nm_device_macsec_get_icv_length (NMDeviceMacsec *device);

### nm_device_macsec_get_cipher_suite ()

    guint64
    nm_device_macsec_get_cipher_suite (NMDeviceMacsec *device);

### nm_device_macsec_get_window ()

    guint
    nm_device_macsec_get_window (NMDeviceMacsec *device);

### nm_device_macsec_get_encoding_sa ()

    guint8
    nm_device_macsec_get_encoding_sa (NMDeviceMacsec *device);

### nm_device_macsec_get_validation ()

    const char *
    nm_device_macsec_get_validation (NMDeviceMacsec *device);

### nm_device_macsec_get_encrypt ()

    gboolean
    nm_device_macsec_get_encrypt (NMDeviceMacsec *device);

### nm_device_macsec_get_protect ()

    gboolean
    nm_device_macsec_get_protect (NMDeviceMacsec *device);

### nm_device_macsec_get_include_sci ()

    gboolean
    nm_device_macsec_get_include_sci (NMDeviceMacsec *device);

### nm_device_macsec_get_es ()

    gboolean
    nm_device_macsec_get_es (NMDeviceMacsec *device);

### nm_device_macsec_get_scb ()

    gboolean
    nm_device_macsec_get_scb (NMDeviceMacsec *device);

### nm_device_macsec_get_replay_protect ()

    gboolean
    nm_device_macsec_get_replay_protect (NMDeviceMacsec *device);

## Types and Values

### NM_DEVICE_MACSEC_PARENT

    #define NM_DEVICE_MACSEC_PARENT         "parent"

### NM_DEVICE_MACSEC_HW_ADDRESS

    #define NM_DEVICE_MACSEC_HW_ADDRESS     "hw-address"

### NM_DEVICE_MACSEC_SCI

    #define NM_DEVICE_MACSEC_SCI            "sci"

### NM_DEVICE_MACSEC_ICV_LENGTH

    #define NM_DEVICE_MACSEC_ICV_LENGTH     "icv-length"

### NM_DEVICE_MACSEC_CIPHER_SUITE

    #define NM_DEVICE_MACSEC_CIPHER_SUITE   "cipher-suite"

### NM_DEVICE_MACSEC_WINDOW

    #define NM_DEVICE_MACSEC_WINDOW         "window"

### NM_DEVICE_MACSEC_ENCODING_SA

    #define NM_DEVICE_MACSEC_ENCODING_SA    "encoding-sa"

### NM_DEVICE_MACSEC_VALIDATION

    #define NM_DEVICE_MACSEC_VALIDATION     "validation"

### NM_DEVICE_MACSEC_ENCRYPT

    #define NM_DEVICE_MACSEC_ENCRYPT        "encrypt"

### NM_DEVICE_MACSEC_PROTECT

    #define NM_DEVICE_MACSEC_PROTECT        "protect"

### NM_DEVICE_MACSEC_INCLUDE_SCI

    #define NM_DEVICE_MACSEC_INCLUDE_SCI    "include-sci"

### NM_DEVICE_MACSEC_ES

    #define NM_DEVICE_MACSEC_ES             "es"

### NM_DEVICE_MACSEC_SCB

    #define NM_DEVICE_MACSEC_SCB            "scb"

### NM_DEVICE_MACSEC_REPLAY_PROTECT

    #define NM_DEVICE_MACSEC_REPLAY_PROTECT "replay-protect"

### NMDeviceMacsec

    typedef struct _NMDeviceMacsec NMDeviceMacsec;

Since: 1.6

## Property Details

### The `“cipher-suite”` property

      “cipher-suite”             guint64

Owner: NMDeviceMacsec

Flags: Read

Default value: 0

### The `“encoding-sa”` property

      “encoding-sa”              guchar

Owner: NMDeviceMacsec

Flags: Read

Default value: 0

### The `“encrypt”` property

      “encrypt”                  gboolean

Owner: NMDeviceMacsec

Flags: Read

Default value: FALSE

### The `“es”` property

      “es”                       gboolean

Owner: NMDeviceMacsec

Flags: Read

Default value: FALSE

### The `“icv-length”` property

      “icv-length”               guchar

Owner: NMDeviceMacsec

Flags: Read

Default value: 0

### The `“include-sci”` property

      “include-sci”              gboolean

Owner: NMDeviceMacsec

Flags: Read

Default value: FALSE

### The `“parent”` property

      “parent”                   NMDevice *

Owner: NMDeviceMacsec

Flags: Read

### The `“protect”` property

      “protect”                  gboolean

Owner: NMDeviceMacsec

Flags: Read

Default value: FALSE

### The `“replay-protect”` property

      “replay-protect”           gboolean

Owner: NMDeviceMacsec

Flags: Read

Default value: FALSE

### The `“scb”` property

      “scb”                      gboolean

Owner: NMDeviceMacsec

Flags: Read

Default value: FALSE

### The `“sci”` property

      “sci”                      guint64

Owner: NMDeviceMacsec

Flags: Read

Default value: 0

### The `“validation”` property

      “validation”               char *

Owner: NMDeviceMacsec

Flags: Read

Default value: NULL

### The `“window”` property

      “window”                   guint

Owner: NMDeviceMacsec

Flags: Read

Default value: 0