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 / ipv4 / IPv4Values.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.ipv4;
5255c030
VP
14
15/**
16 * Interface that lists constants related to Internet Protocol v4.
17 *
18 * See http://en.wikipedia.org/wiki/IPv4#Packet_structure.
19 *
20 * @author Vincent Perot
21 */
22public interface IPv4Values {
23
24 /** Size in bytes of an IP address */
25 int IP_ADDRESS_SIZE = 4;
26
27 /** Size in bytes of a default IPv4 packet header */
28 int DEFAULT_HEADER_LENGTH = 5;
29
30 /** Size in bytes of a block of data. Used to convert data block to bytes */
31 int BLOCK_SIZE = 4;
32
33}
This page took 0.064825 seconds and 5 git commands to generate.