Skip navigation links
B C D E F G H I L M O P R S T U V W Z 

B

BUFFER_SIZE - Static variable in class com.github.ffalcinelli.jdivert.windivert.DeployHandler
 
buildHeaders(byte[]) - Static method in class com.github.ffalcinelli.jdivert.headers.Header
Build headers from raw data.

C

close() - Method in class com.github.ffalcinelli.jdivert.WinDivert
Closes the handle opened by open.
closeIgnoreExceptions(Closeable...) - Static method in class com.github.ffalcinelli.jdivert.windivert.DeployHandler
Closes each stream, and more generally each Closeable ignoring any IOException may occur.
code - Variable in exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
 
com.github.ffalcinelli.jdivert - package com.github.ffalcinelli.jdivert
 
com.github.ffalcinelli.jdivert.exceptions - package com.github.ffalcinelli.jdivert.exceptions
 
com.github.ffalcinelli.jdivert.headers - package com.github.ffalcinelli.jdivert.headers
 
com.github.ffalcinelli.jdivert.windivert - package com.github.ffalcinelli.jdivert.windivert
 
copy(InputStream, OutputStream) - Static method in class com.github.ffalcinelli.jdivert.windivert.DeployHandler
Copies all bytes from source to sink streams.
createTempDir() - Method in interface com.github.ffalcinelli.jdivert.windivert.TemporaryDirManager
 

D

DEFAULT_PACKET_BUFFER_SIZE - Static variable in class com.github.ffalcinelli.jdivert.WinDivert
 
deploy() - Static method in class com.github.ffalcinelli.jdivert.windivert.DeployHandler
Deploys WinDivert DLL and SYS files based upon Platform architecture (32/64bit).
deploy(TemporaryDirManager) - Static method in class com.github.ffalcinelli.jdivert.windivert.DeployHandler
Deploys WinDivert DLL and SYS files based upon Platform architecture (32/64bit).
DeployHandler - Class in com.github.ffalcinelli.jdivert.windivert
Handles WinDivert DLL and SYS files deployment to a temporary directory.
DeployHandler() - Constructor for class com.github.ffalcinelli.jdivert.windivert.DeployHandler
 
deployInTempDir(File) - Static method in class com.github.ffalcinelli.jdivert.windivert.DeployHandler
Deploys the *.dll and *.sys for the given in a temporary directory.
Direction - Variable in class com.github.ffalcinelli.jdivert.windivert.WinDivertAddress
 

E

Enums - Class in com.github.ffalcinelli.jdivert
Created by fabio on 20/10/2016.
Enums() - Constructor for class com.github.ffalcinelli.jdivert.Enums
 
Enums.CalcChecksumsOption - Enum in com.github.ffalcinelli.jdivert
Enums.Direction - Enum in com.github.ffalcinelli.jdivert
Enums.Flag - Enum in com.github.ffalcinelli.jdivert
Enums.Layer - Enum in com.github.ffalcinelli.jdivert
Enums.Param - Enum in com.github.ffalcinelli.jdivert
Enums.Protocol - Enum in com.github.ffalcinelli.jdivert
Transport protocol values define the layout of the header that will immediately follow the IPv4 or IPv6 header.
equals(Object) - Method in class com.github.ffalcinelli.jdivert.headers.Header
 
equals(Object) - Method in class com.github.ffalcinelli.jdivert.Packet
 
equals(Object) - Method in class com.github.ffalcinelli.jdivert.windivert.WinDivertAddress
 

F

fromValue(int) - Static method in enum com.github.ffalcinelli.jdivert.Enums.Direction
 
fromValue(int) - Static method in enum com.github.ffalcinelli.jdivert.Enums.Protocol
 

G

getAckNumber() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getByteBuffer() - Method in class com.github.ffalcinelli.jdivert.headers.Header
Return the ByteBuffer used to construct this header
getBytesAtOffset(int, int) - Method in class com.github.ffalcinelli.jdivert.headers.Header
Convenience method to get a given range of bytes
getBytesAtOffset(ByteBuffer, int, int) - Static method in class com.github.ffalcinelli.jdivert.Util
Given a ByteBuffer get bytes in an absolute offset without altering its current position.
getChecksum() - Method in class com.github.ffalcinelli.jdivert.headers.Icmp
 
getChecksum() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getChecksum() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getChecksum() - Method in class com.github.ffalcinelli.jdivert.headers.Udp
 
getCode() - Method in exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
 
getCode() - Method in class com.github.ffalcinelli.jdivert.headers.Icmp
 
getData() - Method in class com.github.ffalcinelli.jdivert.headers.Udp
 
getDataOffset() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getDefault() - Method in enum com.github.ffalcinelli.jdivert.Enums.Param
 
getDiffServ() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getDSCP() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getDstAddr() - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
getDstAddr() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the String representing the destination address.
getDstAddrStr() - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
getDstPort() - Method in class com.github.ffalcinelli.jdivert.headers.Transport
 
getDstPort() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the destination port number, if present.
getECN() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getFieldOrder() - Method in class com.github.ffalcinelli.jdivert.windivert.WinDivertAddress
 
getFlag(int, int) - Method in class com.github.ffalcinelli.jdivert.headers.Header
Convenience method to get the status of a flag (1 bit)
getFlags() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
Gets flags as a bitmask
getFlags() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getFragmentOffset() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getHeaderLength() - Method in class com.github.ffalcinelli.jdivert.headers.Header
Return the Header length (in bytes).
getHeaderLength() - Method in class com.github.ffalcinelli.jdivert.headers.Icmp
 
getHeaderLength() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getHeaderLength() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
getHeaderLength() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getHeaderLength() - Method in class com.github.ffalcinelli.jdivert.headers.Udp
 
getHeadersLength() - Method in class com.github.ffalcinelli.jdivert.Packet
Overall Packet's header length.
getHopLimit() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
getIcmpv4() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the Icmpv4 if present.
getIcmpv6() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the Icmpv6 if present.
getID() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getIHL() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getInetAddressAtOffset(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
getIpv4() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the Ipv4 if present.
getIpv6() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the Ipv6 if present.
getLength() - Method in class com.github.ffalcinelli.jdivert.headers.Udp
 
getMax() - Method in enum com.github.ffalcinelli.jdivert.Enums.Param
 
getMessageBody() - Method in class com.github.ffalcinelli.jdivert.headers.Icmpv6
 
getMin() - Method in enum com.github.ffalcinelli.jdivert.Enums.Param
 
getMode() - Method in class com.github.ffalcinelli.jdivert.WinDivert
Returns the operational mode as a String
getNextHeader() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
getNextHeaderProtocol() - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
getNextHeaderProtocol() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getNextHeaderProtocol() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
getOptions() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getOptions() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getParam(Enums.Param) - Method in class com.github.ffalcinelli.jdivert.WinDivert
Get a WinDivert parameter.
getPayload() - Method in class com.github.ffalcinelli.jdivert.Packet
Get the Packet payload.
getPayloadLength() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
getProtocol() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getRaw() - Method in class com.github.ffalcinelli.jdivert.Packet
Get the Packet content (headers and payload) as an array of bytes.
getRawHeaderBytes() - Method in class com.github.ffalcinelli.jdivert.headers.Header
Get header's bytes only
getReserved() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getRestOfHeader() - Method in class com.github.ffalcinelli.jdivert.headers.Icmpv4
 
getSeqNumber() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getSrcAddr() - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
getSrcAddr() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the String representing the source address.
getSrcAddrStr() - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
getSrcPort() - Method in class com.github.ffalcinelli.jdivert.headers.Transport
 
getSrcPort() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the source port number, if present.
getTcp() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the Tcp if present.
getTOS() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getTotalLength() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getTTL() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
getType() - Method in class com.github.ffalcinelli.jdivert.headers.Icmp
 
getUdp() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to get the Udp if present.
getUrgentPointer() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
getValue() - Method in enum com.github.ffalcinelli.jdivert.Enums.CalcChecksumsOption
 
getValue() - Method in enum com.github.ffalcinelli.jdivert.Enums.Direction
 
getValue() - Method in enum com.github.ffalcinelli.jdivert.Enums.Flag
 
getValue() - Method in enum com.github.ffalcinelli.jdivert.Enums.Layer
 
getValue() - Method in enum com.github.ffalcinelli.jdivert.Enums.Param
 
getValue() - Method in enum com.github.ffalcinelli.jdivert.Enums.Protocol
 
getVersion(ByteBuffer) - Static method in class com.github.ffalcinelli.jdivert.headers.Ip
 
getVersion() - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
getWinDivertAddress() - Method in class com.github.ffalcinelli.jdivert.Packet
Put the Packet metadata into a WinDivertAddress structure.
getWindowSize() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 

H

hashCode() - Method in class com.github.ffalcinelli.jdivert.headers.Header
 
hashCode() - Method in class com.github.ffalcinelli.jdivert.Packet
 
hashCode() - Method in class com.github.ffalcinelli.jdivert.windivert.WinDivertAddress
 
Header - Class in com.github.ffalcinelli.jdivert.headers
A Network Header Created by fabio on 24/10/2016.
Header(ByteBuffer) - Constructor for class com.github.ffalcinelli.jdivert.headers.Header
 
Header(ByteBuffer, int) - Constructor for class com.github.ffalcinelli.jdivert.headers.Header
 

I

Icmp - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 25/10/2016.
Icmp(ByteBuffer, int) - Constructor for class com.github.ffalcinelli.jdivert.headers.Icmp
 
Icmpv4 - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 25/10/2016.
Icmpv4(ByteBuffer, int) - Constructor for class com.github.ffalcinelli.jdivert.headers.Icmpv4
 
Icmpv6 - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 25/10/2016.
Icmpv6(ByteBuffer, int) - Constructor for class com.github.ffalcinelli.jdivert.headers.Icmpv6
 
IfIdx - Variable in class com.github.ffalcinelli.jdivert.windivert.WinDivertAddress
 
INSTANCE - Static variable in interface com.github.ffalcinelli.jdivert.windivert.WinDivertDLL
 
Ip<T extends java.net.InetAddress> - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 24/10/2016.
Ip(ByteBuffer) - Constructor for class com.github.ffalcinelli.jdivert.headers.Ip
 
Ipv4 - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 24/10/2016.
Ipv4(ByteBuffer) - Constructor for class com.github.ffalcinelli.jdivert.headers.Ipv4
 
Ipv4.Flag - Enum in com.github.ffalcinelli.jdivert.headers
 
Ipv6 - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 24/10/2016.
Ipv6(ByteBuffer) - Constructor for class com.github.ffalcinelli.jdivert.headers.Ipv6
 
is(Ipv4.Flag) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
is(Tcp.Flag) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
is(Enums.Flag) - Method in class com.github.ffalcinelli.jdivert.WinDivert
Checks if the given flag is set
isIcmpv4() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to check if the packet has a Icmp header version 4
isIcmpv6() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to check if the packet has a Icmp header version 6.
isInbound() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to check if the packet is INBOUND.
isIpv4() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to check if the packet has a Ip header version 4.
isIpv6() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to check if the packet has a Ip header version 6.
isLoopback() - Method in class com.github.ffalcinelli.jdivert.Packet
Indicates if the packet is on the loopback interface.
isOpen() - Method in class com.github.ffalcinelli.jdivert.WinDivert
Indicates if there is currently an open handle.
isOutbound() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to check if the packet is OUTBOUND.
isTcp() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to check if the packet has a Tcp header.
isUdp() - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to check if the packet has a Udp header.

L

lee - Variable in exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
 

M

message - Variable in exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
 

O

open() - Method in class com.github.ffalcinelli.jdivert.WinDivert
Opens a WinDivert handle for the given filter.

P

Packet - Class in com.github.ffalcinelli.jdivert
A single packet, possibly including an Ip header, a Tcp/Udp header and a payload.
Packet(byte[], WinDivertAddress) - Constructor for class com.github.ffalcinelli.jdivert.Packet
Construct a Packet from the given byte array and for the given WinDivertAddress metadata.
Packet(byte[], int[], Enums.Direction) - Constructor for class com.github.ffalcinelli.jdivert.Packet
Construct a Packet from the given byte array and for the given metadata.
parseHexBinary(String) - Static method in class com.github.ffalcinelli.jdivert.Util
Converts the string argument into an array of bytes.
printHexBinary(ByteBuffer) - Static method in class com.github.ffalcinelli.jdivert.Util
"Hexlify" a ByteBuffer into a string.
printHexBinary(byte[]) - Static method in class com.github.ffalcinelli.jdivert.Util
Converts an array of bytes into a string.

R

raw - Variable in class com.github.ffalcinelli.jdivert.headers.Header
 
recalculateChecksum(Enums.CalcChecksumsOption...) - Method in class com.github.ffalcinelli.jdivert.Packet
Recalculates the checksum fields matching the given options.
recv() - Method in class com.github.ffalcinelli.jdivert.WinDivert
Receives a diverted packet that matched the filter.
recv(int) - Method in class com.github.ffalcinelli.jdivert.WinDivert
Receives a diverted packet that matched the filter.

S

send(Packet) - Method in class com.github.ffalcinelli.jdivert.WinDivert
Injects a packet into the headers stack.
send(Packet, boolean, Enums.CalcChecksumsOption...) - Method in class com.github.ffalcinelli.jdivert.WinDivert
Injects a packet into the headers stack.
set(Ipv4.Flag, boolean) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
set(Tcp.Flag, boolean) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setAckNumber(int) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setAddrLen(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
Set the length of address fields.
setBytesAtOffset(int, int, byte[]) - Method in class com.github.ffalcinelli.jdivert.headers.Header
Convenience method to set an array of data
setBytesAtOffset(ByteBuffer, int, int, byte[]) - Static method in class com.github.ffalcinelli.jdivert.Util
Given a ByteBuffer set bytes in an absolute offset without altering its current position.
setChecksum(int) - Method in class com.github.ffalcinelli.jdivert.headers.Icmp
 
setChecksum(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setChecksum(int) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setChecksum(int) - Method in class com.github.ffalcinelli.jdivert.headers.Udp
 
setCode(byte) - Method in class com.github.ffalcinelli.jdivert.headers.Icmp
 
setData(byte[]) - Method in class com.github.ffalcinelli.jdivert.headers.Udp
 
setDataOffset(int) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setDiffServ(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setDSCP(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setDstAddr(T) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
setDstAddr(String) - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to set the destination address.
setDstAddrOffset(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
Set the destination address field offset.
setDstAddrStr(String) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
setDstPort(int) - Method in class com.github.ffalcinelli.jdivert.headers.Transport
 
setDstPort(int) - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to set the destination port number.
setECN(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setFlag(int, int, boolean) - Method in class com.github.ffalcinelli.jdivert.headers.Header
Convenience method to set the status of a flag (1 bit)
setFlags(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
Sets flags with a bitmask
setFlags(int) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setFragmentOffset(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setHopLimit(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
setID(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setIHL(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setInetAddressAtOffset(int, T) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
setLength(int) - Method in class com.github.ffalcinelli.jdivert.headers.Udp
 
setMessageBody(byte[]) - Method in class com.github.ffalcinelli.jdivert.headers.Icmpv6
 
setNextHeader(Enums.Protocol) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
setOptions(byte[]) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setOptions(byte[]) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setParam(Enums.Param, long) - Method in class com.github.ffalcinelli.jdivert.WinDivert
Set a WinDivert parameter.
setPayload(byte[]) - Method in class com.github.ffalcinelli.jdivert.Packet
Sets the given byte array as Packet payload.
setPayloadLength(short) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
setProtocol(Enums.Protocol) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setReserved(int) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setRestOfHeader(byte[]) - Method in class com.github.ffalcinelli.jdivert.headers.Icmpv4
 
setSeqNumber(int) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setSrcAddr(T) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
setSrcAddr(String) - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to set the source address.
setSrcAddrOffset(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
Set the source address field offset.
setSrcAddrStr(String) - Method in class com.github.ffalcinelli.jdivert.headers.Ip
 
setSrcPort(int) - Method in class com.github.ffalcinelli.jdivert.headers.Transport
 
setSrcPort(int) - Method in class com.github.ffalcinelli.jdivert.Packet
Convenience method to set the source port number.
setTOS(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setTotalLength(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setTTL(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setType(byte) - Method in class com.github.ffalcinelli.jdivert.headers.Icmp
 
setUrgentPointer(int) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
setVersion(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
setVersion(int) - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
setWindowSize(int) - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
start - Variable in class com.github.ffalcinelli.jdivert.headers.Header
 
SubIfIdx - Variable in class com.github.ffalcinelli.jdivert.windivert.WinDivertAddress
 

T

Tcp - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 21/10/2016.
Tcp(ByteBuffer, int) - Constructor for class com.github.ffalcinelli.jdivert.headers.Tcp
 
Tcp.Flag - Enum in com.github.ffalcinelli.jdivert.headers
 
TemporaryDirManager - Interface in com.github.ffalcinelli.jdivert.windivert
Created by fabio on 17/02/2017.
throwExceptionOnGetLastError() - Static method in exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
Throw a WinDivertException whenever GetLastError returned a code different from 0 (Success) 997 (Overlapped I/O is in progress)
toString() - Method in exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
 
toString() - Method in class com.github.ffalcinelli.jdivert.headers.Icmpv4
 
toString() - Method in class com.github.ffalcinelli.jdivert.headers.Icmpv6
 
toString() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv4
 
toString() - Method in class com.github.ffalcinelli.jdivert.headers.Ipv6
 
toString() - Method in class com.github.ffalcinelli.jdivert.headers.Tcp
 
toString() - Method in class com.github.ffalcinelli.jdivert.headers.Udp
 
toString() - Method in class com.github.ffalcinelli.jdivert.Packet
 
toString() - Method in class com.github.ffalcinelli.jdivert.WinDivert
 
Transport - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 24/10/2016.
Transport(ByteBuffer, int) - Constructor for class com.github.ffalcinelli.jdivert.headers.Transport
 

U

Udp - Class in com.github.ffalcinelli.jdivert.headers
Created by fabio on 25/10/2016.
Udp(ByteBuffer, int) - Constructor for class com.github.ffalcinelli.jdivert.headers.Udp
 
unsigned(short) - Static method in class com.github.ffalcinelli.jdivert.Util
Convert a short into its unsigned representation as int.
unsigned(byte) - Static method in class com.github.ffalcinelli.jdivert.Util
Convert a byte into its unsigned representation as int.
Util - Class in com.github.ffalcinelli.jdivert
Created by fabio on 26/10/2016.
Util() - Constructor for class com.github.ffalcinelli.jdivert.Util
 

V

valueOf(String) - Static method in enum com.github.ffalcinelli.jdivert.Enums.CalcChecksumsOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.ffalcinelli.jdivert.Enums.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.ffalcinelli.jdivert.Enums.Flag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.ffalcinelli.jdivert.Enums.Layer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.ffalcinelli.jdivert.Enums.Param
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.ffalcinelli.jdivert.Enums.Protocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.ffalcinelli.jdivert.headers.Ipv4.Flag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.ffalcinelli.jdivert.headers.Tcp.Flag
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.ffalcinelli.jdivert.Enums.CalcChecksumsOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.ffalcinelli.jdivert.Enums.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.ffalcinelli.jdivert.Enums.Flag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.ffalcinelli.jdivert.Enums.Layer
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.ffalcinelli.jdivert.Enums.Param
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.ffalcinelli.jdivert.Enums.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.ffalcinelli.jdivert.headers.Ipv4.Flag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.ffalcinelli.jdivert.headers.Tcp.Flag
Returns an array containing the constants of this enum type, in the order they are declared.

W

WinDivert - Class in com.github.ffalcinelli.jdivert
A WinDivert handle that can be used to capture packets.
WinDivert(String) - Constructor for class com.github.ffalcinelli.jdivert.WinDivert
Create a new WinDivert instance based upon the given filter for NETWORK layer with priority set to 0 and in DEFAULT mode (Drop and divert packet).
WinDivert(String, Enums.Layer, int, Enums.Flag...) - Constructor for class com.github.ffalcinelli.jdivert.WinDivert
Create a new WinDivert instance based upon the given parameters
WinDivertAddress - Class in com.github.ffalcinelli.jdivert.windivert
Represents the "address" of a captured or injected packet.
WinDivertAddress() - Constructor for class com.github.ffalcinelli.jdivert.windivert.WinDivertAddress
 
WinDivertClose(WinNT.HANDLE) - Method in interface com.github.ffalcinelli.jdivert.windivert.WinDivertDLL
 
WinDivertDLL - Interface in com.github.ffalcinelli.jdivert.windivert
Created by fabio on 20/10/2016.
WinDivertException - Exception in com.github.ffalcinelli.jdivert.exceptions
Created by fabio on 21/10/2016.
WinDivertException(int) - Constructor for exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
 
WinDivertException(int, String) - Constructor for exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
 
WinDivertException(int, String, Throwable) - Constructor for exception com.github.ffalcinelli.jdivert.exceptions.WinDivertException
 
WinDivertGetParam(WinNT.HANDLE, int, LongByReference) - Method in interface com.github.ffalcinelli.jdivert.windivert.WinDivertDLL
 
WinDivertHelperCalcChecksums(Pointer, int, long) - Method in interface com.github.ffalcinelli.jdivert.windivert.WinDivertDLL
 
WinDivertOpen(String, int, short, long) - Method in interface com.github.ffalcinelli.jdivert.windivert.WinDivertDLL
 
WinDivertRecv(WinNT.HANDLE, Pointer, int, Pointer, IntByReference) - Method in interface com.github.ffalcinelli.jdivert.windivert.WinDivertDLL
 
WinDivertSend(WinNT.HANDLE, Pointer, int, Pointer, IntByReference) - Method in interface com.github.ffalcinelli.jdivert.windivert.WinDivertDLL
 
WinDivertSetParam(WinNT.HANDLE, int, long) - Method in interface com.github.ffalcinelli.jdivert.windivert.WinDivertDLL
 

Z

zeroPadArray(byte[], int) - Static method in class com.github.ffalcinelli.jdivert.Util
Pad a byte array with zeroes.
B C D E F G H I L M O P R S T U V W Z 
Skip navigation links