NM.Utils
Description:
Content:
Enums:
Constants:
Functions:
- public bool ap_mode_security_valid (SecurityType type, DeviceWifiCapabilities wifi_caps)
- public string bin2hexstr (string bytes, int len, int final_len)
- public bool check_virtual_device_compatibility (Type virtual_type, Type other_type)
- public void deinit ()
- public unowned string escape_ssid (uint8 ssid, uint32 len)
- public bool file_is_pkcs12 (string filename)
- public unowned string file_search_in_paths (string progname, string? try_first, string? paths, FileTest file_test_flags, UtilsFileSearchInPathsPredicate predicate) throws Error
- public HashTable<unowned string,unowned Value?> gvalue_hash_dup (HashTable<void*,void*> hash)
- public int hex2byte (string hex)
- public string hexstr2bin (string hex, size_t len)
- public ByteArray hwaddr_atoba (string asc, int type)
- public uint8 hwaddr_aton (string asc, int type, void* buffer)
- public uint8 hwaddr_aton_len (string asc, void* buffer, size_t length)
- public int hwaddr_len (int type)
- public string hwaddr_ntoa (void* addr, int type)
- public string hwaddr_ntoa_len (void* addr, size_t length)
- public int hwaddr_type (int len)
- public bool hwaddr_valid (string asc)
- public bool iface_valid_name (string name)
- public bool init () throws Error
- public SList<IP4Address> ip4_addresses_from_gvalue (Value value)
- public void ip4_addresses_to_gvalue (SList<IP4Address> list, Value value)
- public uint32 ip4_get_default_prefix (uint32 ip)
- public uint32 ip4_netmask_to_prefix (uint32 netmask)
- public uint32 ip4_prefix_to_netmask (uint32 prefix)
- public SList<IP4Route> ip4_routes_from_gvalue (Value value)
- public void ip4_routes_to_gvalue (SList<IP4Route> list, Value value)
- public SList<IP6Address> ip6_addresses_from_gvalue (Value value)
- public void ip6_addresses_to_gvalue (SList<IP6Address> list, Value value)
- public SList<IP6Route> ip6_routes_from_gvalue (Value value)
- public void ip6_routes_to_gvalue (SList<IP6Route> list, Value value)
- public bool is_empty_ssid (uint8 ssid, int len)
- public bool is_uuid (string str)
- public ByteArray rsa_key_encrypt (ByteArray data, string? in_password, out string out_password) throws Error
- public ByteArray rsa_key_encrypt_aes (ByteArray data, string? in_password, out string out_password) throws Error
- public bool same_ssid (ByteArray ssid1, ByteArray ssid2, bool ignore_trailing_null)
- public bool security_valid (SecurityType type, DeviceWifiCapabilities wifi_caps, bool have_ap, bool adhoc, @80211ApFlags ap_flags, @80211ApSecurityFlags ap_wpa, @80211ApSecurityFlags ap_rsn)
- public string ssid_to_utf8 (ByteArray ssid)
- public string uuid_generate ()
- public string uuid_generate_from_string (string s)
- public bool wep_key_valid (string key, WepKeyType wep_type)
- public uint32 wifi_channel_to_freq (uint32 channel, string band)
- public uint32 wifi_find_next_channel (uint32 channel, int direction, string band)
- public uint32 wifi_freq_to_channel (uint32 freq)
- public bool wifi_is_channel_valid (uint32 channel, string band)
- public bool wpa_psk_valid (string psk)