[sr-dev] [kamailio/kamailio] sipcapture/siptrace HEPv2 timestamp is endian specific (#695)

sjthomason notifications at github.com
Thu Jul 7 10:49:42 CEST 2016


I guess this is known since HEPv3 uses network byte order but I wanted to create this placeholder to try to address HEPv2 in a minimally invasive way.

I first discovered this when setting up a capture server on a big endian machine with agents that are little endian.  Is there a published standard for HEPv2 or would it be safe to assume that the timestamps need to be little endian?  If so, maybe a quick fix is to add some macros to sipcapture and siptrace modules that are basically the reverse of ntohl.  I.e. they would only reverse the byte order on big endian machines. 

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/695
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160707/fec95cec/attachment.html>


More information about the sr-dev mailing list