Blame docs/libnm/html/NMSettingWired.html

Packit 5756e2
Packit 5756e2
<html>
Packit 5756e2
<head>
Packit 5756e2
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit 5756e2
<title>NMSettingWired: libnm Reference Manual</title>
Packit 5756e2
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
Packit 5756e2
<link rel="home" href="index.html" title="libnm Reference Manual">
Packit 5756e2
<link rel="up" href="ch03.html" title="Connection and Setting API Reference">
Packit 5756e2
<link rel="prev" href="NMSettingWimax.html" title="NMSettingWimax">
Packit 5756e2
<link rel="next" href="NMSettingWireGuard.html" title="NMSettingWireGuard">
Packit Service dff8e4
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
Packit 5756e2
<link rel="stylesheet" href="style.css" type="text/css">
Packit 5756e2
</head>
Packit 5756e2
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit 5756e2
Packit 5756e2
Packit 5756e2
Top  | 
Packit 5756e2
                  Description  | 
Packit 5756e2
                  Object Hierarchy  | 
Packit 5756e2
                  Properties
Packit 5756e2
Packit 5756e2
Home
Packit 5756e2
Up
Packit 5756e2
Prev
Packit 5756e2
Next
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

NMSettingWired

Packit 5756e2

NMSettingWired — Describes connection properties for Ethernet-based networks

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Functions

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
NMSetting *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_new ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_port ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
guint32
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_speed ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_duplex ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
gboolean
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_auto_negotiate ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_mac_address ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_cloned_mac_address ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_generate_mac_address_mask ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
const char *const *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_mac_address_blacklist ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
guint32
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_num_mac_blacklist_items ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_mac_blacklist_item ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
gboolean
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_add_mac_blacklist_item ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
void
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_remove_mac_blacklist_item ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
gboolean
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_remove_mac_blacklist_item_by_value ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
void
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_clear_mac_blacklist_items ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
guint32
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_mtu ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
const char *const *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_s390_subchannels ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_s390_nettype ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
guint32
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_num_s390_options ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
gboolean
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_s390_option ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_s390_option_by_key ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
gboolean
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_add_s390_option ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
gboolean
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_remove_s390_option ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char **
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_valid_s390_options ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
NMSettingWiredWakeOnLan
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_wake_on_lan ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
const char *
Packit 5756e2
Packit 5756e2
Packit 5756e2
nm_setting_wired_get_wake_on_lan_password ()
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Properties

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
gboolean
Packit 5756e2
auto-negotiate
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
char *
Packit 5756e2
cloned-mac-address
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
char *
Packit 5756e2
duplex
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
char *
Packit 5756e2
generate-mac-address-mask
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
char *
Packit 5756e2
mac-address
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
GStrv
Packit 5756e2
mac-address-blacklist
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
guint
Packit 5756e2
mtu
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
char *
Packit 5756e2
port
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
char *
Packit 5756e2
s390-nettype
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
GHashTable *
Packit 5756e2
s390-options
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
GStrv
Packit 5756e2
s390-subchannels
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
guint
Packit 5756e2
speed
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
guint
Packit 5756e2
wake-on-lan
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service a1bd4f
char *
Packit 5756e2
wake-on-lan-password
Packit 5756e2
Read / Write
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Types and Values

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_SETTING_NAME
Packit 5756e2
Packit 5756e2
Packit 5756e2
enum
Packit 5756e2
NMSettingWiredWakeOnLan
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_PORT
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_SPEED
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_DUPLEX
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_AUTO_NEGOTIATE
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_MAC_ADDRESS
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_CLONED_MAC_ADDRESS
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_GENERATE_MAC_ADDRESS_MASK
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_MAC_ADDRESS_BLACKLIST
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_MTU
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_S390_SUBCHANNELS
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_S390_NETTYPE
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_S390_OPTIONS
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN
Packit 5756e2
Packit 5756e2
Packit 5756e2
#define
Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN_PASSWORD
Packit 5756e2
Packit 5756e2
Packit 5756e2
 
Packit 5756e2
NMSettingWired
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Object Hierarchy

Packit 5756e2
    GFlags
Packit 5756e2
    ╰── NMSettingWiredWakeOnLan
Packit 5756e2
    GObject
Packit 5756e2
    ╰── NMSetting
Packit 5756e2
        ╰── NMSettingWired
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Description

Packit 5756e2

The NMSettingWired object is a NMSetting subclass that describes properties

Packit 5756e2
necessary for connection to Ethernet networks.

Packit 5756e2
Packit 5756e2
Packit 5756e2

Functions

Packit 5756e2
Packit 5756e2

nm_setting_wired_new ()

Packit 5756e2
NMSetting *
Packit 5756e2
nm_setting_wired_new (void);
Packit 5756e2

Creates a new NMSettingWired object with default values.

Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the new empty NMSettingWired object.

Packit Service dff8e4

[transfer full]

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_port ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_port (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “port” property of the setting

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_speed ()

Packit 5756e2
guint32
Packit 5756e2
nm_setting_wired_get_speed (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “speed” property of the setting

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_duplex ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_duplex (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “duplex” property of the setting

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_auto_negotiate ()

Packit 5756e2
gboolean
Packit 5756e2
nm_setting_wired_get_auto_negotiate (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “auto-negotiate” property of the setting

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_mac_address ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_mac_address (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “mac-address” property of the setting

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_cloned_mac_address ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_cloned_mac_address
Packit 5756e2
                               (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “cloned-mac-address” property of the setting

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_generate_mac_address_mask ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_generate_mac_address_mask
Packit 5756e2
                               (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “generate-mac-address-mask” property of the setting

Packit 5756e2
Packit 5756e2

Since: 1.4

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_mac_address_blacklist ()

Packit Service a1bd4f
const char *const *
Packit 5756e2
nm_setting_wired_get_mac_address_blacklist
Packit 5756e2
                               (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “mac-address-blacklist” property of the setting

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_num_mac_blacklist_items ()

Packit 5756e2
guint32
Packit 5756e2
nm_setting_wired_get_num_mac_blacklist_items
Packit 5756e2
                               (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the number of blacklisted MAC addresses

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_mac_blacklist_item ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_mac_blacklist_item
Packit 5756e2
                               (NMSettingWired *setting,
Packit 5756e2
                                guint32 idx);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

idx

Packit 5756e2

the zero-based index of the MAC address entry

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the blacklisted MAC address string (hex-digits-and-colons notation)

Packit 5756e2
at index idx
Packit 5756e2

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_add_mac_blacklist_item ()

Packit 5756e2
gboolean
Packit 5756e2
nm_setting_wired_add_mac_blacklist_item
Packit 5756e2
                               (NMSettingWired *setting,
Packit 5756e2
                                const char *mac);
Packit 5756e2

Adds a new MAC address to the “mac-address-blacklist” property.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

mac

Packit 5756e2

the MAC address string (hex-digits-and-colons notation) to blacklist

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

TRUE if the MAC address was added; FALSE if the MAC address

Packit 5756e2
is invalid or was already present

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_remove_mac_blacklist_item ()

Packit 5756e2
void
Packit 5756e2
nm_setting_wired_remove_mac_blacklist_item
Packit 5756e2
                               (NMSettingWired *setting,
Packit 5756e2
                                guint32 idx);
Packit 5756e2

Removes the MAC address at index idx

Packit 5756e2
 from the blacklist.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

idx

Packit 5756e2

index number of the MAC address

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_remove_mac_blacklist_item_by_value ()

Packit 5756e2
gboolean
Packit 5756e2
nm_setting_wired_remove_mac_blacklist_item_by_value
Packit 5756e2
                               (NMSettingWired *setting,
Packit 5756e2
                                const char *mac);
Packit 5756e2

Removes the MAC address mac

Packit 5756e2
 from the blacklist.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

mac

Packit 5756e2

the MAC address string (hex-digits-and-colons notation) to remove from

Packit 5756e2
the blacklist

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

TRUE if the MAC address was found and removed; FALSE if it was not.

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_clear_mac_blacklist_items ()

Packit 5756e2
void
Packit 5756e2
nm_setting_wired_clear_mac_blacklist_items
Packit 5756e2
                               (NMSettingWired *setting);
Packit 5756e2

Removes all blacklisted MAC addresses.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_mtu ()

Packit 5756e2
guint32
Packit 5756e2
nm_setting_wired_get_mtu (NMSettingWired *setting);
Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the “mtu” property of the setting

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_s390_subchannels ()

Packit Service a1bd4f
const char *const *
Packit 5756e2
nm_setting_wired_get_s390_subchannels (NMSettingWired *setting);
Packit 5756e2

Return the list of s390 subchannels that identify the device that this

Packit 5756e2
connection is applicable to.  The connection should only be used in
Packit 5756e2
conjunction with that device.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

array of strings, each specifying

Packit 5756e2
one subchannel the s390 device uses to communicate to the host. 

Packit Service dff8e4

[transfer none][element-type utf8]

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_s390_nettype ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_s390_nettype (NMSettingWired *setting);
Packit 5756e2

Returns the s390 device type this connection should apply to. Will be one

Packit 5756e2
of 'qeth', 'lcs', or 'ctc'.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the s390 device type

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_num_s390_options ()

Packit 5756e2
guint32
Packit 5756e2
nm_setting_wired_get_num_s390_options (NMSettingWired *setting);
Packit 5756e2

Returns the number of s390-specific options that should be set for this

Packit 5756e2
device when it is activated.  This can be used to retrieve each s390
Packit 5756e2
option individually using nm_setting_wired_get_s390_option().

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the number of s390-specific device options

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_s390_option ()

Packit 5756e2
gboolean
Packit 5756e2
nm_setting_wired_get_s390_option (NMSettingWired *setting,
Packit 5756e2
                                  guint32 idx,
Packit 5756e2
                                  const char **out_key,
Packit 5756e2
                                  const char **out_value);
Packit 5756e2

Given an index, return the value of the s390 option at that index. indexes

Packit 5756e2
are *not* guaranteed to be static across modifications to options done by
Packit 5756e2
nm_setting_wired_add_s390_option() and nm_setting_wired_remove_s390_option(),
Packit 5756e2
and should not be used to refer to options except for short periods of time
Packit 5756e2
such as during option iteration.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

idx

Packit 5756e2

index of the desired option, from 0 to

Packit 5756e2
nm_setting_wired_get_num_s390_options() - 1

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

out_key

Packit 5756e2

on return, the key name of the s390 specific

Packit 5756e2
option; this value is owned by the setting and should not be modified. 

Packit Service dff8e4
[allow-none][out][transfer none]
Packit 5756e2
Packit 5756e2
Packit 5756e2

out_value

Packit 5756e2

on return, the value of the key of the

Packit 5756e2
s390 specific option; this value is owned by the setting and should not be
Packit 5756e2
modified. 

Packit Service dff8e4
[allow-none][out][transfer none]
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

TRUE on success if the index was valid and an option was found,

Packit 5756e2
FALSE if the index was invalid (ie, greater than the number of options
Packit 5756e2
currently held by the setting)

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_s390_option_by_key ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_s390_option_by_key
Packit 5756e2
                               (NMSettingWired *setting,
Packit 5756e2
                                const char *key);
Packit 5756e2

Returns the value associated with the s390-specific option specified by

Packit 5756e2
key
Packit 5756e2
, if it exists.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

key

Packit 5756e2

the key for which to retrieve the value

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the value, or NULL if the key/value pair was never added to the

Packit 5756e2
setting; the value is owned by the setting and must not be modified

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_add_s390_option ()

Packit 5756e2
gboolean
Packit 5756e2
nm_setting_wired_add_s390_option (NMSettingWired *setting,
Packit 5756e2
                                  const char *key,
Packit 5756e2
                                  const char *value);
Packit Service dff8e4

Add an option to the table. If the key already exists, the value gets

Packit Service dff8e4
replaced.

Packit Service dff8e4

Before 1.32, the function would assert that the key is valid. Since then,

Packit Service dff8e4
an invalid key gets silently added but renders the profile as invalid.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

key

Packit 5756e2

key name for the option

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

value

Packit 5756e2

value for the option

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit Service dff8e4

since 1.32 this always returns TRUE.

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_remove_s390_option ()

Packit 5756e2
gboolean
Packit 5756e2
nm_setting_wired_remove_s390_option (NMSettingWired *setting,
Packit 5756e2
                                     const char *key);
Packit 5756e2

Remove the s390-specific option referenced by key

Packit 5756e2
 from the internal option
Packit 5756e2
list.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

key

Packit 5756e2

key name for the option to remove

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

TRUE if the option was found and removed from the internal option

Packit 5756e2
list, FALSE if it was not.

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_valid_s390_options ()

Packit 5756e2
const char **
Packit 5756e2
nm_setting_wired_get_valid_s390_options
Packit 5756e2
                               (NMSettingWired *setting);
Packit 5756e2

Returns a list of valid s390 options.

Packit 5756e2

The setting

Packit 5756e2
 argument is unused and NULL may be passed instead.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired. This argument is unused

Packit 5756e2
and you may pass NULL. 

Packit 5756e2
[allow-none]
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

a NULL-terminated array of strings of valid s390 options.

Packit Service dff8e4

[transfer none]

Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_wake_on_lan ()

Packit 5756e2
NMSettingWiredWakeOnLan
Packit 5756e2
nm_setting_wired_get_wake_on_lan (NMSettingWired *setting);
Packit 5756e2

Returns the Wake-on-LAN options enabled for the connection

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the Wake-on-LAN options

Packit 5756e2
Packit 5756e2

Since: 1.2

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

nm_setting_wired_get_wake_on_lan_password ()

Packit 5756e2
const char *
Packit 5756e2
nm_setting_wired_get_wake_on_lan_password
Packit 5756e2
                               (NMSettingWired *setting);
Packit 5756e2

Returns the Wake-on-LAN password. This only applies to

Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN_MAGIC.

Packit 5756e2
Packit 5756e2

Parameters

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

setting

Packit 5756e2

the NMSettingWired

Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Returns

Packit 5756e2

the Wake-on-LAN setting password, or NULL if there is no password.

Packit 5756e2
Packit 5756e2

Since: 1.2

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Types and Values

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_SETTING_NAME

Packit 5756e2
#define NM_SETTING_WIRED_SETTING_NAME "802-3-ethernet"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

enum NMSettingWiredWakeOnLan

Packit 5756e2

Options for “wake-on-lan”. Note that not all options

Packit 5756e2
are supported by all devices.

Packit 5756e2
Packit 5756e2

Members

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_NONE

Packit 5756e2
Packit 5756e2

Wake-on-LAN disabled

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_PHY

Packit 5756e2
Packit 5756e2

Wake on PHY activity

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_UNICAST

Packit 5756e2
Packit 5756e2

Wake on unicast messages

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_MULTICAST

Packit 5756e2
Packit 5756e2

Wake on multicast messages

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_BROADCAST

Packit 5756e2
Packit 5756e2

Wake on broadcast messages

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_ARP

Packit 5756e2
Packit 5756e2

Wake on ARP

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_MAGIC

Packit 5756e2
Packit 5756e2

Wake on magic packet

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_ALL

Packit 5756e2
Packit 5756e2

Wake on all events. This does not

Packit 5756e2
include the exclusive flags NM_SETTING_WIRED_WAKE_ON_LAN_DEFAULT
Packit 5756e2
 or
Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN_IGNORE
Packit 5756e2
.

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_DEFAULT

Packit 5756e2
Packit 5756e2

Use the default value

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_IGNORE

Packit 5756e2
Packit 5756e2

Don't change configured settings

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_EXCLUSIVE_FLAGS

Packit 5756e2
Packit 5756e2

Mask of flags that are

Packit 5756e2
incompatible with other flags

Packit 5756e2
Packit 5756e2
 
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Since: 1.2

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_PORT

Packit Service a1bd4f
#define NM_SETTING_WIRED_PORT                      "port"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_SPEED

Packit Service a1bd4f
#define NM_SETTING_WIRED_SPEED                     "speed"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_DUPLEX

Packit Service a1bd4f
#define NM_SETTING_WIRED_DUPLEX                    "duplex"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_AUTO_NEGOTIATE

Packit Service a1bd4f
#define NM_SETTING_WIRED_AUTO_NEGOTIATE            "auto-negotiate"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_MAC_ADDRESS

Packit Service a1bd4f
#define NM_SETTING_WIRED_MAC_ADDRESS               "mac-address"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_CLONED_MAC_ADDRESS

Packit Service a1bd4f
#define NM_SETTING_WIRED_CLONED_MAC_ADDRESS        "cloned-mac-address"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_GENERATE_MAC_ADDRESS_MASK

Packit 5756e2
#define NM_SETTING_WIRED_GENERATE_MAC_ADDRESS_MASK "generate-mac-address-mask"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_MAC_ADDRESS_BLACKLIST

Packit Service a1bd4f
#define NM_SETTING_WIRED_MAC_ADDRESS_BLACKLIST     "mac-address-blacklist"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_MTU

Packit Service a1bd4f
#define NM_SETTING_WIRED_MTU                       "mtu"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_S390_SUBCHANNELS

Packit Service a1bd4f
#define NM_SETTING_WIRED_S390_SUBCHANNELS          "s390-subchannels"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_S390_NETTYPE

Packit Service a1bd4f
#define NM_SETTING_WIRED_S390_NETTYPE              "s390-nettype"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_S390_OPTIONS

Packit Service a1bd4f
#define NM_SETTING_WIRED_S390_OPTIONS              "s390-options"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN

Packit Service a1bd4f
#define NM_SETTING_WIRED_WAKE_ON_LAN               "wake-on-lan"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NM_SETTING_WIRED_WAKE_ON_LAN_PASSWORD

Packit Service a1bd4f
#define NM_SETTING_WIRED_WAKE_ON_LAN_PASSWORD      "wake-on-lan-password"
Packit 5756e2
Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

NMSettingWired

Packit 5756e2
typedef struct _NMSettingWired NMSettingWired;
Packit 5756e2

Wired Ethernet Settings

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2

Property Details

Packit 5756e2
Packit 5756e2

The “auto-negotiate” property

Packit 5756e2
  “auto-negotiate”           gboolean
Packit 5756e2

When TRUE, enforce auto-negotiation of speed and duplex mode.

Packit 5756e2
If "speed" and "duplex" properties are both specified, only that
Packit 5756e2
single mode will be advertised and accepted during the link
Packit 5756e2
auto-negotiation process: this works only for BASE-T 802.3 specifications
Packit 5756e2
and is useful for enforcing gigabits modes, as in these cases link
Packit 5756e2
negotiation is mandatory.
Packit 5756e2
When FALSE, "speed" and "duplex" properties should be both set or
Packit 5756e2
link configuration will be skipped.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: FALSE

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “cloned-mac-address” property

Packit Service a1bd4f
  “cloned-mac-address”       char *
Packit 5756e2

If specified, request that the device use this MAC address instead.

Packit 5756e2
This is known as MAC cloning or spoofing.

Packit 5756e2

Beside explicitly specifying a MAC address, the special values "preserve", "permanent",

Packit 5756e2
"random" and "stable" are supported.
Packit 5756e2
"preserve" means not to touch the MAC address on activation.
Packit 5756e2
"permanent" means to use the permanent hardware address if the device
Packit 5756e2
has one (otherwise this is treated as "preserve").
Packit 5756e2
"random" creates a random MAC address on each connect.
Packit 5756e2
"stable" creates a hashed MAC address based on connection.stable-id and a
Packit 5756e2
machine dependent key.

Packit 5756e2

If unspecified, the value can be overwritten via global defaults, see manual

Packit 5756e2
of NetworkManager.conf. If still unspecified, it defaults to "preserve"
Packit 5756e2
(older versions of NetworkManager may use a different default value).

Packit 5756e2

On D-Bus, this field is expressed as "assigned-mac-address" or the deprecated

Packit 5756e2
"cloned-mac-address".

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: NULL

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “duplex” property

Packit Service a1bd4f
  “duplex”                   char *
Packit 5756e2

When a value is set, either "half" or "full", configures the device

Packit 5756e2
to use the specified duplex mode. If "auto-negotiate" is "yes" the
Packit 5756e2
specified duplex mode will be the only one advertised during link
Packit 5756e2
negotiation: this works only for BASE-T 802.3 specifications and is
Packit 5756e2
useful for enforcing gigabits modes, as in these cases link negotiation
Packit 5756e2
is mandatory.
Packit 5756e2
If the value is unset (the default), the link configuration will be
Packit 5756e2
either skipped (if "auto-negotiate" is "no", the default) or will
Packit 5756e2
be auto-negotiated (if "auto-negotiate" is "yes") and the local device
Packit 5756e2
will advertise all the supported duplex modes.
Packit 5756e2
Must be set together with the "speed" property if specified.
Packit 5756e2
Before specifying a duplex mode be sure your device supports it.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: NULL

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “generate-mac-address-mask” property

Packit Service a1bd4f
  “generate-mac-address-mask” char *
Packit 5756e2

With “cloned-mac-address” setting "random" or "stable",

Packit 5756e2
by default all bits of the MAC address are scrambled and a locally-administered,
Packit 5756e2
unicast MAC address is created. This property allows to specify that certain bits
Packit 5756e2
are fixed. Note that the least significant bit of the first MAC address will
Packit 5756e2
always be unset to create a unicast MAC address.

Packit 5756e2

If the property is NULL, it is eligible to be overwritten by a default

Packit 5756e2
connection setting. If the value is still NULL or an empty string, the
Packit 5756e2
default is to create a locally-administered, unicast MAC address.

Packit 5756e2

If the value contains one MAC address, this address is used as mask. The set

Packit 5756e2
bits of the mask are to be filled with the current MAC address of the device,
Packit 5756e2
while the unset bits are subject to randomization.
Packit 5756e2
Setting "FE:FF:FF:00:00:00" means to preserve the OUI of the current MAC address
Packit 5756e2
and only randomize the lower 3 bytes using the "random" or "stable" algorithm.

Packit 5756e2

If the value contains one additional MAC address after the mask,

Packit 5756e2
this address is used instead of the current MAC address to fill the bits
Packit 5756e2
that shall not be randomized. For example, a value of
Packit 5756e2
"FE:FF:FF:00:00:00 68:F7:28:00:00:00" will set the OUI of the MAC address
Packit 5756e2
to 68:F7:28, while the lower bits are randomized. A value of
Packit 5756e2
"02:00:00:00:00:00 00:00:00:00:00:00" will create a fully scrambled
Packit 5756e2
globally-administered, burned-in MAC address.

Packit 5756e2

If the value contains more than one additional MAC addresses, one of

Packit 5756e2
them is chosen randomly. For example, "02:00:00:00:00:00 00:00:00:00:00:00 02:00:00:00:00:00"
Packit 5756e2
will create a fully scrambled MAC address, randomly locally or globally
Packit 5756e2
administered.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: NULL

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “mac-address” property

Packit Service a1bd4f
  “mac-address”              char *
Packit 5756e2

If specified, this connection will only apply to the Ethernet device

Packit 5756e2
whose permanent MAC address matches. This property does not change the
Packit 5756e2
MAC address of the device (i.e. MAC spoofing).

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: NULL

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “mac-address-blacklist” property

Packit 5756e2
  “mac-address-blacklist”    GStrv
Packit 5756e2

If specified, this connection will never apply to the Ethernet device

Packit 5756e2
whose permanent MAC address matches an address in the list.  Each MAC
Packit 5756e2
address is in the standard hex-digits-and-colons notation
Packit 5756e2
(00:11:22:33:44:55).

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “mtu” property

Packit 5756e2
  “mtu”                      guint
Packit 5756e2

If non-zero, only transmit packets of the specified size or smaller,

Packit 5756e2
breaking larger packets up into multiple Ethernet frames.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: 0

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “port” property

Packit Service a1bd4f
  “port”                     char *
Packit 5756e2

Specific port type to use if the device supports multiple

Packit 5756e2
attachment methods.  One of "tp" (Twisted Pair), "aui" (Attachment Unit
Packit 5756e2
Interface), "bnc" (Thin Ethernet) or "mii" (Media Independent Interface).
Packit 5756e2
If the device supports only one port type, this setting is ignored.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: NULL

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “s390-nettype” property

Packit Service a1bd4f
  “s390-nettype”             char *
Packit 5756e2

s390 network device type; one of "qeth", "lcs", or "ctc", representing

Packit 5756e2
the different types of virtual network devices available on s390 systems.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: NULL

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “s390-options” property

Packit 5756e2
  “s390-options”             GHashTable *
Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “s390-subchannels” property

Packit 5756e2
  “s390-subchannels”         GStrv
Packit 5756e2

Identifies specific subchannels that this network device uses for

Packit 5756e2
communication with z/VM or s390 host.  Like the
Packit 5756e2
“mac-address” property for non-z/VM devices, this property
Packit 5756e2
can be used to ensure this connection only applies to the network device
Packit 5756e2
that uses these subchannels.  The list should contain exactly 3 strings,
Packit 5756e2
and each string may only be composed of hexadecimal characters and the
Packit 5756e2
period (.) character.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “speed” property

Packit 5756e2
  “speed”                    guint
Packit 5756e2

When a value greater than 0 is set, configures the device to use

Packit 5756e2
the specified speed. If "auto-negotiate" is "yes" the specified
Packit 5756e2
speed will be the only one advertised during link negotiation:
Packit 5756e2
this works only for BASE-T 802.3 specifications and is useful for
Packit 5756e2
enforcing gigabit speeds, as in this case link negotiation is
Packit 5756e2
mandatory.
Packit 5756e2
If the value is unset (0, the default), the link configuration will be
Packit 5756e2
either skipped (if "auto-negotiate" is "no", the default) or will
Packit 5756e2
be auto-negotiated (if "auto-negotiate" is "yes") and the local device
Packit 5756e2
will advertise all the supported speeds.
Packit 5756e2
In Mbit/s, ie 100 == 100Mbit/s.
Packit 5756e2
Must be set together with the "duplex" property when non-zero.
Packit 5756e2
Before specifying a speed value be sure your device supports it.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: 0

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “wake-on-lan” property

Packit 5756e2
  “wake-on-lan”              guint
Packit 5756e2

The NMSettingWiredWakeOnLan options to enable. Not all devices support all options.

Packit 5756e2
May be any combination of NM_SETTING_WIRED_WAKE_ON_LAN_PHY,
Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN_UNICAST, NM_SETTING_WIRED_WAKE_ON_LAN_MULTICAST,
Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN_BROADCAST, NM_SETTING_WIRED_WAKE_ON_LAN_ARP,
Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN_MAGIC or the special values
Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN_DEFAULT (to use global settings) and
Packit 5756e2
NM_SETTING_WIRED_WAKE_ON_LAN_IGNORE (to disable management of Wake-on-LAN in
Packit 5756e2
NetworkManager).

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: 1

Packit 5756e2

Since: 1.2

Packit 5756e2
Packit 5756e2

Packit 5756e2
Packit 5756e2

The “wake-on-lan-password” property

Packit Service a1bd4f
  “wake-on-lan-password”     char *
Packit 5756e2

If specified, the password used with magic-packet-based

Packit 5756e2
Wake-on-LAN, represented as an Ethernet MAC address.  If NULL,
Packit 5756e2
no password will be required.

Packit 5756e2

Owner: NMSettingWired

Packit 5756e2

Flags: Read / Write

Packit 5756e2

Default value: NULL

Packit 5756e2

Since: 1.2

Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit 5756e2
Packit Service dff8e4

Generated by GTK-Doc V1.33.0
Packit 5756e2
</body>
Packit 5756e2
</html>