Lines Matching refs:dlen
223 int hlen, tlen, dlen, pflags; in AliasHandleFtpOut() local
232 dlen = tlen - hlen; in AliasHandleFtpOut()
243 if (dlen <= MAX_MESSAGE_SIZE && !(pflags & WAIT_CRLF)) { in AliasHandleFtpOut()
248 if (ParseFtpPortCommand(la, sptr, dlen)) in AliasHandleFtpOut()
250 else if (ParseFtpEprtCommand(la, sptr, dlen)) in AliasHandleFtpOut()
254 if (ParseFtp227Reply(la, sptr, dlen)) in AliasHandleFtpOut()
256 else if (ParseFtp229Reply(la, sptr, dlen)) { in AliasHandleFtpOut()
267 if (dlen) { /* only if there's data */ in AliasHandleFtpOut()
283 int hlen, tlen, dlen, pflags; in AliasHandleFtpIn() local
291 dlen = tlen - hlen; in AliasHandleFtpIn()
302 if (dlen <= MAX_MESSAGE_SIZE && (pflags & WAIT_CRLF) == 0 && in AliasHandleFtpIn()
304 (ParseFtpPortCommand(la, sptr, dlen) != 0 || in AliasHandleFtpIn()
305 ParseFtpEprtCommand(la, sptr, dlen) != 0)) { in AliasHandleFtpIn()
316 if (dlen) { in AliasHandleFtpIn()
329 ParseFtpPortCommand(struct libalias *la, char *sptr, int dlen) in ParseFtpPortCommand() argument
340 if (dlen < 18) in ParseFtpPortCommand()
348 for (i = 5; i < dlen; i++) { in ParseFtpPortCommand()
402 ParseFtpEprtCommand(struct libalias *la, char *sptr, int dlen) in ParseFtpEprtCommand() argument
413 if (dlen < 18) in ParseFtpEprtCommand()
422 for (i = 5; i < dlen; i++) { in ParseFtpEprtCommand()
492 ParseFtp227Reply(struct libalias *la, char *sptr, int dlen) in ParseFtp227Reply() argument
503 if (dlen < 17) in ParseFtp227Reply()
512 for (i = 4; i < dlen; i++) { in ParseFtp227Reply()
565 ParseFtp229Reply(struct libalias *la, char *sptr, int dlen) in ParseFtp229Reply() argument
574 if (dlen < 11) in ParseFtp229Reply()
584 for (i = 4; i < dlen; i++) { in ParseFtp229Reply()
654 int slen, hlen, tlen, dlen; in NewFtpMessage() local
666 dlen = tlen - hlen; in NewFtpMessage()
735 AddSeq(lnk, delta + slen - dlen, pip->ip_hl, in NewFtpMessage()