mlnx-ofed-libibverbs-sys 0.0.1

Low-level FFI bindings to the C-library Mellanox OFED libibverbs
// This file is part of mlnx-ofed. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/mlnx-ofed/master/COPYRIGHT. No part of mlnx-ofed, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
// Copyright © 2016 The developers of mlnx-ofed. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/mlnx-ofed/master/COPYRIGHT.


#[repr(C)]
pub struct ibv_exp_flow_spec__bindgen_ty_1
{
	pub hdr: __BindgenUnionField<ibv_exp_flow_spec__bindgen_ty_1__bindgen_ty_1>,
	pub ib: __BindgenUnionField<ibv_exp_flow_spec_ib>,
	pub eth: __BindgenUnionField<ibv_exp_flow_spec_eth>,
	pub ipv4: __BindgenUnionField<ibv_exp_flow_spec_ipv4>,
	pub ipv4_ext: __BindgenUnionField<ibv_exp_flow_spec_ipv4_ext>,
	pub tcp_udp: __BindgenUnionField<ibv_exp_flow_spec_tcp_udp>,
	pub ipv6: __BindgenUnionField<ibv_exp_flow_spec_ipv6>,
	pub ipv6_ext: __BindgenUnionField<ibv_exp_flow_spec_ipv6_ext>,
	pub tunnel: __BindgenUnionField<ibv_exp_flow_spec_tunnel>,
	pub flow_tag: __BindgenUnionField<ibv_exp_flow_spec_action_tag>,
	pub drop: __BindgenUnionField<ibv_exp_flow_spec_action_drop>,
	pub bindgen_union_field: [u32; 22usize],
}

impl Default for ibv_exp_flow_spec__bindgen_ty_1
{
	#[inline(always)]
	fn default() -> Self
	{
		unsafe { zeroed() }
	}
}

impl Debug for ibv_exp_flow_spec__bindgen_ty_1
{
	#[inline(always)]
	fn fmt(&self, f: &mut Formatter) -> Result
	{
		write!(f, "ibv_exp_flow_spec__bindgen_ty_1 {{ union }}")
	}
}