NMDeviceVxlan

NMDeviceVxlan

Synopsis

#define             NM_DEVICE_VXLAN_HW_ADDRESS
#define             NM_DEVICE_VXLAN_CARRIER
#define             NM_DEVICE_VXLAN_PARENT
#define             NM_DEVICE_VXLAN_ID
#define             NM_DEVICE_VXLAN_GROUP
#define             NM_DEVICE_VXLAN_LOCAL
#define             NM_DEVICE_VXLAN_SRC_PORT_MIN
#define             NM_DEVICE_VXLAN_SRC_PORT_MAX
#define             NM_DEVICE_VXLAN_LEARNING
#define             NM_DEVICE_VXLAN_AGEING
#define             NM_DEVICE_VXLAN_TOS
#define             NM_DEVICE_VXLAN_TTL
#define             NM_DEVICE_VXLAN_LIMIT
#define             NM_DEVICE_VXLAN_PROXY
#define             NM_DEVICE_VXLAN_RSC
#define             NM_DEVICE_VXLAN_L2MISS
#define             NM_DEVICE_VXLAN_L3MISS
#define             NM_DEVICE_VXLAN_DST_PORT
                    NMDeviceVxlan;
                    NMDeviceVxlanClass;
const char *        nm_device_vxlan_get_hw_address      (NMDeviceVxlan *device);
gboolean            nm_device_vxlan_get_carrier         (NMDeviceVxlan *device);
NMDevice *          nm_device_vxlan_get_parent          (NMDeviceVxlan *device);
guint               nm_device_vxlan_get_id              (NMDeviceVxlan *device);
const char *        nm_device_vxlan_get_group           (NMDeviceVxlan *device);
const char *        nm_device_vxlan_get_local           (NMDeviceVxlan *device);
guint               nm_device_vxlan_get_src_port_min    (NMDeviceVxlan *device);
guint               nm_device_vxlan_get_src_port_max    (NMDeviceVxlan *device);
guint               nm_device_vxlan_get_dst_port        (NMDeviceVxlan *device);
gboolean            nm_device_vxlan_get_learning        (NMDeviceVxlan *device);
guint               nm_device_vxlan_get_ageing          (NMDeviceVxlan *device);
guint               nm_device_vxlan_get_tos             (NMDeviceVxlan *device);
guint               nm_device_vxlan_get_ttl             (NMDeviceVxlan *device);
guint               nm_device_vxlan_get_limit           (NMDeviceVxlan *device);
gboolean            nm_device_vxlan_get_proxy           (NMDeviceVxlan *device);
gboolean            nm_device_vxlan_get_rsc             (NMDeviceVxlan *device);
gboolean            nm_device_vxlan_get_l2miss          (NMDeviceVxlan *device);
gboolean            nm_device_vxlan_get_l3miss          (NMDeviceVxlan *device);

Object Hierarchy

  GObject
   +----NMObject
         +----NMDevice
               +----NMDeviceVxlan

Implemented Interfaces

NMDeviceVxlan implements GInitable and GAsyncInitable.

Properties

  "ageing"                   guint                 : Read
  "carrier"                  gboolean              : Read
  "dst-port"                 guint                 : Read
  "group"                    gchar*                : Read
  "hw-address"               gchar*                : Read
  "id"                       guint                 : Read
  "l2miss"                   gboolean              : Read
  "l3miss"                   gboolean              : Read
  "learning"                 gboolean              : Read
  "limit"                    guint                 : Read
  "local"                    gchar*                : Read
  "parent"                   NMDevice*             : Read
  "proxy"                    gboolean              : Read
  "rsc"                      gboolean              : Read
  "src-port-max"             guint                 : Read
  "src-port-min"             guint                 : Read
  "tos"                      guchar                : Read
  "ttl"                      guchar                : Read

Description

Details

NM_DEVICE_VXLAN_HW_ADDRESS

#define NM_DEVICE_VXLAN_HW_ADDRESS    "hw-address"


NM_DEVICE_VXLAN_CARRIER

#define NM_DEVICE_VXLAN_CARRIER       "carrier"


NM_DEVICE_VXLAN_PARENT

#define NM_DEVICE_VXLAN_PARENT        "parent"


NM_DEVICE_VXLAN_ID

#define NM_DEVICE_VXLAN_ID            "id"


NM_DEVICE_VXLAN_GROUP

#define NM_DEVICE_VXLAN_GROUP         "group"


NM_DEVICE_VXLAN_LOCAL

#define NM_DEVICE_VXLAN_LOCAL         "local"


NM_DEVICE_VXLAN_SRC_PORT_MIN

#define NM_DEVICE_VXLAN_SRC_PORT_MIN  "src-port-min"


NM_DEVICE_VXLAN_SRC_PORT_MAX

#define NM_DEVICE_VXLAN_SRC_PORT_MAX  "src-port-max"


NM_DEVICE_VXLAN_LEARNING

#define NM_DEVICE_VXLAN_LEARNING      "learning"


NM_DEVICE_VXLAN_AGEING

#define NM_DEVICE_VXLAN_AGEING        "ageing"


NM_DEVICE_VXLAN_TOS

#define NM_DEVICE_VXLAN_TOS           "tos"


NM_DEVICE_VXLAN_TTL

#define NM_DEVICE_VXLAN_TTL           "ttl"


NM_DEVICE_VXLAN_LIMIT

#define NM_DEVICE_VXLAN_LIMIT         "limit"


NM_DEVICE_VXLAN_PROXY

#define NM_DEVICE_VXLAN_PROXY         "proxy"


NM_DEVICE_VXLAN_RSC

#define NM_DEVICE_VXLAN_RSC           "rsc"


NM_DEVICE_VXLAN_L2MISS

#define NM_DEVICE_VXLAN_L2MISS        "l2miss"


NM_DEVICE_VXLAN_L3MISS

#define NM_DEVICE_VXLAN_L3MISS        "l3miss"


NM_DEVICE_VXLAN_DST_PORT

#define NM_DEVICE_VXLAN_DST_PORT      "dst-port"


NMDeviceVxlan

typedef struct _NMDeviceVxlan NMDeviceVxlan;

NMDeviceVxlanClass

typedef struct {
	NMDeviceClass parent;
} NMDeviceVxlanClass;


nm_device_vxlan_get_hw_address ()

const char *        nm_device_vxlan_get_hw_address      (NMDeviceVxlan *device);

Gets the hardware (MAC) address of the NMDeviceVxlan

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.

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);

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);

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);

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);

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);

device :

a NMDeviceVxlan

Returns :

the minimum UDP source port

Since 1.2


nm_device_vxlan_get_src_port_max ()

guint               nm_device_vxlan_get_src_port_max    (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

the maximum UDP source port

Since 1.2


nm_device_vxlan_get_dst_port ()

guint               nm_device_vxlan_get_dst_port        (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

the UDP destination port

Since 1.2


nm_device_vxlan_get_learning ()

gboolean            nm_device_vxlan_get_learning        (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

whether address learning is enabled

Since 1.2


nm_device_vxlan_get_ageing ()

guint               nm_device_vxlan_get_ageing          (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

the lifetime in seconds of FDB entries learnt by the kernel

Since 1.2


nm_device_vxlan_get_tos ()

guint               nm_device_vxlan_get_tos             (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

the TOS value to use in outgoing packets

Since 1.2


nm_device_vxlan_get_ttl ()

guint               nm_device_vxlan_get_ttl             (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

the time-to-live value to use in outgoing packets

Since 1.2


nm_device_vxlan_get_limit ()

guint               nm_device_vxlan_get_limit           (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

the maximum number of entries that can be added to the forwarding table

Since 1.2


nm_device_vxlan_get_proxy ()

gboolean            nm_device_vxlan_get_proxy           (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

whether ARP proxy is turned on

Since 1.2


nm_device_vxlan_get_rsc ()

gboolean            nm_device_vxlan_get_rsc             (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

whether route short circuit is turned on

Since 1.2


nm_device_vxlan_get_l2miss ()

gboolean            nm_device_vxlan_get_l2miss          (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

whether netlink LL ADDR miss notifications are generated

Since 1.2


nm_device_vxlan_get_l3miss ()

gboolean            nm_device_vxlan_get_l3miss          (NMDeviceVxlan *device);

device :

a NMDeviceVxlan

Returns :

wether netlink IP ADDR miss notifications are generated

Since 1.2

Property Details

The "ageing" property

  "ageing"                   guint                 : Read

The lifetime in seconds of FDB entries learnt by the kernel.

Default value: 0

Since 1.2


The "carrier" property

  "carrier"                  gboolean              : Read

Whether the device has carrier.

Default value: FALSE

Since 1.2


The "dst-port" property

  "dst-port"                 guint                 : Read

The UDP destination port used to communicate with the remote VXLAN tunnel endpoint.

Allowed values: <= 65535

Default value: 0

Since 1.2


The "group" property

  "group"                    gchar*                : Read

The unicast destination IP address used in outgoing packets when the destination link layer address is not known in the VXLAN device forwarding database or the multicast IP address joined.

Default value: NULL

Since 1.2


The "hw-address" property

  "hw-address"               gchar*                : Read

The hardware (MAC) address of the device.

Default value: NULL

Since 1.2


The "id" property

  "id"                       guint                 : Read

The device's VXLAN ID.

Allowed values: <= 16777215

Default value: 0

Since 1.2


The "l2miss" property

  "l2miss"                   gboolean              : Read

Whether netlink LL ADDR miss notifications are generated.

Default value: FALSE

Since 1.2


The "l3miss" property

  "l3miss"                   gboolean              : Read

Whether netlink IP ADDR miss notifications are generated.

Default value: FALSE

Since 1.2


The "learning" property

  "learning"                 gboolean              : Read

Whether unknown source link layer addresses and IP addresses are entered into the VXLAN device forwarding database.

Default value: TRUE

Since 1.2


The "limit" property

  "limit"                    guint                 : Read

The maximum number of entries that can be added to the forwarding table.

Default value: 0

Since 1.2


The "local" property

  "local"                    gchar*                : Read

The source IP address to use in outgoing packets.

Default value: NULL

Since 1.2


The "parent" property

  "parent"                   NMDevice*             : Read

The devices's parent device.

Since 1.2


The "proxy" property

  "proxy"                    gboolean              : Read

Whether ARP proxy is turned on.

Default value: FALSE

Since 1.2


The "rsc" property

  "rsc"                      gboolean              : Read

Whether route short circuit is turned on.

Default value: FALSE

Since 1.2


The "src-port-max" property

  "src-port-max"             guint                 : Read

The maximum UDP source port used to communicate with the remote VXLAN tunnel endpoint.

Allowed values: <= 65535

Default value: 0

Since 1.2


The "src-port-min" property

  "src-port-min"             guint                 : Read

The minimum UDP source port used to communicate with the remote VXLAN tunnel endpoint.

Allowed values: <= 65535

Default value: 0

Since 1.2


The "tos" property

  "tos"                      guchar                : Read

The TOS value to use in outgoing packets.

Default value: 0

Since 1.2


The "ttl" property

  "ttl"                      guchar                : Read

The time-to-live value to use in outgoing packets.

Default value: 0

Since 1.2