Class NativeMappings.pcap_stat

java.lang.Object
com.sun.jna.Structure
org.pcap4j.core.NativeMappings.pcap_stat
Direct Known Subclasses:
NativeMappings.pcap_stat.ByReference, NativeMappings.win_pcap_stat
Enclosing class:
NativeMappings

public static class NativeMappings.pcap_stat extends com.sun.jna.Structure
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     
    static final int
     
    int
     
    static final int
     
    int
     
    static final int
     

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected List<String>
     
    (package private) static int
    getPsDrop(com.sun.jna.Pointer p)
     
    (package private) static int
    getPsIfdrop(com.sun.jna.Pointer p)
     
    (package private) static int
    getPsRecv(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 Details

    • PS_RECV_OFFSET

      public static final int PS_RECV_OFFSET
    • PS_DROP_OFFSET

      public static final int PS_DROP_OFFSET
    • PS_IFDROP_OFFSET

      public static final int PS_IFDROP_OFFSET
    • ps_recv

      public int ps_recv
    • ps_drop

      public int ps_drop
    • ps_ifdrop

      public int ps_ifdrop
  • Constructor Details

    • pcap_stat

      public pcap_stat()
    • pcap_stat

      public pcap_stat(com.sun.jna.Pointer p)
  • Method Details

    • getFieldOrder

      protected List<String> getFieldOrder()
      Overrides:
      getFieldOrder in class com.sun.jna.Structure
    • getPsRecv

      static int getPsRecv(com.sun.jna.Pointer p)
    • getPsDrop

      static int getPsDrop(com.sun.jna.Pointer p)
    • getPsIfdrop

      static int getPsIfdrop(com.sun.jna.Pointer p)