1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
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
10 * Vincent Perot - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.pcap
.core
.protocol
.ethernet2
;
16 * Interface that lists constants related to Ethernet II.
18 * See http://en.wikipedia.org/wiki/Ethernet_frame#Ethernet_II.
20 * @author Vincent Perot
22 public interface EthernetIIValues
{
24 /** Size in bytes of a MAC address */
25 int MAC_ADDRESS_SIZE
= 6;
27 /** Size in bytes of the ethertype field */
28 int ETHERTYPE_SIZE
= 4;
30 /** Size in bytes of the CRC checksum */
31 int CRC_CHECKSUM_SIZE
= 4;
33 /** Maximum size in bytes of a entire Ethernet II Frame */
34 int ETHERNET_II_MAX_SIZE
= 1518;
36 /** Minimum size in bytes of a entire Ethernet II Frame */
37 int ETHERNET_II_MIN_SIZE
= 14;
This page took 0.031657 seconds and 5 git commands to generate.