Lines Matching refs:event
1775 struct sctp_event event; in BIO_new_dgram_sctp() local
1777 struct sctp_event_subscribe event; in BIO_new_dgram_sctp() local
1849 memset(&event, 0, sizeof(event)); in BIO_new_dgram_sctp()
1850 event.se_assoc_id = 0; in BIO_new_dgram_sctp()
1851 event.se_type = SCTP_AUTHENTICATION_EVENT; in BIO_new_dgram_sctp()
1852 event.se_on = 1; in BIO_new_dgram_sctp()
1854 setsockopt(fd, IPPROTO_SCTP, SCTP_EVENT, &event, in BIO_new_dgram_sctp()
1862 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, &sockopt_len); in BIO_new_dgram_sctp()
1868 event.sctp_authentication_event = 1; in BIO_new_dgram_sctp()
1871 setsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, in BIO_new_dgram_sctp()
2026 struct sctp_event event; in dgram_sctp_read() local
2028 struct sctp_event_subscribe event; in dgram_sctp_read()
2034 memset(&event, 0, sizeof(event)); in dgram_sctp_read()
2035 event.se_assoc_id = 0; in dgram_sctp_read()
2036 event.se_type = SCTP_SENDER_DRY_EVENT; in dgram_sctp_read()
2037 event.se_on = 0; in dgram_sctp_read()
2038 i = setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENT, &event, in dgram_sctp_read()
2046 i = getsockopt(b->num, IPPROTO_SCTP, SCTP_EVENTS, &event, in dgram_sctp_read()
2053 event.sctp_sender_dry_event = 0; in dgram_sctp_read()
2055 i = setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENTS, &event, in dgram_sctp_read()
2569 struct sctp_event event; in dgram_sctp_wait_for_dry() local
2571 struct sctp_event_subscribe event; in dgram_sctp_wait_for_dry() local
2578 memset(&event, 0, sizeof(event)); in dgram_sctp_wait_for_dry()
2579 event.se_assoc_id = 0; in dgram_sctp_wait_for_dry()
2580 event.se_type = SCTP_SENDER_DRY_EVENT; in dgram_sctp_wait_for_dry()
2581 event.se_on = 1; in dgram_sctp_wait_for_dry()
2583 setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENT, &event, in dgram_sctp_wait_for_dry()
2587 ret = getsockopt(b->num, IPPROTO_SCTP, SCTP_EVENTS, &event, &eventsize); in dgram_sctp_wait_for_dry()
2591 event.sctp_sender_dry_event = 1; in dgram_sctp_wait_for_dry()
2594 setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENTS, &event, in dgram_sctp_wait_for_dry()
2648 memset(&event, 0, sizeof(event)); in dgram_sctp_wait_for_dry()
2649 event.se_assoc_id = 0; in dgram_sctp_wait_for_dry()
2650 event.se_type = SCTP_SENDER_DRY_EVENT; in dgram_sctp_wait_for_dry()
2651 event.se_on = 0; in dgram_sctp_wait_for_dry()
2653 setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENT, &event, in dgram_sctp_wait_for_dry()
2658 getsockopt(b->num, IPPROTO_SCTP, SCTP_EVENTS, &event, in dgram_sctp_wait_for_dry()
2663 event.sctp_sender_dry_event = 0; in dgram_sctp_wait_for_dry()
2666 setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENTS, &event, in dgram_sctp_wait_for_dry()