Lines Matching refs:dlen

231 	int hlen, tlen, dlen, pflags;  in AliasHandleFtpOut()  local
240 dlen = tlen - hlen; in AliasHandleFtpOut()
251 if (dlen <= MAX_MESSAGE_SIZE && !(pflags & WAIT_CRLF)) { in AliasHandleFtpOut()
258 if (ParseFtpPortCommand(la, sptr, dlen)) in AliasHandleFtpOut()
260 else if (ParseFtpEprtCommand(la, sptr, dlen)) in AliasHandleFtpOut()
266 if (ParseFtp227Reply(la, sptr, dlen)) in AliasHandleFtpOut()
268 else if (ParseFtp229Reply(la, sptr, dlen)) { in AliasHandleFtpOut()
279 if (dlen) { /* only if there's data */ in AliasHandleFtpOut()
296 int hlen, tlen, dlen, pflags; in AliasHandleFtpIn() local
304 dlen = tlen - hlen; in AliasHandleFtpIn()
315 if (dlen <= MAX_MESSAGE_SIZE && (pflags & WAIT_CRLF) == 0 && in AliasHandleFtpIn()
317 (ParseFtpPortCommand(la, sptr, dlen) != 0 || in AliasHandleFtpIn()
318 ParseFtpEprtCommand(la, sptr, dlen) != 0)) { in AliasHandleFtpIn()
329 if (dlen) { in AliasHandleFtpIn()
343 ParseFtpPortCommand(struct libalias *la, char *sptr, int dlen) in ParseFtpPortCommand() argument
354 if (dlen < 18) in ParseFtpPortCommand()
362 for (i = 5; i < dlen; i++) { in ParseFtpPortCommand()
416 ParseFtpEprtCommand(struct libalias *la, char *sptr, int dlen) in ParseFtpEprtCommand() argument
427 if (dlen < 18) in ParseFtpEprtCommand()
436 for (i = 5; i < dlen; i++) { in ParseFtpEprtCommand()
506 ParseFtp227Reply(struct libalias *la, char *sptr, int dlen) in ParseFtp227Reply() argument
517 if (dlen < 17) in ParseFtp227Reply()
526 for (i = 4; i < dlen; i++) { in ParseFtp227Reply()
579 ParseFtp229Reply(struct libalias *la, char *sptr, int dlen) in ParseFtp229Reply() argument
588 if (dlen < 11) in ParseFtp229Reply()
598 for (i = 4; i < dlen; i++) { in ParseFtp229Reply()
668 int slen, hlen, tlen, dlen; in NewFtpMessage() local
680 dlen = tlen - hlen; in NewFtpMessage()
749 AddSeq(lnk, delta + slen - dlen, pip->ip_hl, in NewFtpMessage()