Home | History | Annotate | Download | only in src

Lines Matching refs:flen

470   int plen, flen;
476 flen = ntohs(lhp->length) - sizeof *lhp;
477 if (plen < flen) {
478 log_Printf(LogWARN, "%s: FsmRecvConfigReq: plen (%d) < flen (%d)\n",
479 fp->link->name, plen, flen);
494 (*fp->fn->DecodeConfig)(fp, cp, cp + flen, MODE_REQ, &dec);
495 if (flen < (int)sizeof(struct fsm_opt_hdr))
613 int plen, flen;
617 flen = ntohs(lhp->length) - sizeof *lhp;
618 if (plen < flen) {
628 (*fp->fn->DecodeConfig)(fp, cp, cp + flen, MODE_ACK, &dec);
629 if (flen < (int)sizeof(struct fsm_opt_hdr))
676 int plen, flen;
680 flen = ntohs(lhp->length) - sizeof *lhp;
681 if (plen < flen) {
712 (*fp->fn->DecodeConfig)(fp, cp, cp + flen, MODE_NAK, &dec);
713 if (flen < (int)sizeof(struct fsm_opt_hdr))
807 int flen;
811 flen = ntohs(lhp->length) - sizeof *lhp;
812 if ((int)plen < flen) {
845 (*fp->fn->DecodeConfig)(fp, cp, cp + flen, MODE_REJ, &dec);
846 if (flen < (int)sizeof(struct fsm_opt_hdr))