Class NativeMappings.sockaddr_ll

java.lang.Object
com.sun.jna.Structure
org.pcap4j.core.NativeMappings.sockaddr_ll
Enclosing class:
NativeMappings

public static class NativeMappings.sockaddr_ll extends com.sun.jna.Structure
Since:
pcap4j 0.9.1
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    byte[]
     
    short
     
    byte
     
    short
     
    int
     
    byte
     
    short
     

    Fields inherited from class com.sun.jna.Structure

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

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

    Modifier and Type
    Method
    Description
    protected List<String>
     
    (package private) short
     

    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 Object

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

    • sll_family

      public short sll_family
    • sll_protocol

      public short sll_protocol
    • sll_ifindex

      public int sll_ifindex
    • sll_hatype

      public short sll_hatype
    • sll_pkttype

      public byte sll_pkttype
    • sll_halen

      public byte sll_halen
    • sll_addr

      public byte[] sll_addr
  • Constructor Details

    • sockaddr_ll

      public sockaddr_ll()
    • sockaddr_ll

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

    • getFieldOrder

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

      short getSaFamily()