1 /* Generated by ./xlat/gen.sh from ./xlat/rtnl_dcb_attrs.in; do not edit. */ 2 #if !(defined(DCB_ATTR_UNDEFINED) || (defined(HAVE_DECL_DCB_ATTR_UNDEFINED) && HAVE_DECL_DCB_ATTR_UNDEFINED)) 3 # define DCB_ATTR_UNDEFINED 0 4 #endif 5 #if !(defined(DCB_ATTR_IFNAME) || (defined(HAVE_DECL_DCB_ATTR_IFNAME) && HAVE_DECL_DCB_ATTR_IFNAME)) 6 # define DCB_ATTR_IFNAME 1 7 #endif 8 #if !(defined(DCB_ATTR_STATE) || (defined(HAVE_DECL_DCB_ATTR_STATE) && HAVE_DECL_DCB_ATTR_STATE)) 9 # define DCB_ATTR_STATE 2 10 #endif 11 #if !(defined(DCB_ATTR_PFC_STATE) || (defined(HAVE_DECL_DCB_ATTR_PFC_STATE) && HAVE_DECL_DCB_ATTR_PFC_STATE)) 12 # define DCB_ATTR_PFC_STATE 3 13 #endif 14 #if !(defined(DCB_ATTR_PFC_CFG) || (defined(HAVE_DECL_DCB_ATTR_PFC_CFG) && HAVE_DECL_DCB_ATTR_PFC_CFG)) 15 # define DCB_ATTR_PFC_CFG 4 16 #endif 17 #if !(defined(DCB_ATTR_NUM_TC) || (defined(HAVE_DECL_DCB_ATTR_NUM_TC) && HAVE_DECL_DCB_ATTR_NUM_TC)) 18 # define DCB_ATTR_NUM_TC 5 19 #endif 20 #if !(defined(DCB_ATTR_PG_CFG) || (defined(HAVE_DECL_DCB_ATTR_PG_CFG) && HAVE_DECL_DCB_ATTR_PG_CFG)) 21 # define DCB_ATTR_PG_CFG 6 22 #endif 23 #if !(defined(DCB_ATTR_SET_ALL) || (defined(HAVE_DECL_DCB_ATTR_SET_ALL) && HAVE_DECL_DCB_ATTR_SET_ALL)) 24 # define DCB_ATTR_SET_ALL 7 25 #endif 26 #if !(defined(DCB_ATTR_PERM_HWADDR) || (defined(HAVE_DECL_DCB_ATTR_PERM_HWADDR) && HAVE_DECL_DCB_ATTR_PERM_HWADDR)) 27 # define DCB_ATTR_PERM_HWADDR 8 28 #endif 29 #if !(defined(DCB_ATTR_CAP) || (defined(HAVE_DECL_DCB_ATTR_CAP) && HAVE_DECL_DCB_ATTR_CAP)) 30 # define DCB_ATTR_CAP 9 31 #endif 32 #if !(defined(DCB_ATTR_NUMTCS) || (defined(HAVE_DECL_DCB_ATTR_NUMTCS) && HAVE_DECL_DCB_ATTR_NUMTCS)) 33 # define DCB_ATTR_NUMTCS 10 34 #endif 35 #if !(defined(DCB_ATTR_BCN) || (defined(HAVE_DECL_DCB_ATTR_BCN) && HAVE_DECL_DCB_ATTR_BCN)) 36 # define DCB_ATTR_BCN 11 37 #endif 38 #if !(defined(DCB_ATTR_APP) || (defined(HAVE_DECL_DCB_ATTR_APP) && HAVE_DECL_DCB_ATTR_APP)) 39 # define DCB_ATTR_APP 12 40 #endif 41 #if !(defined(DCB_ATTR_IEEE) || (defined(HAVE_DECL_DCB_ATTR_IEEE) && HAVE_DECL_DCB_ATTR_IEEE)) 42 # define DCB_ATTR_IEEE 13 43 #endif 44 #if !(defined(DCB_ATTR_DCBX) || (defined(HAVE_DECL_DCB_ATTR_DCBX) && HAVE_DECL_DCB_ATTR_DCBX)) 45 # define DCB_ATTR_DCBX 14 46 #endif 47 #if !(defined(DCB_ATTR_FEATCFG) || (defined(HAVE_DECL_DCB_ATTR_FEATCFG) && HAVE_DECL_DCB_ATTR_FEATCFG)) 48 # define DCB_ATTR_FEATCFG 15 49 #endif 50 #if !(defined(DCB_ATTR_CEE) || (defined(HAVE_DECL_DCB_ATTR_CEE) && HAVE_DECL_DCB_ATTR_CEE)) 51 # define DCB_ATTR_CEE 16 52 #endif 53 54 #ifdef IN_MPERS 55 56 # error static const struct xlat rtnl_dcb_attrs in mpers mode 57 58 #else 59 60 static 61 const struct xlat rtnl_dcb_attrs[] = { 62 XLAT(DCB_ATTR_UNDEFINED), 63 XLAT(DCB_ATTR_IFNAME), 64 XLAT(DCB_ATTR_STATE), 65 XLAT(DCB_ATTR_PFC_STATE), 66 XLAT(DCB_ATTR_PFC_CFG), 67 XLAT(DCB_ATTR_NUM_TC), 68 XLAT(DCB_ATTR_PG_CFG), 69 XLAT(DCB_ATTR_SET_ALL), 70 XLAT(DCB_ATTR_PERM_HWADDR), 71 XLAT(DCB_ATTR_CAP), 72 XLAT(DCB_ATTR_NUMTCS), 73 XLAT(DCB_ATTR_BCN), 74 XLAT(DCB_ATTR_APP), 75 XLAT(DCB_ATTR_IEEE), 76 XLAT(DCB_ATTR_DCBX), 77 XLAT(DCB_ATTR_FEATCFG), 78 XLAT(DCB_ATTR_CEE), 79 XLAT_END 80 }; 81 82 #endif /* !IN_MPERS */ 83