| Top |
| enum | NMUtilsSecurityType |
| #define | NM_UTILS_HWADDR_LEN_MAX |
| #define | NM_UTILS_INET_ADDRSTRLEN |
| NMVariantAttributeSpec | |
| struct | in6_addr |
| struct | stat |
gboolean nm_utils_same_ssid (const guint8 *ssid1,gsize len1,const guint8 *ssid2,gsize len2,gboolean ignore_trailing_null);
gboolean nm_utils_security_valid (NMUtilsSecurityType type,NMDeviceWifiCapabilities wifi_caps,gboolean have_ap,gboolean adhoc,NM80211ApFlags ap_flags,NM80211ApSecurityFlags ap_wpa,NM80211ApSecurityFlags ap_rsn);
gboolean nm_utils_ap_mode_security_valid (NMUtilsSecurityType type,NMDeviceWifiCapabilities wifi_caps);
GVariant * nm_utils_ip4_addresses_to_variant (GPtrArray *addresses,const char *gateway);
GPtrArray * nm_utils_ip4_addresses_from_variant (GVariant *value,char **out_gateway);
GVariant * nm_utils_ip6_addresses_to_variant (GPtrArray *addresses,const char *gateway);
GPtrArray * nm_utils_ip6_addresses_from_variant (GVariant *value,char **out_gateway);
GVariant *
nm_utils_ip_addresses_to_variant (GPtrArray *addresses);
GPtrArray * nm_utils_ip_addresses_from_variant (GVariant *value,int family);
GPtrArray * nm_utils_ip_routes_from_variant (GVariant *value,int family);
gboolean (*NMUtilsFileSearchInPathsPredicate) (const char *filename,gpointer user_data);
gboolean (*NMUtilsCheckFilePredicate) (const char *filename,const struct stat *stat,gpointer user_data,GError **error);
const char * nm_utils_file_search_in_paths (const char *progname,const char *try_first,const char *const *paths,GFileTest file_test_flags,NMUtilsFileSearchInPathsPredicate predicate,gpointer user_data,GError **error);
guint32 nm_utils_wifi_channel_to_freq (guint32 channel,const char *band);
guint32 nm_utils_wifi_find_next_channel (guint32 channel,int direction,char *band);
gboolean nm_utils_wifi_is_channel_valid (guint32 channel,const char *band);
guint8 * nm_utils_hwaddr_aton (const char *asc,gpointer buffer,gsize length);
gboolean nm_utils_hwaddr_matches (gconstpointer hwaddr1,gssize hwaddr1_len,gconstpointer hwaddr2,gssize hwaddr2_len);
gboolean
nm_utils_iface_valid_name (const char *name);
nm_utils_iface_valid_name is deprecated and should not be used in newly-written code.
gboolean nm_utils_is_valid_iface_name (const char *name,GError **error);
gboolean
nm_utils_is_uuid (const char *str);
nm_utils_is_uuid is deprecated and should not be used in newly-written code.
const char * nm_utils_inet6_ntop (const struct in6_addr *in6addr,char *dst);
gboolean nm_utils_check_virtual_device_compatibility (GType virtual_type,GType other_type);
gboolean nm_utils_enum_from_str (GType type,const char *str,int *out_value,char **err_token);
GHashTable * nm_utils_parse_variant_attributes (const char *string,char attr_separator,char key_value_separator,gboolean ignore_unknown,const NMVariantAttributeSpec *const *spec,GError **error);
char * nm_utils_format_variant_attributes (GHashTable *attributes,char attr_separator,char key_value_separator);
NMTCQdisc * nm_utils_tc_qdisc_from_str (const char *str,GError **error);
NMTCAction * nm_utils_tc_action_from_str (const char *str,GError **error);
NMTCTfilter * nm_utils_tc_tfilter_from_str (const char *str,GError **error);
char * nm_utils_tc_tfilter_to_str (NMTCTfilter *tfilter,GError **error);
char * nm_utils_sriov_vf_to_str (const NMSriovVF *vf,gboolean omit_index,GError **error);
NMSriovVF * nm_utils_sriov_vf_from_str (const char *str,GError **error);
gboolean nm_utils_base64secret_decode (const char *base64_key,gsize required_key_len,guint8 *out_key);
Describes generic security mechanisms that 802.11 access points may offer.
Used with nm_utils_security_valid() for checking whether a given access
point is compatible with a network device.
|
unknown or invalid security, placeholder and not used |
||
|
unencrypted and open |
||
|
static WEP keys are used for encryption |
||
|
Cisco LEAP is used for authentication and for generating the dynamic WEP keys automatically |
||
|
standard 802.1x is used for authentication and generating the dynamic WEP keys automatically |
||
|
WPA1 is used with Pre-Shared Keys (PSK) |
||
|
WPA1 is used with 802.1x authentication |
||
|
WPA2/RSN is used with Pre-Shared Keys (PSK) |
||
|
WPA2 is used with 802.1x authentication |
||
|
is used with WPA3 Enterprise |
||
|
is used with Enhanced Open |
||
|
is used with WPA3 Enterprise Suite-B 192 bit mode. Since: 1.30. |
#define NM_UTILS_HWADDR_LEN_MAX 20 /* INFINIBAND_ALEN */
The maximum length of hardware addresses handled by NetworkManager itself,
nm_utils_hwaddr_len(), and nm_utils_hwaddr_aton().
#define NM_UTILS_INET_ADDRSTRLEN INET6_ADDRSTRLEN
Defines the minimal length for a char buffer that is suitable as dst
argument
for both nm_utils_inet4_ntop() and nm_utils_inet6_ntop().