Lines Matching refs:subscribe
87 struct sctp_event_subscribe subscribe; in main() local
298 optlen = sizeof(subscribe); in main()
299 test_getsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, &optlen); in main()
302 optlen = sizeof(subscribe); in main()
303 test_getsockopt(udp_clt_sk, SCTP_EVENTS, &subscribe, &optlen); in main()
308 memset(&subscribe, 0, sizeof(struct sctp_event_subscribe)); in main()
309 test_setsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, in main()
310 sizeof(subscribe)); in main()
311 test_setsockopt(udp_clt_sk, SCTP_EVENTS, &subscribe, in main()
312 sizeof(subscribe)); in main()
319 optlen = sizeof(subscribe); in main()
320 test_getsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, &optlen); in main()
321 optlen = sizeof(subscribe); in main()
322 test_getsockopt(udp_clt_sk, SCTP_EVENTS, &subscribe, &optlen); in main()
340 memset(&subscribe, 0, sizeof(struct sctp_event_subscribe)); in main()
341 subscribe.sctp_shutdown_event = 1; in main()
342 test_setsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, in main()
343 sizeof(subscribe)); in main()