Lines Matching refs:subscribe
2145 if (sctp_ulpevent_type_enabled(sp->subscribe, SCTP_DATA_IO_EVENT)) in sctp_recvmsg()
2219 sctp_ulpevent_type_set(&sp->subscribe, SCTP_SN_TYPE_BASE + i, in sctp_setsockopt_events()
2223 asoc->subscribe = sctp_sk(sk)->subscribe; in sctp_setsockopt_events()
2229 if (sctp_ulpevent_type_enabled(sp->subscribe, SCTP_SENDER_DRY_EVENT)) { in sctp_setsockopt_events()
4260 sctp_ulpevent_type_set(&asoc->subscribe, param->se_type, param->se_on); in sctp_assoc_ulpevent_type_set()
4303 sctp_ulpevent_type_set(&sp->subscribe, in sctp_setsockopt_event()
5001 sp->subscribe = 0; in sctp_init_sock()
5562 struct sctp_event_subscribe subscribe; in sctp_getsockopt_events() local
5563 __u8 *sn_type = (__u8 *)&subscribe; in sctp_getsockopt_events()
5574 sn_type[i] = sctp_ulpevent_type_enabled(sctp_sk(sk)->subscribe, in sctp_getsockopt_events()
5577 if (copy_to_user(optval, &subscribe, len)) in sctp_getsockopt_events()
7739 __u16 subscribe; in sctp_getsockopt_event() local
7757 subscribe = asoc ? asoc->subscribe : sctp_sk(sk)->subscribe; in sctp_getsockopt_event()
7758 param.se_on = sctp_ulpevent_type_enabled(subscribe, param.se_type); in sctp_getsockopt_event()
9657 .useroffset = offsetof(struct sctp_sock, subscribe),
9659 offsetof(struct sctp_sock, subscribe) +
9712 .useroffset = offsetof(struct sctp6_sock, sctp.subscribe),
9714 offsetof(struct sctp6_sock, sctp.subscribe) +