Lines Matching refs:from_len
244 u16_t from_len; member
501 if (smtp_verify(s->from, s->from_len, 0) != ERR_OK) { in smtp_send_mail_alloced()
589 size_t from_len = strlen(from); in smtp_send_mail() local
598 mem_len += from_len + to_len + subject_len + body_len + 4; in smtp_send_mail()
612 s->from_len = (u16_t)from_len; in smtp_send_mail()
613 s->to = sto = sfrom + from_len + 1; in smtp_send_mail()
621 MEMCPY(sfrom, from, from_len + 1); in smtp_send_mail()
657 s->from_len = (u16_t)len; in smtp_send_mail_static()
1144 …LWIP_ASSERT("tx_buf overflow detected", s->from_len <= (SMTP_TX_BUF_LEN - SMTP_CMD_MAIL_1_LEN - SM… in smtp_prepare_mail()
1145 *tx_buf_len = (u16_t)(SMTP_CMD_MAIL_1_LEN + SMTP_CMD_MAIL_2_LEN + s->from_len); in smtp_prepare_mail()
1150 MEMCPY(target, s->from, s->from_len); in smtp_prepare_mail()
1151 target += s->from_len; in smtp_prepare_mail()
1179 SMTP_CMD_HEADER_3_LEN + SMTP_CMD_HEADER_4_LEN + s->from_len + s->to_len + in smtp_prepare_header()
1187 MEMCPY(target, s->from, s->from_len); in smtp_prepare_header()
1188 target += s->from_len; in smtp_prepare_header()
1491 s->from_len = (u16_t)len; in smtp_send_mail_bodycback()