You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust/src/dhcp
Jason Ish 7b11b4d3a1 app-layer: more generic state trait
Instead of a method that is required to return a slice of transactions,
use 2 methods, one to return the number of transactions in the
collection, and another to get a transaction by its index in the
collection.

This allows for the transaction collection to not be a contiguous array
and instead can be a VecDeque, or possibly another collection type that
supports retrieval by index.

Ticket #5278
3 years ago
..
README.txt
ack.pcap
dhcp.rs app-layer: more generic state trait 3 years ago
discover.pcap
logger.rs rust: remove unnecessary nested match 4 years ago
mod.rs
offer.pcap
parser.rs rust/dhcp: convert parser to nom7 functions 4 years ago
request.pcap

README.txt

These test pcap files are individual packets broken out of a pcap
containing 4 DHCP messages. The original source of the PCAP file is

https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=get&target=dhcp.pcap