NMDeviceWifi

NMDeviceWifi

Functions

Properties

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── NMObject
        ╰── NMDevice
            ╰── NMDeviceWifi

Description

Functions

nm_device_wifi_get_hw_address ()

const char *
nm_device_wifi_get_hw_address (NMDeviceWifi *device);

nm_device_wifi_get_hw_address has been deprecated since version 1.24 and should not be used in newly-written code.

Use nm_device_get_hw_address() instead.

Gets the actual hardware (MAC) address of the NMDeviceWifi

[skip]

Parameters

device

a NMDeviceWifi

 

Returns

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


nm_device_wifi_get_permanent_hw_address ()

const char *
nm_device_wifi_get_permanent_hw_address
                               (NMDeviceWifi *device);

Gets the permanent hardware (MAC) address of the NMDeviceWifi

Parameters

device

a NMDeviceWifi

 

Returns

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


nm_device_wifi_get_mode ()

NM80211Mode
nm_device_wifi_get_mode (NMDeviceWifi *device);

Gets the NMDeviceWifi mode.

Parameters

device

a NMDeviceWifi

 

Returns

the mode


nm_device_wifi_get_bitrate ()

guint32
nm_device_wifi_get_bitrate (NMDeviceWifi *device);

Gets the bit rate of the NMDeviceWifi in kbit/s.

Parameters

device

a NMDeviceWifi

 

Returns

the bit rate (kbit/s)


nm_device_wifi_get_capabilities ()

NMDeviceWifiCapabilities
nm_device_wifi_get_capabilities (NMDeviceWifi *device);

Gets the Wi-Fi capabilities of the NMDeviceWifi.

Parameters

device

a NMDeviceWifi

 

Returns

the capabilities


nm_device_wifi_get_active_access_point ()

NMAccessPoint *
nm_device_wifi_get_active_access_point
                               (NMDeviceWifi *device);

Gets the active NMAccessPoint.

Parameters

device

a NMDeviceWifi

 

Returns

the access point or NULL if none is active.

[transfer none]


nm_device_wifi_get_access_point_by_path ()

NMAccessPoint *
nm_device_wifi_get_access_point_by_path
                               (NMDeviceWifi *device,
                                const char *path);

Gets a NMAccessPoint by path.

Parameters

device

a NMDeviceWifi

 

path

the object path of the access point

 

Returns

the access point or NULL if none is found.

[transfer none]


nm_device_wifi_get_access_points ()

const GPtrArray *
nm_device_wifi_get_access_points (NMDeviceWifi *device);

Gets all the scanned access points of the NMDeviceWifi.

Parameters

device

a NMDeviceWifi

 

Returns

a GPtrArray containing all the scanned NMAccessPoints. The returned array is owned by the client and should not be modified.

[element-type NMAccessPoint]


nm_device_wifi_get_last_scan ()

gint64
nm_device_wifi_get_last_scan (NMDeviceWifi *device);

Returns the timestamp (in CLOCK_BOOTTIME milliseconds) for the last finished network scan. A value of -1 means the device never scanned for access points.

Use nm_utils_get_timestamp_msec() to obtain current time value suitable for comparing to this value.

Parameters

device

a NMDeviceWifi

 

Returns

the last scan time in milliseconds (in clock_gettime(CLOCK_BOOTTIME) scale).

Since: 1.12


nm_device_wifi_request_scan ()

gboolean
nm_device_wifi_request_scan (NMDeviceWifi *device,
                             GCancellable *cancellable,
                             GError **error);

nm_device_wifi_request_scan has been deprecated since version 1.22 and should not be used in newly-written code.

Use nm_device_wifi_request_scan_async() or GDBusConnection.

Request NM to scan for access points on device . Note that the function returns immediately after requesting the scan, and it may take some time after that for the scan to complete.

Parameters

device

a NMDeviceWifi

 

cancellable

a GCancellable, or NULL

 

error

location for a GError, or NULL

 

Returns

TRUE on success, FALSE on error, in which case error will be set.


nm_device_wifi_request_scan_options ()

gboolean
nm_device_wifi_request_scan_options (NMDeviceWifi *device,
                                     GVariant *options,
                                     GCancellable *cancellable,
                                     GError, or TRUE on success, GError, or TRUE on success, NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT


#define
 


error

()  

connection

the NMConnectionNMConnection

Properties

line="23"/> gboolean

device

a

()
carrier Read
Run Firse-Object-Type.html#GObject-struct">GObject *device, char *

The interface of the device.

Owner: Nn>

Flags: Read

tation">[skip
Since: 1.2


NM_ACTIVE_CONNECTION_STAT class="refsect1">

Properties

const FALSE to set networking to set networking to set networking to set networking/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run Firse-Object-Type.html#GObject-struct">GObject  *device,
               
        
      
    
    NMDhcpConfig

a

Flags: Readtransfer none]


NM_DEVICE_VXLAN_PROXY

#define

nm_device_vxlan_get_ageing ()

guint
nm_device_vxlan_get_ageing ( ()
NMDeviceVxlan

 
nm_client_check_connectivity 

NMDeviceVxlan

typedef struct .html" title="NMConnection">guint
nm_device_vxlaamlisting">typedef struct .html" title="NMConnection">#define NMDDEVICE_VXLAN_CARRIER      "carrier"

NM_DEVICE_VXLAN_PARENT

#define NM_DEne NMDDEVICE_VXLAN_CARRIER      "carrier"

NM_DEVICE_VXLAN_PARENT

#define NM_DEne NMDDEVICE_VXLAN_CARRIER      "carrier"

n_type">

type Ne>);

Parameters

callback, gpointer<.h" line="27"/>   gpointer<.h" line="27"/> NMConnection

callbackroup callbackroup callbackroup callbackroup callbackroup callbackroup callbackroup callbackroNMDDEVICE_VXLAN_CARRIER "carrier"
n_type">

 
callback, gpointer<.h" class="link" href="NMDeviceMacsec.html" title="NMDeviceMacsec">NMDeviceMacsec *device);

Gets whether the ES (End station) bit is enabled in SecTAG for transmitted frames

Object Hierarchy

    

Returns<> *device);

Pa="programlisting">#define NM_DEVICE_VXLAN_SRC_PORT_MAX "src-port-max"



NM_DEVICE_VXLAN_ID

#define NM_DEVICE_VXLAN_ID           "id"
html" title="NMDeviceWifi">NMDeviceWifi

 
gboolean nm_device_ethernet_get_carrier (

device

a NMClientidth="200px" class="parameters_annotations">

gboolean nm_client_checkpoint_adjust_rollback_timeout_finish ( <>

device

a NMCliref="NMDeviceWifi.html" title="NMDevin class="type">NMCliref="NMDeviceWifi.html" title="NMDevin class="type">NMCliref="NMDeviceWifi.html" title="NMDevin class="type">NMCliref="NMDeviceWifi.html" titloolean nm_client_checkpoiiceVxlan

 

Returns

whether netlink LL ADDR miss notifications are generated

gboolean

Whether netlink IP ADDR miss notifications are generated.

Owner: NMDeviceVxlan

> nm_connection_verify().

[char *

Since: 1.42

Parameters

 ());

Parameters

()
()
()
  “src-port-min”             ()

Use

 *

The used URI for connectivity checking.

Owner: NMClient

Flags: Read

Default value: NULL

Since: 1.22


 

Nrface" value="24" c:identifier="NM_DEVICE_TYPE_OVStable class="informamaltable">

Use  *

The used URI for connectivity checking.

Owner: NMClient

maltable">

Use

 *

The used URI for connectivity checking.

Owner: NMClient

maltable">

Use

har * nm_device_ethernet_get_hw_address (the new preshared key or %NULL to clear the preshared key.

Parameters

NULL, all secrets are clearet.

[GCancellable *cancellable, re>

Description

Functions

m-core-impl/nm-setting-wireguard.c" line="342">the new preshared key or %NULL to clear the preshared key.

The “lldp-neighbors” NM_DBUS_INTERFAvicelibnm Reference Manual"> device-type

Read
 

Parameters

nctidnctidnctidnctidnctidnctidnctidnctidnctiperty name="bt-capabilities"ch04.html" title="Device and Runtime Configuration API Reference"> nm_active_connection_get_dhcp6_config(), which also works with VPN connections.

Parameters

Run First

a>

 

Returns

the IPv6 Niv class="refsect2">

nm_device_macsec_get_encoding_sa ()

guint8
nm_device_macsec_geection_get_dhcp6_config(), which also
works with VPN connections.

Run First

void

NMDevice

Since: 1.2


The “dst-port” property

  “dst-port”                 
            
          
        
        “src-port-max” property
  “src-port-max”             

nm_device_macsec_get_es ()

          guint

The device's VXLAN ID.

Owner: NMDeviceVxlan

Flags: Read

Allowed values: <= 16777gliba href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray">GPtrArray="nm-device-vlan-getde>);

Returns the timestamp (in CLOCK_onnection< CLOCK_onnection< CLOCK_onnection< CLOCK_onnection< CLOCK_onnection< CLOCK_onnection< CLOCK_onnection< CLOCK_onnection< CLOCK_onnection< CLOCK_onnection< CLOCK_onnection “dst-port” );

Returns the timestamp (in CLOCK_onnection< CLOCK_onnection<

nm_device_macsec_get_es ()

          guint

The device's VXLAN ID.

Owner: NMDeviceVxlan

Flags">