chiark / gitweb /
sd-netlink: rename NLA_ to NETLINK_TYPE_
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Jun 2015 07:56:59 +0000 (09:56 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:04:18 +0000 (10:04 +0100)
commita2db88febce62dac4846d17e903c0046b4749caf
treefbd475ed02a19aec02473d89ab1156b133d48210
parentb5576b4770b6f8cf082dd9969c6793a89863557a
sd-netlink: rename NLA_ to NETLINK_TYPE_

The NLA_ names are used to name real datatypes we extract out of netlink
messages. The kernel has an internal enum with the same names
(NLA_foobar), which is *NOT* binary compatible to our types. Furthermore,
we support a different set of types than the kernel (as we try to treat
some kernel peculiarities as our own types to simplify the API).

Rename NLA_ to NETLINK_TYPE_ to make clear that this is our own set of
types.
src/libsystemd/sd-netlink/netlink-message.c
src/libsystemd/sd-netlink/netlink-types.c
src/libsystemd/sd-netlink/netlink-types.h