Searched refs:sn_type (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/net/sctp/
H A Dulpevent.h155 __u16 sn_type, __u8 on)
157 if (sn_type > SCTP_SN_TYPE_MAX)
161 *subscribe |= (1 << (sn_type - SCTP_SN_TYPE_BASE));
163 *subscribe &= ~(1 << (sn_type - SCTP_SN_TYPE_BASE));
167 static inline bool sctp_ulpevent_type_enabled(__u16 subscribe, __u16 sn_type) argument
169 if (sn_type > SCTP_SN_TYPE_MAX)
172 return subscribe & (1 << (sn_type - SCTP_SN_TYPE_BASE));
179 __u16 sn_type; local
184 sn_type = sctp_ulpevent_get_notification_type(event);
186 return sctp_ulpevent_type_enabled(subscribe, sn_type);
154 sctp_ulpevent_type_set(__u16 *subscribe, __u16 sn_type, __u8 on) argument
[all...]
/linux-master/include/uapi/linux/
H A Dsctp.h637 __u16 sn_type; /* Notification type. */ member in struct:sctp_notification::__anon3994
657 * All standard values for sn_type flags are greater than 2^15.
/linux-master/net/sctp/
H A Dulpevent.c981 return notification->sn_header.sn_type;
H A Dsocket.c2220 static int sctp_setsockopt_events(struct sock *sk, __u8 *sn_type, argument
2232 sn_type[i]);
5577 __u8 *sn_type = (__u8 *)&subscribe; local
5588 sn_type[i] = sctp_ulpevent_type_enabled(sctp_sk(sk)->subscribe,

Completed in 140 milliseconds