Lines Matching defs:len
41 unsigned int type, len;
48 len = GET_BE_U_2(sp + 1);
49 if (len > 1500 || len < 3 || type == 0 || type > MSDP_TYPE_MAX)
53 len = GET_BE_U_2(sp + 1);
54 if (len > 1400 || ndo->ndo_vflag)
55 ND_PRINT(" [len %u]", len);
56 if (len < 3)
58 if (length < len)
70 if ((u_int)((GET_U_1(sp) * 12) + 8) < len) {
76 len - (GET_U_1(sp) * 12 + 8));
86 if (len != 3)
87 ND_PRINT("[len=%u] ", len);
93 ND_PRINT(" [type=%u len=%u]", type, len);
96 sp += (len - 3);
97 length -= (len - 3);