1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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.
// 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.


pub const ADVERTISED_10baseT_Half: c_uchar = 1;
pub const ADVERTISED_10baseT_Full: c_uchar = 2;
pub const ADVERTISED_100baseT_Half: c_uchar = 4;
pub const ADVERTISED_100baseT_Full: c_uchar = 8;
pub const ADVERTISED_1000baseT_Half: c_uchar = 16;
pub const ADVERTISED_1000baseT_Full: c_uchar = 32;
pub const ADVERTISED_Autoneg: c_uchar = 64;
pub const ADVERTISED_TP: c_uchar = 128;
pub const ADVERTISED_AUI: c_ushort = 256;
pub const ADVERTISED_MII: c_ushort = 512;
pub const ADVERTISED_FIBRE: c_ushort = 1024;
pub const ADVERTISED_BNC: c_ushort = 2048;
pub const ADVERTISED_10000baseT_Full: c_ushort = 4096;
pub const ADVERTISED_Pause: c_ushort = 8192;
pub const ADVERTISED_Asym_Pause: c_ushort = 16384;
pub const ADVERTISED_2500baseX_Full: c_ushort = 32768;
pub const ADVERTISED_Backplane: c_uint = 65536;
pub const ADVERTISED_1000baseKX_Full: c_uint = 131072;
pub const ADVERTISED_10000baseKX4_Full: c_uint = 262144;
pub const ADVERTISED_10000baseKR_Full: c_uint = 524288;
pub const ADVERTISED_10000baseR_FEC: c_uint = 1048576;
pub const ADVERTISED_20000baseMLD2_Full: c_uint = 2097152;
pub const ADVERTISED_20000baseKR2_Full: c_uint = 4194304;
pub const ADVERTISED_40000baseKR4_Full: c_uint = 8388608;
pub const ADVERTISED_40000baseCR4_Full: c_uint = 16777216;
pub const ADVERTISED_40000baseSR4_Full: c_uint = 33554432;
pub const ADVERTISED_40000baseLR4_Full: c_uint = 67108864;
pub const ADVERTISED_56000baseKR4_Full: c_uint = 134217728;
pub const ADVERTISED_56000baseCR4_Full: c_uint = 268435456;
pub const ADVERTISED_56000baseSR4_Full: c_uint = 536870912;
pub const ADVERTISED_56000baseLR4_Full: c_uint = 1073741824;