/
AirPcapLinkTypes.cs
50 lines (42 loc) · 1.6 KB
/
AirPcapLinkTypes.cs
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
This file is part of SharpPcap.
SharpPcap 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.
SharpPcap 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 SharpPcap. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Copyright 2010-2011 Chris Morgan <chmorgan@gmail.com>
*/
using System;
namespace SharpPcap.AirPcap
{
/// <summary>
/// Link type
/// </summary>
public enum AirPcapLinkTypes : int
{
/// <summary>
/// plain 802.11 link type. Every packet in the buffer contains the raw 802.11 frame, including MAC FCS.
/// </summary>
_802_11 = 1,
/// <summary>
/// 802.11 plus radiotap link type. Every packet in the buffer contains a radiotap header followed by the 802.11 frame. MAC FCS is included.
/// </summary>
_802_11_PLUS_RADIO = 2,
/// <summary>
/// Unknown link type, should be seen only in error
/// </summary>
UNKNOWN = 3,
/// <summary>
/// 802.11 plus PPI header link type. Every packet in the buffer contains a PPI header followed by the 802.11 frame. MAC FCS is included.
/// </summary>
_802_11_PLUS_PPI = 4
};
}