Lines Matching refs:subscribe
88 struct sctp_event_subscribe subscribe; in main() local
302 optlen = sizeof(subscribe); in main()
303 test_getsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, &optlen); in main()
306 optlen = sizeof(subscribe); in main()
307 test_getsockopt(udp_clt_sk, SCTP_EVENTS, &subscribe, &optlen); in main()
312 memset(&subscribe, 0, sizeof(struct sctp_event_subscribe)); in main()
313 test_setsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, in main()
314 sizeof(subscribe)); in main()
315 test_setsockopt(udp_clt_sk, SCTP_EVENTS, &subscribe, in main()
316 sizeof(subscribe)); in main()
323 optlen = sizeof(subscribe); in main()
324 test_getsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, &optlen); in main()
325 optlen = sizeof(subscribe); in main()
326 test_getsockopt(udp_clt_sk, SCTP_EVENTS, &subscribe, &optlen); in main()
343 memset(&subscribe, 0, sizeof(struct sctp_event_subscribe)); in main()
344 subscribe.sctp_shutdown_event = 1; in main()
345 test_setsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, in main()
346 sizeof(subscribe)); in main()