Lines Matching refs:length
87 const u_char *bp, u_int length) in tftp_print() argument
98 ND_PRINT(", length %u", length); in tftp_print()
101 if (length < 2) in tftp_print()
110 length -= 2; in tftp_print()
116 if (length == 0) in tftp_print()
121 ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print()
126 length -= ui; in tftp_print()
129 if (length == 0) in tftp_print()
132 ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print()
136 length -= ui; in tftp_print()
139 while (length != 0) { in tftp_print()
142 ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print()
146 length -= ui; in tftp_print()
152 while (length != 0) { in tftp_print()
155 ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print()
159 length -= ui; in tftp_print()
165 if (length < 2) in tftp_print()
172 if (length < 2) in tftp_print()
177 length -= 2; in tftp_print()
179 if (length == 0) in tftp_print()
182 ui = nd_printztn(ndo, bp, length, ndo->ndo_snapend); in tftp_print()