Mercurial > hg > freeDiameter
diff libfdproto/messages.c @ 894:43fb27a9037f
Intrumented socket reception to store the timestamp along the received buffer
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 29 Nov 2012 22:51:49 +0100 |
parents | 8187364e39ea |
children | fbf77629cb7b |
line wrap: on
line diff
--- a/libfdproto/messages.c Fri Nov 23 21:22:54 2012 +0100 +++ b/libfdproto/messages.c Thu Nov 29 22:51:49 2012 +0100 @@ -127,6 +127,8 @@ } msg_cb; /* Callback to be called when an answer is received, if not NULL */ DiamId_t msg_src_id; /* Diameter Id of the peer this message was received from. This string is malloc'd and must be freed */ size_t msg_src_id_len; /* cached length of this string */ + struct timespec msg_ts; /* Timestamp associated with the message */ + }; /* Macro to compute the message header size */