/* Generated by ./types/gen.sh from ./types/rtnl_link.h; do not edit. */
#include "defs.h"
#include "static_assert.h"
#include "types/rtnl_link.h"

#ifdef HAVE_STRUCT_RTNL_LINK_STATS
# ifdef HAVE_STRUCT_RTNL_LINK_STATS_RX_NOHANDLER
static_assert(sizeof(struct rtnl_link_stats) == sizeof(struct_rtnl_link_stats),
      "struct rtnl_link_stats size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct rtnl_link_stats) <= offsetof(struct_rtnl_link_stats, rx_nohandler),
"struct rtnl_link_stats size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_RTNL_LINK_STATS_RX_NOHANDLER */
#endif /* HAVE_STRUCT_RTNL_LINK_STATS */

#ifdef HAVE_STRUCT_RTNL_LINK_STATS64
# ifdef HAVE_STRUCT_RTNL_LINK_STATS64_RX_NOHANDLER
static_assert(sizeof(struct rtnl_link_stats64) == sizeof(struct_rtnl_link_stats64),
      "struct rtnl_link_stats64 size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct rtnl_link_stats64) <= offsetof(struct_rtnl_link_stats64, rx_nohandler),
"struct rtnl_link_stats64 size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_RTNL_LINK_STATS64_RX_NOHANDLER */
#endif /* HAVE_STRUCT_RTNL_LINK_STATS64 */

#ifdef HAVE_STRUCT_IFLA_BRIDGE_ID
# ifdef HAVE_STRUCT_IFLA_BRIDGE_ID_ADDR
static_assert(sizeof(struct ifla_bridge_id) == sizeof(struct_ifla_bridge_id),
      "struct ifla_bridge_id size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct ifla_bridge_id) <= offsetof(struct_ifla_bridge_id, addr),
"struct ifla_bridge_id size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_IFLA_BRIDGE_ID_ADDR */
#endif /* HAVE_STRUCT_IFLA_BRIDGE_ID */

#ifdef HAVE_STRUCT_IFLA_PORT_VSI
# ifdef HAVE_STRUCT_IFLA_PORT_VSI_PAD
static_assert(sizeof(struct ifla_port_vsi) == sizeof(struct_ifla_port_vsi),
      "struct ifla_port_vsi size mismatch, please update the decoder or fix the kernel");
# else
static_assert(sizeof(struct ifla_port_vsi) <= offsetof(struct_ifla_port_vsi, pad),
"struct ifla_port_vsi size mismatch, please update the decoder or fix the kernel");
# endif /* HAVE_STRUCT_IFLA_PORT_VSI_PAD */
#endif /* HAVE_STRUCT_IFLA_PORT_VSI */
