summaryrefslogtreecommitdiff
path: root/src/platform/nm-platform-utils.c
Commit message (Expand)AuthorAgeFilesLines
* ethtool: add and use _NM_ETHTOOL_ID_FEATURE_AS_IDX() macroThomas Haller2020-05-221-5/+5
* platform: make states of NMEthtoolCoalesceState indexed by ethtool_idThomas Haller2020-05-221-48/+52
* platform/trivial: rename NMEthtoolCoalesceState variables to "coalesce"Thomas Haller2020-05-221-47/+47
* platform: add support for ring settings using ioctl()Antonio Cardace2020-05-201-0/+91
* platform: simplify NMEthtoolCoalesceState to only track one stateThomas Haller2020-05-201-28/+14
* platform: add support for coalesce settings using ioctl()Antonio Cardace2020-05-131-0/+141
* all: use nm_utils_ifname_valid_kernel() instead of nm_utils_is_valid_iface_na...Antonio Cardace2020-02-171-2/+2
* shared: drop _STATIC variant of macros that define functionsThomas Haller2020-02-131-1/+2
* platform: fix GCC warning about zero-length array in nmp_utils_ethtool_get_pe...Thomas Haller2020-02-101-3/+6
* platform: fix GCC warning about zero-length array in ethtool_get_stringset()Thomas Haller2020-02-101-1/+4
* Revert "platform: fix GCC warning about zero-lenght array (2)"Thomas Haller2020-02-101-16/+15
* Revert "platform: fix GCC warning about zero-lenght array (1)"Thomas Haller2020-02-101-12/+11
* platform: fix GCC warning about zero-lenght array (2)Beniamino Galvani2020-02-031-15/+16
* platform: fix GCC warning about zero-lenght array (1)Beniamino Galvani2020-02-031-11/+12
* all: manually drop code comments with file descriptionThomas Haller2019-10-011-2/+1
* all: SPDX header conversionLubomir Rintel2019-09-101-14/+1
* all: drop emacs file variables from source filesThomas Haller2019-06-111-1/+0
* platform: avoid valgrind warning about uninitialised memory in _ioctl_call()Thomas Haller2019-05-161-1/+1
* platform: use memset() to initialize ifr struct in _ioctl_call()Thomas Haller2019-05-161-3/+1
* platform/ethtool,mii: retry ioctl when interface name was renamed for ehttool...Thomas Haller2019-05-071-170/+312
* shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-coreThomas Haller2019-04-181-1/+1
* all: replace strerror() calls with nm_strerror_native()Thomas Haller2019-02-121-3/+3
* all: replace g_strerror() calls with nm_strerror_native()Thomas Haller2019-02-121-7/+7
* all: assert that native errno numbers are positiveThomas Haller2019-02-121-2/+2
* all: cache errno in local variable before using itThomas Haller2019-02-121-2/+5
* all: drop unnecessary includes of <errno.h> and <string.h>Thomas Haller2019-02-121-2/+0
* all: don't use "static inline" in source filesThomas Haller2019-02-061-1/+1
* platform: use nm_steal_fd() in nmp_utils_sysctl_open_netdir()Thomas Haller2018-12-271-5/+2
* build: avoid header conflict for <linux/if.h> and <net/if.h> with "nm-platfor...Thomas Haller2018-11-121-0/+1
* docs: misc. typosluz.paz2018-09-151-2/+2
* platform/trivial: add FIXME comment to use new ethtool API to set link settingsThomas Haller2018-09-061-0/+4
* all/ethtool: add support for all currently supported kernel featuresThomas Haller2018-08-101-21/+60
* platform/ethtool: add code to get/set offload features via ethtoolThomas Haller2018-08-101-0/+376
* platform/mii: use SocketHandle also for nmp_utils_mii_supports_carrier_detect()Thomas Haller2018-08-101-16/+12
* platform/ethtool: add SocketHandle to reuse socket for ethtool requestsThomas Haller2018-08-101-83/+131
* platform/ethtool: split functions for ETHTOOL_GSTRINGSThomas Haller2018-08-101-33/+69
* platform: allow to force the advertised auto-negotiation link valueFrancesco Giudici2018-06-151-1/+61
* platform: add NM_IP_CONFIG_SOURCE_IP6LL source typeThomas Haller2018-04-041-0/+3
* udev: drop libgudev in favor of libudevThomas Haller2017-03-221-10/+9
* all: use "unsigned" instead of "unsigned int"Thomas Haller2017-03-141-3/+3
* all: use nm_utils_is_valid_iface_name()Lubomir Rintel2017-01-061-1/+1
* platform: use wrappers for if_nametoindex() and if_indextoname()Thomas Haller2017-01-041-3/+3
* platform: add wrappers for if_nametoindex() and if_indextoname()Thomas Haller2017-01-041-0/+22
* platform: avoid copying arguments for nmp_utils_ethtool_get_driver_info()Thomas Haller2016-12-131-15/+14
* platform: remove unused nmp_utils_device_exists() utilThomas Haller2016-12-131-16/+0
* platform: lookup ifname for ethtool/mii ioctl immediately before useThomas Haller2016-12-131-82/+132
* all: use O_CLOEXEC for file descriptorsThomas Haller2016-12-131-2/+2
* platform: refactor nmp_utils_sysctl_open_netdir()Thomas Haller2016-12-131-31/+64
* platform: add a new function nmp_utils_open_sysctl()Kai-Heng Feng2016-12-131-0/+50
* core: merge NM_PLATFORM_LINK_DUPLEX_UNSET and UNKNOWNfg/802-3-prop_rh1353612_IIThomas Haller2016-11-221-1/+3