Lines Matching refs:len
146 const u_char *cp, const u_int len)
148 const u_char *ep = cp + len;
150 if (len < AOEV1_ISSUE_ARG_LEN)
196 if (len > AOEV1_ISSUE_ARG_LEN)
197 ND_PRINT((ndo, "\n\tData: %u bytes", len - AOEV1_ISSUE_ARG_LEN));
210 const u_char *cp, const u_int len)
212 const u_char *ep = cp + len;
215 if (len < AOEV1_QUERY_ARG_LEN)
238 if (cslen > AOEV1_MAX_CONFSTR_LEN || AOEV1_QUERY_ARG_LEN + cslen > len)
259 const u_char *cp, const u_int len)
261 const u_char *ep = cp + len;
264 if (len < AOEV1_MAC_ARG_LEN)
282 if (AOEV1_MAC_ARG_LEN + dircount * 8 > len)
310 const u_char *cp, const u_int len)
312 const u_char *ep = cp + len;
315 if (len < AOEV1_RESERVE_ARG_LEN || (len - AOEV1_RESERVE_ARG_LEN) % ETHER_ADDR_LEN)
326 if (AOEV1_RESERVE_ARG_LEN + nmacs * ETHER_ADDR_LEN != len)
346 const u_char *cp, const u_int len)
348 const u_char *ep = cp + len;
352 if (len < AOEV1_COMMON_HDR_LEN)
390 cmd_decoder(ndo, cp, len - AOEV1_COMMON_HDR_LEN);
403 const u_char *cp, const u_int len)
405 const u_char *ep = cp + len;
408 ND_PRINT((ndo, "AoE length %u", len));
410 if (len < 1)
420 aoev1_print(ndo, cp, len);