Lines Matching refs:subscribe
2147 if (sctp_ulpevent_type_enabled(sp->subscribe, SCTP_DATA_IO_EVENT)) in sctp_recvmsg()
2221 sctp_ulpevent_type_set(&sp->subscribe, SCTP_SN_TYPE_BASE + i, in sctp_setsockopt_events()
2225 asoc->subscribe = sctp_sk(sk)->subscribe; in sctp_setsockopt_events()
2231 if (sctp_ulpevent_type_enabled(sp->subscribe, SCTP_SENDER_DRY_EVENT)) { in sctp_setsockopt_events()
4261 sctp_ulpevent_type_set(&asoc->subscribe, param->se_type, param->se_on); in sctp_assoc_ulpevent_type_set()
4304 sctp_ulpevent_type_set(&sp->subscribe, in sctp_setsockopt_event()
4891 sp->subscribe = 0; in sctp_init_sock()
5442 struct sctp_event_subscribe subscribe; in sctp_getsockopt_events() local
5443 __u8 *sn_type = (__u8 *)&subscribe; in sctp_getsockopt_events()
5454 sn_type[i] = sctp_ulpevent_type_enabled(sctp_sk(sk)->subscribe, in sctp_getsockopt_events()
5457 if (copy_to_user(optval, &subscribe, len)) in sctp_getsockopt_events()
7619 __u16 subscribe; in sctp_getsockopt_event() local
7637 subscribe = asoc ? asoc->subscribe : sctp_sk(sk)->subscribe; in sctp_getsockopt_event()
7638 param.se_on = sctp_ulpevent_type_enabled(subscribe, param.se_type); in sctp_getsockopt_event()
9411 .useroffset = offsetof(struct sctp_sock, subscribe),
9413 offsetof(struct sctp_sock, subscribe) +
9454 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
9456 offsetof(struct sctp6_sock, sctp.subscribe) +