Class NativeMappings.pcap_pkthdr

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NativeMappings.pcap_pkthdr.ByReference  
      • Nested classes/interfaces inherited from class com.sun.jna.Structure

        com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
    • Constructor Summary

      Constructors 
      Constructor Description
      pcap_pkthdr()  
      pcap_pkthdr​(com.sun.jna.Pointer p)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static int getCaplen​(com.sun.jna.Pointer p)  
      protected java.util.List<java.lang.String> getFieldOrder()  
      (package private) static int getLen​(com.sun.jna.Pointer p)  
      (package private) static com.sun.jna.NativeLong getTvSec​(com.sun.jna.Pointer p)  
      (package private) static com.sun.jna.NativeLong getTvUsec​(com.sun.jna.Pointer p)  
      • Methods inherited from class com.sun.jna.Structure

        allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • TS_OFFSET

        public static final int TS_OFFSET
      • CAPLEN_OFFSET

        public static final int CAPLEN_OFFSET
      • LEN_OFFSET

        public static final int LEN_OFFSET
      • caplen

        public int caplen
      • len

        public int len
    • Constructor Detail

      • pcap_pkthdr

        public pcap_pkthdr()
      • pcap_pkthdr

        public pcap_pkthdr​(com.sun.jna.Pointer p)
    • Method Detail

      • getFieldOrder

        protected java.util.List<java.lang.String> getFieldOrder()
        Overrides:
        getFieldOrder in class com.sun.jna.Structure
      • getTvSec

        static com.sun.jna.NativeLong getTvSec​(com.sun.jna.Pointer p)
      • getTvUsec

        static com.sun.jna.NativeLong getTvUsec​(com.sun.jna.Pointer p)
      • getCaplen

        static int getCaplen​(com.sun.jna.Pointer p)
      • getLen

        static int getLen​(com.sun.jna.Pointer p)