tcpdump mailing list archives

Modular arithmetic


From: George Bakos <gbakos () alpinista org>
Date: Wed, 5 Sep 2012 21:39:41 +0000

I don't see any discussion regarding adding modular operations to
pcap, i.e. "header[offset:width] % 4 != 0". I've put together a patch
that compiles & honors that (at least on the few systems I've tried),
but was wondering if there were any fundamental reason to avoid it?

Thanks.
g
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: