Transformation functions for the simple DSL for extracting data from packets that are represented as...
clj-net-pcap.CljNetPcapJavaAdapter | Adapter class to enable usage of clj-net-pcap from Java. |
clj-net-pcap.byte-array-extraction-dsl | A simple DSL for extracting data from packets that are represented as byte arrays. |
clj-net-pcap.core | clj-net-pcap is a wrapper/adapter/facade (whatever) around jNetPcap that
enables and ease... |
clj-net-pcap.main | Main class and method for launching a simple clj-net-pcap based sniffer
that prints some i... |
clj-net-pcap.native | Functions etc. for extracting, loading etc. native libraries from the jar file. |
clj-net-pcap.packet-gen | The packet-gen namespace contains functionality for generating and sending packets. |
clj-net-pcap.packet-offsets | Common offsets of header fields etc. |
clj-net-pcap.pcap | Functions for handling functionality related to org.jnetpcap.Pcap
such as listing network ... |
clj-net-pcap.pcap-data | Convenience functions for processing pcap data like packets and headers. |
clj-net-pcap.self-adaptive-dsl-adjustment | A simple proof of concept for adjusting DSL statements with self-adaptivity. |
clj-net-pcap.sniffer | Convenience functions for easing the implementation of a working
sniffer. |
Index Page | |
Alphabetic Var Index |
Transformation functions for the simple DSL for extracting data from packets that are represented as byte arrays.
Arglists: ========= (ethernet-address ba idx) Docstring: ========== Get the formated ethernet address String starting at index idx in the byte-array ba.
Arglists: ========= (int16 ba idx) Docstring: ========== Get the Int16 value of the two bytes starting at index idx in the byte-array ba.
Arglists: ========= (int16be ba idx) Docstring: ========== Get the big endian Int16 value of the two bytes starting at index idx in the byte-array ba.
Arglists: ========= (int32 ba idx) Docstring: ========== Get the Int32 value of the four bytes starting at index idx in the byte-array ba.
Arglists: ========= (int32be ba idx) Docstring: ========== Get the big endian Int32 value of the four bytes starting at index idx in the byte-array ba.
Arglists: ========= (int4high ba idx) Docstring: ========== Get the higher 4 bits (nibble) of the byte at the given index idx in the provided byte-array ba.
Arglists: ========= (int4low ba idx) Docstring: ========== Get the lower 4 bits (nibble) of the byte at the given index idx in the provided byte-array ba.
Arglists: ========= (int8 ba idx) Docstring: ========== Get the byte at the index idx in the byte-array ba.
Arglists: ========= (ipv4-address ba idx) Docstring: ========== Get the formated IPv4 address String starting at index idx in the byte-array ba.
Arglists: ========= (timestamp ba idx) Docstring: ========== Get the pcap timestamp value of the four bytes starting at index idx in the byte-array ba.
Arglists: ========= (timestamp-be ba idx) Docstring: ========== Get the pcap big endian timestamp value of the four bytes starting at index idx in the byte-array ba.