NMDeviceVxlan

NMDeviceVxlan

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── NMObject
        ╰── NMDevice
            ╰── NMDeviceVxlan

Implemented Interfaces

NMDeviceVxlan implements GInitable and GAsyncInitable.

Description

Functions

nm_device_vxlan_get_hw_address ()

const char *
nm_device_vxlan_get_hw_address (NMDeviceVxlan *device);

Gets the hardware (MAC) address of the NMDeviceVxlan

Parameters

device

a NMDeviceVxlan

 

Returns

the hardware address. This is the internal string used by the device, and must not be modified.

Since: 1.2


nm_device_vxlan_get_carrier ()

gboolean
nm_device_vxlan_get_carrier (NMDeviceVxlan *device);

Whether the device has carrier.

Parameters

device

a NMDeviceVxlan

 

Returns

TRUE if the device has carrier.

Since: 1.2


nm_device_vxlan_get_parent ()

NMDevice *
nm_device_vxlan_get_parent (NMDeviceVxlan *device);

Parameters

device

a NMDeviceVxlan

 

Returns

the device's parent device.

[transfer none]

Since: 1.2


nm_device_vxlan_get_id ()

guint
nm_device_vxlan_get_id (NMDeviceVxlan *device);

Parameters

device

a NMDeviceVxlan

 

Returns

the device's VXLAN ID.

Since: 1.2


nm_device_vxlan_get_group ()

const char *
nm_device_vxlan_get_group (NMDeviceVxlan *device);

Parameters

device

a NMDeviceVxlan

 

Returns

The unicast destination IP address or the multicast IP address joined

Since: 1.2


nm_device_vxlan_get_local ()

const char *
nm_device_vxlan_get_local (NMDeviceVxlan *device);

Parameters

device

a NMDeviceVxlan

 

Returns

the source IP address to use in outgoing packets

Since: 1.2


nm_device_vxlan_get_src_port_min ()

guint
nm_device_vxlan_get_src_port_min (NMDeviceVxlan *device);

Parameters

device

a NMDeviceVxlan

 

Returns

the minimum UDP source port

Since: 1.2<