diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2020-04-18 00:17:25 +0200 |
---|---|---|
committer | Eugene Syromyatnikov <evgsyr@gmail.com> | 2020-04-19 12:19:54 +0200 |
commit | a38d7786ecc0e73138fcce19b210b20c4cd20d5a (patch) | |
tree | a1a5309eefcd9d87b1c1b005cd8d8791246d61db | |
parent | 522498bf96b18a405be9b3133452413275867a98 (diff) | |
download | strace-a38d7786ecc0e73138fcce19b210b20c4cd20d5a.tar.gz |
xlat: annotate rtnl_tc_action_attrs with #enum
* xlat/rtnl_tc_action_attrs.in: Add #enum, #include <linux/pkt_cls.h>
* configure.ac (AC_CHECK_DECL(TCA_ACT_*)): Remove.
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | xlat/rtnl_tc_action_attrs.in | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 24ce20d7b..f36c9f488 100644 --- a/configure.ac +++ b/configure.ac @@ -506,12 +506,6 @@ AC_CHECK_TYPES(m4_normalize([ #include <linux/rtnetlink.h>]) AC_CHECK_DECLS(m4_normalize([ - TCA_ACT_PAD, - TCA_ACT_COOKIE, - TCA_ACT_FLAGS -]),,, [#include <sys/socket.h> -#include <linux/pkt_cls.h>]) -AC_CHECK_DECLS(m4_normalize([ IFLA_PORT_SELF, IFLA_PROTINFO, IFLA_AF_SPEC, diff --git a/xlat/rtnl_tc_action_attrs.in b/xlat/rtnl_tc_action_attrs.in index 9495df8ca..2fb138147 100644 --- a/xlat/rtnl_tc_action_attrs.in +++ b/xlat/rtnl_tc_action_attrs.in @@ -1,4 +1,6 @@ #value_indexed +#enum +#include <linux/pkt_cls.h> TCA_ACT_UNSPEC 0 TCA_ACT_KIND 1 TCA_ACT_OPTIONS 2 |