NMSettingOlpcMesh

## NMSettingOlpcMesh NMSettingOlpcMesh |

## Synopsis

                        NMSettingOlpcMesh;
                        NMSettingOlpcMeshClass;
    enum                NMSettingOlpcMeshError;
    #define             NM_SETTING_OLPC_MESH_CHANNEL
    #define             NM_SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS
    #define             NM_SETTING_OLPC_MESH_ERROR
    #define             NM_SETTING_OLPC_MESH_SETTING_NAME
    #define             NM_SETTING_OLPC_MESH_SSID
    GQuark              nm_setting_olpc_mesh_error_quark    (void);
    guint32             nm_setting_olpc_mesh_get_channel    (NMSettingOlpcMesh *setting);
    const GByteArray *  nm_setting_olpc_mesh_get_dhcp_anycast_address
                                                            (NMSettingOlpcMesh *setting);
    const GByteArray *  nm_setting_olpc_mesh_get_ssid       (NMSettingOlpcMesh *setting);
    NMSetting *         nm_setting_olpc_mesh_new            (void);

## Object Hierarchy

      GObject
       +----NMSetting
             +----NMSettingOlpcMesh

      GEnum
       +----NMSettingOlpcMeshError

## Properties

      "channel"                  guint                 : Read / Write / Construct
      "dhcp-anycast-address"     GArray_guchar_*       : Read / Write
      "ssid"                     GArray_guchar_*       : Read / Write

## Description

## Details

### NMSettingOlpcMesh

    typedef struct _NMSettingOlpcMesh NMSettingOlpcMesh;

### NMSettingOlpcMeshClass

    typedef struct {
    	NMSettingClass parent;

    	/* Padding for future expansion */
    	void (*_reserved1) (void);
    	void (*_reserved2) (void);
    	void (*_reserved3) (void);
    	void (*_reserved4) (void);
    } NMSettingOlpcMeshClass;

### enum NMSettingOlpcMeshError

    typedef enum {
    	NM_SETTING_OLPC_MESH_ERROR_UNKNOWN = 0,      /*< nick=UnknownError >*/
    	NM_SETTING_OLPC_MESH_ERROR_INVALID_PROPERTY, /*< nick=InvalidProperty >*/
    	NM_SETTING_OLPC_MESH_ERROR_MISSING_PROPERTY  /*< nick=MissingProperty >*/
    } NMSettingOlpcMeshError;

### NM_SETTING_OLPC_MESH_CHANNEL

    #define NM_SETTING_OLPC_MESH_CHANNEL              "channel"

### NM_SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS

    #define NM_SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS "dhcp-anycast-address"

### NM_SETTING_OLPC_MESH_ERROR

    #define NM_SETTING_OLPC_MESH_ERROR nm_setting_olpc_mesh_error_quark ()

### NM_SETTING_OLPC_MESH_SETTING_NAME

    #define NM_SETTING_OLPC_MESH_SETTING_NAME "802-11-olpc-mesh"

### NM_SETTING_OLPC_MESH_SSID

    #define NM_SETTING_OLPC_MESH_SSID                 "ssid"

### nm_setting_olpc_mesh_error_quark ()

    GQuark              nm_setting_olpc_mesh_error_quark    (void);

### nm_setting_olpc_mesh_get_channel ()

    guint32             nm_setting_olpc_mesh_get_channel    (NMSettingOlpcMesh *setting);

### nm_setting_olpc_mesh_get_dhcp_anycast_address ()

    const GByteArray *  nm_setting_olpc_mesh_get_dhcp_anycast_address
                                                            (NMSettingOlpcMesh *setting);

### nm_setting_olpc_mesh_get_ssid ()

    const GByteArray *  nm_setting_olpc_mesh_get_ssid       (NMSettingOlpcMesh *setting);

### nm_setting_olpc_mesh_new ()

    NMSetting *         nm_setting_olpc_mesh_new            (void);

Creates a new NMSettingOlpcMesh object with default values.

Returns : | the new empty NMSettingOlpcMesh object

## Property Details

### The `"channel"` property

      "channel"                  guint                 : Read / Write / Construct

Channel on which the mesh network to join is located.

Default value: 0

### The `"dhcp-anycast-address"` property

      "dhcp-anycast-address"     GArray_guchar_*       : Read / Write

Anycast DHCP address used when requesting an IP address via DHCP. The specific anycast address used determines which DHCP server class answers the request.

### The `"ssid"` property

      "ssid"                     GArray_guchar_*       : Read / Write

SSID of the mesh network to join.