Changes in libfdcore/sctp.c [1078:74bba7975864:1027:0117a7746b21] in freeDiameter
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/sctp.c
r1078 r1027 1068 1068 size_t mempagesz = sysconf(_SC_PAGESIZE); /* We alloc buffer by memory pages for efficiency */ 1069 1069 int timedout = 0; 1070 struct timespec recv_on; 1070 1071 1071 1072 TRACE_ENTRY("%p %p %p %p %p", conn, strid, buf, len, event); … … 1188 1189 } 1189 1190 1191 /* Piggy-tail the timestamp of reception */ 1192 CHECK_SYS_DO( clock_gettime(CLOCK_REALTIME, &recv_on), /* continue */ ); 1193 memcpy(data + datasize, &recv_on, sizeof(struct timespec)); 1194 1190 1195 /* From this point, we have received a message */ 1191 1196 *event = FDEVP_CNX_MSG_RECV;
Note: See TracChangeset
for help on using the changeset viewer.