Home
last modified time | relevance | path

Searched refs:sn_type (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/include/net/sctp/
H A Dulpevent.h155 __u16 sn_type, __u8 on) in sctp_ulpevent_type_set() argument
157 if (sn_type > SCTP_SN_TYPE_MAX) in sctp_ulpevent_type_set()
161 *subscribe |= (1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_set()
163 *subscribe &= ~(1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_set()
167 static inline bool sctp_ulpevent_type_enabled(__u16 subscribe, __u16 sn_type) in sctp_ulpevent_type_enabled() argument
169 if (sn_type > SCTP_SN_TYPE_MAX) in sctp_ulpevent_type_enabled()
172 return subscribe & (1 << (sn_type - SCTP_SN_TYPE_BASE)); in sctp_ulpevent_type_enabled()
179 __u16 sn_type; in sctp_ulpevent_is_enabled() local
184 sn_type = sctp_ulpevent_get_notification_type(event); in sctp_ulpevent_is_enabled()
186 return sctp_ulpevent_type_enabled(subscribe, sn_type); in sctp_ulpevent_is_enabled()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dsctp.h611 __u16 sn_type; /* Notification type. */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dsctp.h611 __u16 sn_type; /* Notification type. */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dsctp.h635 __u16 sn_type; /* Notification type. */ member
/OK3568_Linux_fs/kernel/net/sctp/
H A Dulpevent.c981 return notification->sn_header.sn_type; in sctp_ulpevent_get_notification_type()
H A Dsocket.c2215 static int sctp_setsockopt_events(struct sock *sk, __u8 *sn_type, in sctp_setsockopt_events() argument
2227 sn_type[i]); in sctp_setsockopt_events()
5448 __u8 *sn_type = (__u8 *)&subscribe; in sctp_getsockopt_events() local
5459 sn_type[i] = sctp_ulpevent_type_enabled(sctp_sk(sk)->subscribe, in sctp_getsockopt_events()