From: Jonathan McDowell Date: Mon, 25 Apr 2011 01:47:24 +0000 (-0700) Subject: Make compare_packet follow memcmp semantics and export to other modules X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/b3fb0618da777d1ce58418ab36bc4321f5cf77ef?ds=inline;hp=b3fb0618da777d1ce58418ab36bc4321f5cf77ef Make compare_packet follow memcmp semantics and export to other modules compare_packet is potentially useful elsewhere, but rather than a true/false comparison provide -1/0/1 for less than/equal/greater than, as memcmp does. ---