Files
simulation_core/lib/Packet.Net/PacketDotNet/IeeeP8021PPriorities.cs

63 lines
1.8 KiB
C#

/*
This file is part of PacketDotNet
PacketDotNet is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PacketDotNet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with PacketDotNet. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Copyright 2013 Chris Morgan <chmorgan@gmail.com>
*/
using System;
namespace PacketDotNet
{
/// <summary>
/// Ieee p8021 P priorities.
/// http://en.wikipedia.org/wiki/IEEE_802.1p
/// </summary>
public enum IeeeP8021PPriorities : byte
{
/// <summary>
/// Background
/// </summary>
Background_0 = 1,
/// <summary>
/// Best effort
/// </summary>
BestEffort_1 = 0,
/// <summary>
/// Excellent effort
/// </summary>
ExcellentEffort_2 = 2,
/// <summary>
/// Critical application
/// </summary>
CriticalApplications_3 = 3,
/// <summary>
/// Video, &lt; 100ms latency and jitter
/// </summary>
Video_4 = 4,
/// <summary>
/// Voice, &lt; 10ms latency and jitter
/// </summary>
Voice_5 = 5,
/// <summary>
/// Internetwork control
/// </summary>
InternetworkControl_6 = 6,
/// <summary>
/// Network control
/// </summary>
NetworkControl_7 = 7
}
}