NetworkManager/shared
Thomas Haller f125d821be
shared: improve NM_ETHER_ADDR_INIT() helper macro
The macro should require exactly 6 parameters (for the 6 bytes
of the address). On the other hand, we also should be able to
use a macro like

  NM_ETHER_ADDR_INIT(NM_BRIDGE_GROUP_ADDRESS_DEF_BIN)

To get that work properly, we need to expand the variadic macro
once.

Also, cast the result to the struct type. With this, it can
not only be used for initialization, but also for assignment
and temporary variables.
2020-11-19 20:10:33 +01:00
..
c-list shared/c-list: reimport 2020-06-03 22:00:56 +02:00
c-rbtree shared/c-rbtree: reimport 2020-10-21 10:40:29 +02:00
c-siphash all: fix minor typos 2020-07-07 11:33:46 +02:00
c-stdaux all: fix minor typos 2020-07-07 11:33:46 +02:00
n-acd all: fix minor typos 2020-07-07 11:33:46 +02:00
n-dhcp4 n-dhcp4: add n_dhcp4_client_lease_get_server_identifier() 2020-08-26 17:08:15 +02:00
nm-glib-aux shared: improve NM_ETHER_ADDR_INIT() helper macro 2020-11-19 20:10:33 +01:00
nm-std-aux trivial: improve code commentsin "nm-std-aux/c-list-util.c" 2020-11-19 17:38:34 +01:00
nm-udev-aux license: relicense "shared/nm-udev-aux/nm-udev-utils.[hc]" under LGPL-2.1+ 2020-10-20 16:02:00 +02:00
nm-utils shared/tests: add nmtst_main_context_iterate_until_full() helper 2020-11-03 14:31:20 +01:00
systemd systemd: basic/missing_syscall: fix syscall numbers for mips* 2020-10-08 10:36:10 +02:00
meson.build shared: merge nm-glib-aux/nm-json.[hc] into nm-json-aux.[hc] 2020-07-09 11:47:06 +02:00
nm-default.h shared: don't enforce unset G_LOG_DOMAIN in "nm-default.h" 2020-11-03 15:39:01 +01:00
nm-meta-setting.c shared/libnm: move NMSettingPriority helpers to "shared/nm-meta-setting.h" 2020-11-17 22:19:22 +01:00
nm-meta-setting.h shared/libnm: move NMSettingPriority helpers to "shared/nm-meta-setting.h" 2020-11-17 22:19:22 +01:00
nm-test-libnm-utils.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-test-utils-impl.c tests: avoid race condition in nmtstc_service_cleanup() 2020-11-03 14:31:20 +01:00
nm-version-macros.h.in shared: use C comments for SPDX header in "nm-version-macros.h.in" 2020-10-20 14:56:46 +02:00