[Oisf-devel] memcmp versus SCMemcmp

David Mandelberg dmandelb at bbn.com
Wed Nov 28 17:01:12 UTC 2012


Hi,

I'm working on adding some events to src/decode-icmpv4.c and
src/decode-icmpv6.c, and I want to compare IP addresses for
(non-)equality only. I noticed that there's a function SCMemcmp that
seems to do what I want, but I wasn't sure. Should I use plain old
memcmp, or SCMemcmp? Does it matter?



More information about the Oisf-devel mailing list