libc_extra/android_linux/linux/ethtool/
ethtool_rx_ntuple.rs

1// This file is part of libc-extra. 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/libc-extra/master/COPYRIGHT. No part of libc-extra, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
2// Copyright © 2016-2018 The developers of libc-extra. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/libc-extra/master/COPYRIGHT.
3
4
5#[repr(C)]
6#[derive(Copy)]
7#[allow(missing_debug_implementations)]
8pub struct ethtool_rx_ntuple
9{
10	pub cmd: u32,
11	pub fs: ethtool_rx_ntuple_flow_spec,
12}
13
14impl Clone for ethtool_rx_ntuple
15{
16	fn clone(&self) -> Self
17	{
18		*self
19	}
20}
21
22impl Default for ethtool_rx_ntuple
23{
24	fn default() -> Self
25	{
26		unsafe { zeroed() }
27	}
28}