Package com.sun.jna.platform.win32
Class WinRas.RASPPPIP
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.WinRas.RASPPPIP
- Direct Known Subclasses:
- WinRas.RASPPPIP.ByReference
- Enclosing interface:
- WinRas
@FieldOrder({"dwSize","dwError","szIpAddress","szServerIpAddress","dwOptions","dwServerOptions"})
public static class WinRas.RASPPPIP
extends Structure
The RASPPPIP structure contains the result of a PPP IP projection operation.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintA value that specifies the result of the PPP control protocol negotiation.intA value that specifies IPCP options for the local client.intA value that specifies IPCP options for the remote server.intA value that specifies the size, in bytes, of the structure.char[]An array that contains a null-terminated string that is the client's IP address on the RAS connection.char[]An array that contains a null-terminated string that is the server's IP address on the RAS connection.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, 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
- 
Field Details- 
dwSizepublic int dwSizeA value that specifies the size, in bytes, of the structure. This member must be set before it is used in a function call.
- 
dwErrorpublic int dwErrorA value that specifies the result of the PPP control protocol negotiation. A value of zero indicates success. A non-zero value indicates failure, and indicates the fatal error that occurred during the control protocol negotiation.
- 
szIpAddresspublic char[] szIpAddressAn array that contains a null-terminated string that is the client's IP address on the RAS connection. This address string has the form a.b.c.d.
- 
szServerIpAddresspublic char[] szServerIpAddressAn array that contains a null-terminated string that is the server's IP address on the RAS connection. This string is in a.b.c.d form. PPP does not require that servers provide this address, but servers will consistently return the address anyway. Other PPP vendors may not provide the address. If the address is not available, this member returns an empty string, "".
- 
dwOptionspublic int dwOptionsA value that specifies IPCP options for the local client.
- 
dwServerOptionspublic int dwServerOptionsA value that specifies IPCP options for the remote server.
 
- 
- 
Constructor Details- 
RASPPPIPpublic RASPPPIP()
- 
RASPPPIP
 
-