Navigation


Changeset 1078:74bba7975864 in freeDiameter for libfdcore/sctp.c


Ignore:
Timestamp:
Apr 30, 2013, 4:37:57 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Cleanup the timing data and fd_msg_log feature that will be replaced by the new hooks mechanism. Kept the calls to fd_msg_log in comments to find the locations easily. WORK IN PROGRESS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/sctp.c

    r1027 r1078  
    10681068        size_t                   mempagesz = sysconf(_SC_PAGESIZE); /* We alloc buffer by memory pages for efficiency */
    10691069        int                      timedout = 0;
    1070         struct timespec          recv_on;
    10711070       
    10721071        TRACE_ENTRY("%p %p %p %p %p", conn, strid, buf, len, event);
     
    11891188        }
    11901189       
    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                
    11951190        /* From this point, we have received a message */
    11961191        *event = FDEVP_CNX_MSG_RECV;
Note: See TracChangeset for help on using the changeset viewer.