Package org.krakenapps.pcap.file

Examples of org.krakenapps.pcap.file.GlobalHeader


        int tz = buf.getInt();
        int sigfigs = buf.getInt();
        int snaplen = buf.getInt();
        int network = buf.getInt();

        globalHeader = new GlobalHeader(magic, major, minor, tz, sigfigs, snaplen, network);

        if (globalHeader.getMagicNumber() == 0xD4C3B2A1)
            globalHeader.swapByteOrder();

        snaplen = ByteOrderConverter.swap(snaplen);
View Full Code Here

TOP

Related Classes of org.krakenapps.pcap.file.GlobalHeader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.