(root)/
strace-6.5/
src/
xlat/
ifstats_xstats_bridge_attrs.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_xstats_bridge_attrs.in; do not edit. */
       2  
       3  #include "gcc_compat.h"
       4  #include "static_assert.h"
       5  
       6  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
       7  static_assert((BRIDGE_XSTATS_UNSPEC) == (0), "BRIDGE_XSTATS_UNSPEC != 0");
       8  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
       9  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      10  static_assert((BRIDGE_XSTATS_VLAN) == (1), "BRIDGE_XSTATS_VLAN != 1");
      11  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      12  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      13  static_assert((BRIDGE_XSTATS_MCAST) == (2), "BRIDGE_XSTATS_MCAST != 2");
      14  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      15  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      16  static_assert((BRIDGE_XSTATS_PAD) == (3), "BRIDGE_XSTATS_PAD != 3");
      17  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      18  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      19  static_assert((BRIDGE_XSTATS_STP) == (4), "BRIDGE_XSTATS_STP != 4");
      20  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      21  #undef XLAT_PREV_VAL
      22  
      23  #ifndef XLAT_MACROS_ONLY
      24  
      25  # ifdef IN_MPERS
      26  
      27  #  error static const struct xlat ifstats_xstats_bridge_attrs in mpers mode
      28  
      29  # else
      30  
      31  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      32  static const struct xlat_data ifstats_xstats_bridge_attrs_xdata[] = {
      33   [BRIDGE_XSTATS_UNSPEC] = XLAT(BRIDGE_XSTATS_UNSPEC),
      34   #define XLAT_VAL_0 ((unsigned) (BRIDGE_XSTATS_UNSPEC))
      35   #define XLAT_STR_0 STRINGIFY(BRIDGE_XSTATS_UNSPEC)
      36   [BRIDGE_XSTATS_VLAN] = XLAT(BRIDGE_XSTATS_VLAN),
      37   #define XLAT_VAL_1 ((unsigned) (BRIDGE_XSTATS_VLAN))
      38   #define XLAT_STR_1 STRINGIFY(BRIDGE_XSTATS_VLAN)
      39   [BRIDGE_XSTATS_MCAST] = XLAT(BRIDGE_XSTATS_MCAST),
      40   #define XLAT_VAL_2 ((unsigned) (BRIDGE_XSTATS_MCAST))
      41   #define XLAT_STR_2 STRINGIFY(BRIDGE_XSTATS_MCAST)
      42   [BRIDGE_XSTATS_PAD] = XLAT(BRIDGE_XSTATS_PAD),
      43   #define XLAT_VAL_3 ((unsigned) (BRIDGE_XSTATS_PAD))
      44   #define XLAT_STR_3 STRINGIFY(BRIDGE_XSTATS_PAD)
      45   [BRIDGE_XSTATS_STP] = XLAT(BRIDGE_XSTATS_STP),
      46   #define XLAT_VAL_4 ((unsigned) (BRIDGE_XSTATS_STP))
      47   #define XLAT_STR_4 STRINGIFY(BRIDGE_XSTATS_STP)
      48  };
      49  static
      50  const struct xlat ifstats_xstats_bridge_attrs[1] = { {
      51   .data = ifstats_xstats_bridge_attrs_xdata,
      52   .size = ARRAY_SIZE(ifstats_xstats_bridge_attrs_xdata),
      53   .type = XT_INDEXED,
      54   .flags_mask = 0
      55  #  ifdef XLAT_VAL_0
      56    | XLAT_VAL_0
      57  #  endif
      58  #  ifdef XLAT_VAL_1
      59    | XLAT_VAL_1
      60  #  endif
      61  #  ifdef XLAT_VAL_2
      62    | XLAT_VAL_2
      63  #  endif
      64  #  ifdef XLAT_VAL_3
      65    | XLAT_VAL_3
      66  #  endif
      67  #  ifdef XLAT_VAL_4
      68    | XLAT_VAL_4
      69  #  endif
      70    ,
      71   .flags_strsz = 0
      72  #  ifdef XLAT_STR_0
      73    + sizeof(XLAT_STR_0)
      74  #  endif
      75  #  ifdef XLAT_STR_1
      76    + sizeof(XLAT_STR_1)
      77  #  endif
      78  #  ifdef XLAT_STR_2
      79    + sizeof(XLAT_STR_2)
      80  #  endif
      81  #  ifdef XLAT_STR_3
      82    + sizeof(XLAT_STR_3)
      83  #  endif
      84  #  ifdef XLAT_STR_4
      85    + sizeof(XLAT_STR_4)
      86  #  endif
      87    ,
      88  } };
      89  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      90  
      91  #  undef XLAT_STR_0
      92  #  undef XLAT_VAL_0
      93  #  undef XLAT_STR_1
      94  #  undef XLAT_VAL_1
      95  #  undef XLAT_STR_2
      96  #  undef XLAT_VAL_2
      97  #  undef XLAT_STR_3
      98  #  undef XLAT_VAL_3
      99  #  undef XLAT_STR_4
     100  #  undef XLAT_VAL_4
     101  # endif /* !IN_MPERS */
     102  
     103  #endif /* !XLAT_MACROS_ONLY */