tmf: Initial commit of Pcap Parser
[deliverable/tracecompass.git] / org.eclipse.linuxtools.pcap.core / src / org / eclipse / linuxtools / pcap / core / protocol / ProtocolValues.java
1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Vincent Perot - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.pcap.core.protocol;
14
15 /**
16 * Interface that lists constants related to protocols/layers.
17 *
18 * See http://en.wikipedia.org/wiki/OSI_model#Description_of_OSI_layers.
19 *
20 * @author Vincent Perot
21 */
22 public interface ProtocolValues {
23
24 /**
25 * Layer 0. This layer is not an OSI layer but is used as an helper to store
26 * the pseudo-protocol PCAP.
27 */
28 int LAYER_0 = 0;
29
30 /** Layer 1 of the OSI model */
31 int LAYER_1 = 1;
32
33 /** Layer 2 of the OSI model */
34 int LAYER_2 = 2;
35
36 /** Layer 3 of the OSI model */
37 int LAYER_3 = 3;
38
39 /** Layer 4 of the OSI model */
40 int LAYER_4 = 4;
41
42 /** Layer 5 of the OSI model */
43 int LAYER_5 = 5;
44
45 /** Layer 6 of the OSI model */
46 int LAYER_6 = 6;
47
48 /** Layer 7 of the OSI model */
49 int LAYER_7 = 7;
50
51 }
This page took 0.033054 seconds and 5 git commands to generate.