Top |
gboolean | encrypt | Read / Write |
char * | mka-cak | Read / Write |
NMSettingSecretFlags | mka-cak-flags | Read / Write |
char * | mka-ckn | Read / Write |
int | mode | Read / Write |
char * | parent | Read / Write |
int | port | Read / Write |
gboolean | send-sci | Read / Write |
int | validation | Read / Write |
#define | NM_SETTING_MACSEC_SETTING_NAME |
#define | NM_SETTING_MACSEC_PARENT |
#define | NM_SETTING_MACSEC_MODE |
#define | NM_SETTING_MACSEC_ENCRYPT |
#define | NM_SETTING_MACSEC_MKA_CAK |
#define | NM_SETTING_MACSEC_MKA_CAK_FLAGS |
#define | NM_SETTING_MACSEC_MKA_CKN |
#define | NM_SETTING_MACSEC_PORT |
#define | NM_SETTING_MACSEC_VALIDATION |
#define | NM_SETTING_MACSEC_SEND_SCI |
NMSettingMacsec | |
enum | NMSettingMacsecMode |
enum | NMSettingMacsecValidation |
#define | NM_SETTING_MACSEC_MKA_CAK_LENGTH |
#define | NM_SETTING_MACSEC_MKA_CKN_LENGTH |
GEnum ├── NMSettingMacsecMode ╰── NMSettingMacsecValidation GObject ╰── NMSetting ╰── NMSettingMacsec
The NMSettingMacsec object is a NMSetting subclass that describes properties necessary for connection to MACsec (IEEE 802.1AE) interfaces.
NMSetting *
nm_setting_macsec_new (void
);
Creates a new NMSettingMacsec object with default values.
Since: 1.6
const char *
nm_setting_macsec_get_parent (NMSettingMacsec *setting
);
Since: 1.6
NMSettingMacsecMode
nm_setting_macsec_get_mode (NMSettingMacsec *setting
);
Since: 1.6
gboolean
nm_setting_macsec_get_encrypt (NMSettingMacsec *setting
);
Since: 1.6
const char *
nm_setting_macsec_get_mka_cak (NMSettingMacsec *setting
);
Since: 1.6
NMSettingSecretFlags
nm_setting_macsec_get_mka_cak_flags (NMSettingMacsec *setting
);
Since: 1.6
const char *
nm_setting_macsec_get_mka_ckn (NMSettingMacsec *setting
);
Since: 1.6
NMSettingMacsecValidation
nm_setting_macsec_get_validation (NMSettingMacsec *setting
);
Since: 1.6
gboolean
nm_setting_macsec_get_send_sci (NMSettingMacsec *setting
);
Since: 1.12
NMSettingMacsecMode controls how the CAK (Connectivity Association Key) used in MKA (MACsec Key Agreement) is obtained.
Since: 1.6
NMSettingMacsecValidation specifies a validation mode for incoming frames.
All incoming frames are accepted if possible |
||
Non protected, invalid, or impossible to verify frames are accepted and counted as "invalid" |
||
Non protected, invalid, or impossible to verify frames are dropped |
Since: 1.6
“encrypt”
property“encrypt” gboolean
Whether the transmitted traffic must be encrypted.
Owner: NMSettingMacsec
Flags: Read / Write
Default value: TRUE
Since: 1.6
“mka-cak”
property “mka-cak” char *
The pre-shared CAK (Connectivity Association Key) for MACsec Key Agreement.
Owner: NMSettingMacsec
Flags: Read / Write
Default value: NULL
Since: 1.6
“mka-cak-flags”
property“mka-cak-flags” NMSettingSecretFlags
Flags indicating how to handle the “mka-cak” property.
Owner: NMSettingMacsec
Flags: Read / Write
Since: 1.6
“mka-ckn”
property “mka-ckn” char *
The pre-shared CKN (Connectivity-association Key Name) for MACsec Key Agreement.
Owner: NMSettingMacsec
Flags: Read / Write
Default value: NULL
Since: 1.6
“mode”
property “mode” int
Specifies how the CAK (Connectivity Association Key) for MKA (MACsec Key Agreement) is obtained.
Owner: NMSettingMacsec
Flags: Read / Write
Default value: 0
Since: 1.6
“parent”
property “parent” char *
If given, specifies the parent interface name or parent connection UUID from which this MACSEC interface should be created. If this property is not specified, the connection must contain an NMSettingWired setting with a “mac-address” property.
Owner: NMSettingMacsec
Flags: Read / Write
Default value: NULL
Since: 1.6
“port”
property “port” int
The port component of the SCI (Secure Channel Identifier), between 1 and 65534.
Owner: NMSettingMacsec
Flags: Read / Write
Allowed values: [1,65534]
Default value: 1
Since: 1.6
“send-sci”
property“send-sci” gboolean
Specifies whether the SCI (Secure Channel Identifier) is included in every packet.
Owner: NMSettingMacsec
Flags: Read / Write
Default value: TRUE
Since: 1.12