NetworkManager/src/platform
Thomas Haller a6456fe1f4
platform: rework nm_platform_dedup_multi_iter_next_*() and add more implementations
I want to add more such accessors, because they are the base for
the corresponding for-each macros.

Add a helper macro _nm_platform_dedup_multi_iter_next() to do that,
which should make it simpler to add these nm_platform_dedup_multi_iter_next*()
functions.

Note that previously these functions were inline functions, now they are
macros. I think there is very little difference here. Also before those
functions could be entirely inlined. By using the macro the result
doesn't really change.

One difference is that we now require an "out" pointer. Previously that
was not required, but I guess it makes little sense otherwise.
2020-11-24 08:52:58 +01:00
..
linux format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
tests bridge: set MTU at link creation time 2020-11-02 17:23:16 +01:00
wifi wifi: use NMEtherAddr struct for bssid 2020-11-19 20:17:03 +01:00
wpan all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-fake-platform.c platform: allow setting the MTU at link creation time 2020-11-02 17:23:05 +01:00
nm-fake-platform.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-linux-platform.c wifi: use NMEtherAddr struct for bssid 2020-11-19 20:17:03 +01:00
nm-linux-platform.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-netlink.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-netlink.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-platform-private.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-platform-utils.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-platform-utils.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-platform.c wifi: use NMEtherAddr struct for bssid 2020-11-19 20:17:03 +01:00
nm-platform.h wifi: use NMEtherAddr struct for bssid 2020-11-19 20:17:03 +01:00
nmp-netns.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmp-netns.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmp-object.c all: use _NM_DUMMY_STRUCT_FOR_TRAILING_SEMICOLON define for trailing semicolon 2020-10-08 17:00:22 +02:00
nmp-object.h platform: rework nm_platform_dedup_multi_iter_next_*() and add more implementations 2020-11-24 08:52:58 +01:00
nmp-rules-manager.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmp-rules-manager.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00