]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-netlink/netlink-types.c
sd-netlink: rename NLA_ to NETLINK_TYPE_
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Jun 2015 07:56:59 +0000 (09:56 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 24 Jun 2015 11:45:47 +0000 (13:45 +0200)
commitcafbc790d1affec2c9524c5ee1915485a1ac6879
tree8f45c2570ed2ac58a66feb14ee887fd255c87e13
parent54af0c65f741d7686f80f5c8827ea02aa3d4db47
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