libnm-util Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define NM_SETTING_OLPC_MESH_SETTING_NAME enum NMSettingOlpcMeshError; #define NM_TYPE_SETTING_OLPC_MESH_ERROR #define NM_SETTING_OLPC_MESH_ERROR GQuark nm_setting_olpc_mesh_error_quark (void
); #define NM_SETTING_OLPC_MESH_SSID #define NM_SETTING_OLPC_MESH_CHANNEL #define NM_SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS NMSettingOlpcMesh; NMSettingOlpcMeshClass; GType nm_setting_olpc_mesh_get_type (void
); NMSetting * nm_setting_olpc_mesh_new (void
); const GByteArray * nm_setting_olpc_mesh_get_ssid (NMSettingOlpcMesh *setting
); guint32 nm_setting_olpc_mesh_get_channel (NMSettingOlpcMesh *setting
); const GByteArray * nm_setting_olpc_mesh_get_dhcp_anycast_address (NMSettingOlpcMesh *setting
);
"channel" guint : Read / Write / Construct "dhcp-anycast-address" GArray_guchar_* : Read / Write "ssid" GArray_guchar_* : Read / Write
typedef enum { NM_SETTING_OLPC_MESH_ERROR_UNKNOWN = 0, NM_SETTING_OLPC_MESH_ERROR_INVALID_PROPERTY, NM_SETTING_OLPC_MESH_ERROR_MISSING_PROPERTY } NMSettingOlpcMeshError;
#define NM_TYPE_SETTING_OLPC_MESH_ERROR (nm_setting_olpc_mesh_error_get_type ())
#define NM_SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS "dhcp-anycast-address"
typedef struct { NMSettingClass parent; /* Padding for future expansion */ void (*_reserved1) (void); void (*_reserved2) (void); void (*_reserved3) (void); void (*_reserved4) (void); } NMSettingOlpcMeshClass;
NMSetting * nm_setting_olpc_mesh_new (void
);
Creates a new NMSettingOlpcMesh object with default values.
Returns : |
the new empty NMSettingOlpcMesh object |
const GByteArray * nm_setting_olpc_mesh_get_ssid (NMSettingOlpcMesh *setting
);
guint32 nm_setting_olpc_mesh_get_channel (NMSettingOlpcMesh *setting
);
const GByteArray * nm_setting_olpc_mesh_get_dhcp_anycast_address
(NMSettingOlpcMesh *setting
);
"channel"
property"channel" guint : Read / Write / Construct
Channel on which the mesh network to join is located.
Default value: 0
"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.