NetworkManager/src/libnm-platform
Fernando Fernandez Mancera f900f7bc2c platform: add netlink support for bond link
sysfs is deprecated and kernel people will not add new bond options to
sysfs. Netlink is a stable API and therefore is the right method to
communicate with kernel in order to set the link options.
2022-08-04 11:18:36 +02:00
..
tests platform/netlink: drop nl_socket_set_ext_ack() API 2022-06-24 11:03:39 +02:00
wifi platform: fix build with musl libc 2022-07-27 18:46:01 +02:00
wpan platform: fix build with musl libc 2022-07-27 18:46:01 +02:00
meson.build platform: rename file "nmp-route-manager.[hc]" to "nmp-global-tracker.[hc]" 2022-07-26 12:45:55 +02:00
nm-linux-platform.c platform: add netlink support for bond link 2022-08-04 11:18:36 +02:00
nm-linux-platform.h platform: allow disabling caching of tc objects 2021-09-20 13:27:16 +02:00
nm-netlink.c platform/netlink: add NLA_S32 enum value for attribute type 2022-07-20 10:23:05 +02:00
nm-netlink.h platform/netlink: cleanup NLA_PUT() macro 2022-08-04 10:39:25 +02:00
nm-platform-private.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-platform-utils.c platform: make "now" timestamp an in/out parameter to nmp_utils_lifetime_get() 2022-04-08 15:59:48 +02:00
nm-platform-utils.h platform: make "now" timestamp an in/out parameter to nmp_utils_lifetime_get() 2022-04-08 15:59:48 +02:00
nm-platform.c platform: add netlink support for bond link 2022-08-04 11:18:36 +02:00
nm-platform.h platform: add netlink support for bond link 2022-08-04 11:18:36 +02:00
nmp-base.h platform: add netlink support for bond link 2022-08-04 11:18:36 +02:00
nmp-global-tracker.c platform/trivial: add code comments for NMPGlobalTracker 2022-07-26 13:09:19 +02:00
nmp-global-tracker.h platform: rename file "nmp-route-manager.[hc]" to "nmp-global-tracker.[hc]" 2022-07-26 12:45:55 +02:00
nmp-netns.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmp-netns.h build: move "shared/nm-platform" to "src/libnm-platform" 2021-02-24 12:48:17 +01:00
nmp-object.c platform: add netlink support for bond link 2022-08-04 11:18:36 +02:00
nmp-object.h platform: add netlink support for bond link 2022-08-04 11:18:36 +02:00
README.md platform: support IPv6 mulitpath routes and fix cache inconsistency 2022-02-16 09:59:49 +01:00

libnm-platform

A static helper library that provides NMPlatform and other utils. This is NetworkManager's internal netlink library, but also contains helpers for sysfs, ethtool and other kernel APIs.

NMPlaform is also a cache of objects of the netlink API: NMPCache and NMPObject. These objects are used throughout NetworkManager also for generally tracking information about these types. For example, NMPlatformIP4Address (the public part of a certain type of NMPObject) is not only used to track platform addresses from netlink in the cache, but to track information about IPv4 addresses in general.

This depends on the following helper libraries