Home
last modified time | relevance | path

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

/third_party/ltp/utils/sctp/func_tests/
Dtest_timetolive.c116 struct sctp_status gstatus; in main() local
263 memset(&gstatus,0,sizeof(struct sctp_status)); in main()
264 gstatus.sstat_assoc_id = associd1; in main()
265 error = getsockopt(sk1, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main()
271 gstatus.sstat_rwnd+RWND_SLOP); in main()
272 fillmsg = malloc(gstatus.sstat_rwnd+RWND_SLOP); in main()
288 memset(fillmsg, 'X', gstatus.sstat_rwnd+RWND_SLOP); in main()
289 fillmsg[gstatus.sstat_rwnd+RWND_SLOP-1] = '\0'; in main()
291 outmessage.msg_iov->iov_len = gstatus.sstat_rwnd+RWND_SLOP; in main()
297 gstatus.sstat_rwnd+RWND_SLOP); in main()
Dtest_sctp_sendrecvmsg.c94 struct sctp_status gstatus; in main() local
230 memset(&gstatus,0,sizeof(struct sctp_status)); in main()
231 gstatus.sstat_assoc_id = associd1; in main()
232 error = getsockopt(sk1, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main()
238 gstatus.sstat_rwnd+RWND_SLOP); in main()
239 fillmsg = malloc(gstatus.sstat_rwnd+RWND_SLOP); in main()
242 memset(fillmsg, 'X', gstatus.sstat_rwnd+RWND_SLOP); in main()
243 fillmsg[gstatus.sstat_rwnd+RWND_SLOP-1] = '\0'; in main()
246 test_sctp_sendmsg(sk1, fillmsg, gstatus.sstat_rwnd+RWND_SLOP, in main()
Dtest_1_to_1_sockopt.c95 struct sctp_status gstatus; /*SCTP_STATUS option*/ in main() local
318 error = getsockopt(sk2, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main()