NetworkManager/src/libnm-platform
Thomas Haller b2b50eba1b
platform: require IFLA_INET6_ADDR_GEN_MODE support in kernel
This is supported since kernel 3.17, dated 5 October, 2014. Drop the backward
compatibility for that.

It's very hard to sensibly support a mode where we set the interface up,
but prevent kernel from enabling IPv6. We would hack around that by disabling
IPv6 altogether.

But these code paths are not tested and likely make no sense. And it's hard
to implement a sensible behavior in this case anyway.
2021-08-31 16:41:57 +02:00
..
tests build/meson: cleanup tests 2021-02-28 18:56:08 +01:00
wifi clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
wpan platform: move "platform/{wifi,wpan}/" to "src/libnm-platform/" 2021-03-05 11:27:15 +01:00
meson.build platform: move more platform code to src/libnm-platform/ 2021-03-05 11:27:16 +01:00
nm-linux-platform.c platform: require IFLA_INET6_ADDR_GEN_MODE support in kernel 2021-08-31 16:41:57 +02:00
nm-linux-platform.h platform: move more platform code to src/libnm-platform/ 2021-03-05 11:27:16 +01:00
nm-netlink.c platform/netlink: use appropriate integer types in nla_policy 2021-08-17 13:18:08 +02:00
nm-netlink.h platform/netlink: use appropriate integer types in nla_policy 2021-08-17 13:18:08 +02:00
nm-platform-private.h platform: move more platform code to src/libnm-platform/ 2021-03-05 11:27:16 +01:00
nm-platform-utils.c all: unify and rename strv helper API 2021-07-29 10:26:50 +02:00
nm-platform-utils.h ethtool: Introducing PAUSE support 2021-05-12 18:04:46 +02:00
nm-platform.c platform: require IFLA_INET6_ADDR_GEN_MODE support in kernel 2021-08-31 16:41:57 +02:00
nm-platform.h platform: require IFLA_INET6_ADDR_GEN_MODE support in kernel 2021-08-31 16:41:57 +02:00
nmp-base.h ethtool: Introducing PAUSE support 2021-05-12 18:04:46 +02:00
nmp-netns.c all: rename nm_utils_strbuf_*() API to nm_strbuf_*() 2021-08-02 09:26:42 +02: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: workaround -Wmaybe-uninitialized with LTO 2021-08-27 09:54:20 +02:00
nmp-object.h platform: add nm_clear_nmp_object_up_cast(), nmp_object_ref_set_up_cast() helpers 2021-08-31 16:34:02 +02:00
nmp-rules-manager.c platform: move more platform code to src/libnm-platform/ 2021-03-05 11:27:16 +01:00
nmp-rules-manager.h platform: move more platform code to src/libnm-platform/ 2021-03-05 11:27:16 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02: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