Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:olen

758 		uint16_t otype, olen;
764 olen = EXTRACT_16BITS(&bp[2]);
768 olen));
772 if (len < olen)
774 ND_TCHECK2(bp[0], olen);
777 if (olen != 2) {
778 ND_PRINT((ndo, "ERROR: Option Length != 2 Bytes (%u)", olen));
785 if (olen != 4) {
786 ND_PRINT((ndo, "ERROR: Option Length != 4 Bytes (%u)", olen));
801 switch (olen) {
809 ND_PRINT((ndo, "ERROR: Option Length != 4 Bytes (%u)", olen));
815 if (olen != 4) {
816 ND_PRINT((ndo, "ERROR: Option Length != 4 Bytes (%u)", olen));
823 if (olen != 4) {
824 ND_PRINT((ndo, "ERROR: Option Length != 4 Bytes (%u)", olen));
845 while (ptr < (bp+olen)) {
857 print_unknown_data(ndo, bp, "\n\t ", olen);
862 print_unknown_data(ndo, bp, "\n\t ", olen);
863 bp += olen;
864 len -= olen;