Lines Matching defs:sndlen
6680 if (ca->sndlen > 0) {
6717 ph->param_length = htons((uint16_t)(sizeof(struct sctp_paramhdr) + ca->sndlen));
6916 ssize_t sndlen;
6920 sndlen = uio->uio_resid;
6922 sndlen = 0;
6924 sndlen += SCTP_BUF_LEN(mat);
6927 if (sndlen > (ssize_t)SCTP_BASE_SYSCTL(sctp_sendall_limit)) {
6959 ca->sndlen = sndlen;
6961 ca->m = sctp_copy_out_all(uio, ca->sndlen);
12582 ssize_t sndlen = 0, max_len, local_add_more;
12643 sndlen = uio->uio_resid;
12645 sndlen = SCTP_HEADER_LEN(top);
12648 (void *)addr, sndlen);
12797 ((sinfo_flags & SCTP_EOF) && (sndlen == 0))) {
12900 if (sndlen != 0) {
12908 tot_out = sndlen;
12959 if (sndlen != 0) {
12975 if (sndlen != 0) {
13006 if (sndlen == 0) {
13016 if (sndlen > (ssize_t)asoc->smallest_mtu) {
13049 amount = sndlen;
13055 if ((sndlen > (ssize_t)SCTP_SB_LIMIT_SND(so)) &&
13064 atomic_add_int(&asoc->sb_send_resv, (int)sndlen);
13065 local_soresv = sndlen;
13087 (sndlen > (ssize_t)SCTP_SB_LIMIT_SND(stcb->sctp_socket))) {
13099 local_add_more = sndlen;
13120 sctp_log_block(SCTP_BLOCK_LOG_INTO_BLKA, asoc, sndlen);
13177 * sndlen covers for mbuf case uio_resid covers for the non-mbuf
13375 sctp_prune_prsctp(stcb, asoc, sndrcvninfo, (int)sndlen);
13771 atomic_subtract_int(&asoc->sb_send_resv, (int)sndlen);