Searched refs:gstatus (Results 1 – 3 of 3) sorted by relevance
/external/ltp/utils/sctp/func_tests/ |
D | test_timetolive.c | 115 struct sctp_status gstatus; in main() local 259 memset(&gstatus,0,sizeof(struct sctp_status)); in main() 260 gstatus.sstat_assoc_id = associd1; in main() 261 error = getsockopt(sk1, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main() 267 gstatus.sstat_rwnd+RWND_SLOP); in main() 268 fillmsg = malloc(gstatus.sstat_rwnd+RWND_SLOP); in main() 284 memset(fillmsg, 'X', gstatus.sstat_rwnd+RWND_SLOP); in main() 285 fillmsg[gstatus.sstat_rwnd+RWND_SLOP-1] = '\0'; in main() 287 outmessage.msg_iov->iov_len = gstatus.sstat_rwnd+RWND_SLOP; in main() 293 gstatus.sstat_rwnd+RWND_SLOP); in main()
|
D | test_sctp_sendrecvmsg.c | 93 struct sctp_status gstatus; in main() local 226 memset(&gstatus,0,sizeof(struct sctp_status)); in main() 227 gstatus.sstat_assoc_id = associd1; in main() 228 error = getsockopt(sk1, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main() 234 gstatus.sstat_rwnd+RWND_SLOP); in main() 235 fillmsg = malloc(gstatus.sstat_rwnd+RWND_SLOP); in main() 238 memset(fillmsg, 'X', gstatus.sstat_rwnd+RWND_SLOP); in main() 239 fillmsg[gstatus.sstat_rwnd+RWND_SLOP-1] = '\0'; in main() 242 test_sctp_sendmsg(sk1, fillmsg, gstatus.sstat_rwnd+RWND_SLOP, in main()
|
D | test_1_to_1_sockopt.c | 94 struct sctp_status gstatus; /*SCTP_STATUS option*/ in main() local 314 error = getsockopt(sk2, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main()
|