/* Print length */
ND_PRINT(", length %u", length);
/* Print tftp request type */
if (length < 2)
goto trunc;
/* Print length */
ND_PRINT(", length %u", length);
/* Print tftp request type */
if (length < 2)
goto trunc;
cp = tok2str(op2str, "tftp-#%u", opcode);
ND_PRINT(", %s", cp);
/* Bail if bogus opcode */
cp = tok2str(op2str, "tftp-#%u", opcode);
ND_PRINT(", %s", cp);
/* Bail if bogus opcode */
ND_PRINT(" ");
ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend);
if (ui == 0)
ND_PRINT(" ");
ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend);
if (ui == 0)
ND_PRINT(" ");
ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend);
if (ui == 0)
ND_PRINT(" ");
ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend);
if (ui == 0)
ND_PRINT(" %s", tok2str(err2str, "tftp-err-#%u \"",
ND_PRINT(" %s", tok2str(err2str, "tftp-err-#%u \"",