Navigation


Changeset 1102:1d7b3ebda27f in freeDiameter for libfdcore/sctps.c


Ignore:
Timestamp:
May 9, 2013, 5:40:02 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Children:
1103:d8591b1c56cd, 1105:6b4a417d2845
Phase:
public
Message:

Implemented the calls to HOOK_DATA_RECEIVED hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/sctps.c

    r1034 r1102  
    9292                                /* Demux this message to the appropriate fifo, another thread will pull, gnutls process, and send to target queue */
    9393                                if (strid < conn->cc_sctp_para.pairs) {
    94                                         /* Note, here the timespec is piggytailed to buf */
    9594                                        CHECK_FCT_DO(fd_event_send(conn->cc_sctps_data.array[strid].raw_recv, event, bufsz, buf), goto fatal );
    9695                                } else {
     
    196195                        return -1;
    197196                }
    198                 if (ev == FDEVP_CNX_MSG_RECV) {
    199                         memcpy(&ctx->recvon, ctx->partial.buf + ctx->partial.bufsz, sizeof(struct timespec)); /* retrieve piggy-tailed ts */
    200                 }
    201197        }
    202198               
Note: See TracChangeset for help on using the changeset viewer.