Home
last modified time | relevance | path

Searched refs:tsctp_meta (Results 1 – 1 of 1) sorted by relevance

/external/usrsctp/programs/
Dtsctp_upcall.c73 struct tsctp_meta { struct
167 struct tsctp_meta *meta_listening, *meta_accepted; in handle_accept()
170 meta_listening = (struct tsctp_meta *) upcall_data; in handle_accept()
182 meta_accepted = malloc(sizeof(struct tsctp_meta)); in handle_accept()
188 memset(meta_accepted, 0, sizeof(struct tsctp_meta)); in handle_accept()
206 struct tsctp_meta* tsctp_meta = (struct tsctp_meta*) upcall_data; in handle_upcall() local
226 …while ((n = usrsctp_recvv(upcall_socket, tsctp_meta->buffer, BUFFERSIZE, (struct sockaddr *) &addr… in handle_upcall()
228 if (!tsctp_meta->stat_recv_calls) { in handle_upcall()
229 gettimeofday(&tsctp_meta->stat_start, NULL); in handle_upcall()
231 tsctp_meta->stat_recv_calls++; in handle_upcall()
[all …]