Lines Matching refs:notif_len
3153 unsigned int notif_len; in sctp_notify_assoc_change() local
3161 notif_len = (unsigned int)sizeof(struct sctp_assoc_change); in sctp_notify_assoc_change()
3175 notif_len += SCTP_ASSOC_SUPPORTS_MAX; in sctp_notify_assoc_change()
3177 notif_len += abort_len; in sctp_notify_assoc_change()
3179 m_notify = sctp_get_mbuf_for_msg(notif_len, 0, M_NOWAIT, 1, MT_DATA); in sctp_notify_assoc_change()
3182 notif_len = (unsigned int)sizeof(struct sctp_assoc_change); in sctp_notify_assoc_change()
3183 m_notify = sctp_get_mbuf_for_msg(notif_len, 0, M_NOWAIT, 1, MT_DATA); in sctp_notify_assoc_change()
3190 memset(sac, 0, notif_len); in sctp_notify_assoc_change()
3200 if (notif_len > sizeof(struct sctp_assoc_change)) { in sctp_notify_assoc_change()
3996 unsigned int notif_len; in sctp_notify_remote_error() local
4015 notif_len = (unsigned int)(sizeof(struct sctp_remote_error) + chunk_len); in sctp_notify_remote_error()
4016 m_notify = sctp_get_mbuf_for_msg(notif_len, 0, M_NOWAIT, 1, MT_DATA); in sctp_notify_remote_error()
4019 notif_len = (unsigned int)sizeof(struct sctp_remote_error); in sctp_notify_remote_error()
4020 m_notify = sctp_get_mbuf_for_msg(notif_len, 0, M_NOWAIT, 1, MT_DATA); in sctp_notify_remote_error()
4027 memset(sre, 0, notif_len); in sctp_notify_remote_error()
4033 if (notif_len > sizeof(struct sctp_remote_error)) { in sctp_notify_remote_error()