Lines Matching refs:len
40 unsigned int type, len;
47 len = GET_BE_U_2(sp + 1);
48 if (len > 1500 || len < 3 || type == 0 || type > MSDP_TYPE_MAX)
56 len = GET_BE_U_2(sp + 1);
57 if (len > 1400 || ndo->ndo_vflag)
58 ND_PRINT(" [len %u]", len);
59 if (len < 3)
61 if (length < len)
72 if (len < 4)
78 if (len < 8)
86 if (len > (8 + entry_count*12)) {
92 len - (8 + entry_count*12));
101 if (len < 4)
106 if (len < 8)
108 if (len != 8)
109 ND_PRINT("[len=%u] ", len);
114 if (len != 3)
115 ND_PRINT("[len=%u] ", len);
121 ND_PRINT(" [type=%u len=%u]", type, len);
124 ND_TCHECK_LEN(sp, len);
125 sp += len;
126 length -= len;