Lines Matching refs:dlen

229 	int hlen, tlen, dlen, pflags;  in AliasHandleFtpOut()  local
238 dlen = tlen - hlen; in AliasHandleFtpOut()
249 if (dlen <= MAX_MESSAGE_SIZE && !(pflags & WAIT_CRLF)) { in AliasHandleFtpOut()
256 if (ParseFtpPortCommand(la, sptr, dlen)) in AliasHandleFtpOut()
258 else if (ParseFtpEprtCommand(la, sptr, dlen)) in AliasHandleFtpOut()
264 if (ParseFtp227Reply(la, sptr, dlen)) in AliasHandleFtpOut()
266 else if (ParseFtp229Reply(la, sptr, dlen)) { in AliasHandleFtpOut()
277 if (dlen) { /* only if there's data */ in AliasHandleFtpOut()
294 int hlen, tlen, dlen, pflags; in AliasHandleFtpIn() local
302 dlen = tlen - hlen; in AliasHandleFtpIn()
313 if (dlen <= MAX_MESSAGE_SIZE && (pflags & WAIT_CRLF) == 0 && in AliasHandleFtpIn()
315 (ParseFtpPortCommand(la, sptr, dlen) != 0 || in AliasHandleFtpIn()
316 ParseFtpEprtCommand(la, sptr, dlen) != 0)) { in AliasHandleFtpIn()
327 if (dlen) { in AliasHandleFtpIn()
341 ParseFtpPortCommand(struct libalias *la, char *sptr, int dlen) in ParseFtpPortCommand() argument
352 if (dlen < 18) in ParseFtpPortCommand()
360 for (i = 5; i < dlen; i++) { in ParseFtpPortCommand()
414 ParseFtpEprtCommand(struct libalias *la, char *sptr, int dlen) in ParseFtpEprtCommand() argument
425 if (dlen < 18) in ParseFtpEprtCommand()
434 for (i = 5; i < dlen; i++) { in ParseFtpEprtCommand()
504 ParseFtp227Reply(struct libalias *la, char *sptr, int dlen) in ParseFtp227Reply() argument
515 if (dlen < 17) in ParseFtp227Reply()
524 for (i = 4; i < dlen; i++) { in ParseFtp227Reply()
577 ParseFtp229Reply(struct libalias *la, char *sptr, int dlen) in ParseFtp229Reply() argument
586 if (dlen < 11) in ParseFtp229Reply()
596 for (i = 4; i < dlen; i++) { in ParseFtp229Reply()
666 int slen, hlen, tlen, dlen; in NewFtpMessage() local
678 dlen = tlen - hlen; in NewFtpMessage()
747 AddSeq(lnk, delta + slen - dlen, pip->ip_hl, in NewFtpMessage()