Top | ![]() |
![]() |
![]() |
![]() |
NMDevice * | nm_device_macvlan_get_parent () |
const char * | nm_device_macvlan_get_mode () |
gboolean | nm_device_macvlan_get_no_promisc () |
gboolean | nm_device_macvlan_get_tap () |
const char * | nm_device_macvlan_get_hw_address () |
gchar * | hw-address | Read |
gchar * | mode | Read |
gboolean | no-promisc | Read |
NMDevice * | parent | Read |
gboolean | tap | Read |
#define | NM_DEVICE_MACVLAN_PARENT |
#define | NM_DEVICE_MACVLAN_MODE |
#define | NM_DEVICE_MACVLAN_NO_PROMISC |
#define | NM_DEVICE_MACVLAN_TAP |
#define | NM_DEVICE_MACVLAN_HW_ADDRESS |
NMDeviceMacvlan |
NMDevice *
nm_device_macvlan_get_parent (NMDeviceMacvlan *device
);
Since: 1.2
const char *
nm_device_macvlan_get_mode (NMDeviceMacvlan *device
);
Gets the MACVLAN mode of the device.
Since: 1.2
gboolean
nm_device_macvlan_get_no_promisc (NMDeviceMacvlan *device
);
Gets the no-promiscuous flag of the device.
Since: 1.2
gboolean
nm_device_macvlan_get_tap (NMDeviceMacvlan *device
);
Gets the device type (MACVLAN or MACVTAP).
Since: 1.2
const char *
nm_device_macvlan_get_hw_address (NMDeviceMacvlan *device
);
Gets the hardware (MAC) address of the NMDeviceMacvlan
the hardware address. This is the internal string used by the device, and must not be modified.
Since: 1.2
“hw-address”
property“hw-address” gchar *
The hardware (MAC) address of the device.
Flags: Read
Default value: NULL
Since: 1.2
“no-promisc”
property“no-promisc” gboolean
Whether the device has the no-promiscuos flag.
Flags: Read
Default value: FALSE
Since: 1.2
“tap”
property“tap” gboolean
Whether the device is a MACVTAP.
Flags: Read
Default value: FALSE
Since: 1.2