btf: Move the plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.pcap.core / src / org / eclipse / tracecompass / internal / pcap / core / protocol / ethernet2 / EthernetIIValues.java
CommitLineData
5255c030
VP
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
71f2817f 13package org.eclipse.tracecompass.internal.pcap.core.protocol.ethernet2;
5255c030
VP
14
15/**
16 * Interface that lists constants related to Ethernet II.
17 *
18 * See http://en.wikipedia.org/wiki/Ethernet_frame#Ethernet_II.
19 *
20 * @author Vincent Perot
21 */
22public interface EthernetIIValues {
23
24 /** Size in bytes of a MAC address */
25 int MAC_ADDRESS_SIZE = 6;
26
27 /** Size in bytes of the ethertype field */
28 int ETHERTYPE_SIZE = 4;
29
30 /** Size in bytes of the CRC checksum */
31 int CRC_CHECKSUM_SIZE = 4;
32
33 /** Maximum size in bytes of a entire Ethernet II Frame */
34 int ETHERNET_II_MAX_SIZE = 1518;
35
36 /** Minimum size in bytes of a entire Ethernet II Frame */
37 int ETHERNET_II_MIN_SIZE = 14;
38
39}
This page took 0.043485 seconds and 5 git commands to generate.