| Top |
| #define | NM_SETTING_MACVLAN_SETTING_NAME |
| #define | NM_SETTING_MACVLAN_PARENT |
| #define | NM_SETTING_MACVLAN_MODE |
| #define | NM_SETTING_MACVLAN_PROMISCUOUS |
| #define | NM_SETTING_MACVLAN_TAP |
| NMSettingMacvlan | |
| enum | NMSettingMacvlanMode |
The NMSettingMacvlan object is a NMSetting subclass that describes properties necessary for connection to macvlan interfaces.
NMSetting *
nm_setting_macvlan_new (void);
Creates a new NMSettingMacvlan object with default values.
Since: 1.2
const char *
nm_setting_macvlan_get_parent (NMSettingMacvlan *setting);
Since: 1.2
NMSettingMacvlanMode
nm_setting_macvlan_get_mode (NMSettingMacvlan *setting);
Since: 1.2
gboolean
nm_setting_macvlan_get_promiscuous (NMSettingMacvlan *setting);
Since: 1.2
gboolean
nm_setting_macvlan_get_tap (NMSettingMacvlan *setting);
Since: 1.2
“mode” property“mode” guint
The macvlan mode, which specifies the communication mechanism between multiple macvlans on the same lower device.
Owner: NMSettingMacvlan
Flags: Read / Write
Default value: 0
Since: 1.2
“parent” property“parent” gchar *
If given, specifies the parent interface name or parent connection UUID from which this MAC-VLAN interface should be created. If this property is not specified, the connection must contain an NMSettingWired setting with a “mac-address” property.
Owner: NMSettingMacvlan
Flags: Read / Write
Default value: NULL
Since: 1.2
“promiscuous” property“promiscuous” gboolean
Whether the interface should be put in promiscuous mode.
Owner: NMSettingMacvlan
Flags: Read / Write
Default value: TRUE
Since: 1.2
“tap” property“tap” gboolean
Whether the interface should be a MACVTAP.
Owner: NMSettingMacvlan
Flags: Read / Write
Default value: FALSE
Since: 1.2