linux-user: introduce QEMU_RTA_* to use with rtattr_type_t
authorLaurent Vivier <laurent@vivier.eu>
Mon, 20 Aug 2018 17:15:55 +0000 (19:15 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 20 Aug 2018 20:05:42 +0000 (22:05 +0200)
commit3c3ab559c137af711e857e0ccfc2d44b5a13d993
tree94baebbb6170ef2dc552b26d8906e24cae085e52
parent2a03d3e6ae1b1ca86199a0c36a35e8ac847905f6
linux-user: introduce QEMU_RTA_* to use with rtattr_type_t

Following commit will introduce RTA_PREF that appears only with
kernel v4.1. To avoid to manage a specific case for it, this patch
introduces the full list of rtattr_type_t prefixed with QEMU_ (as we
did for IFLA values)

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20180820171557.7734-3-laurent@vivier.eu>
[lv: added more RTA_* from linux v4.18]
linux-user/syscall.c