Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:_len

74 #define LCHECK2(_tot_len, _len) \
76 if (_tot_len < _len) \
85 * while also making sure we don't exceed the buffer '_len'
90 #define FIND_CRLF(_ptr, _len) \
92 LCHECK2(_len, 2); \
97 _len--; \
104 #define CONSUME_CRLF(_ptr, _len) \
106 _len -= 2;
111 * while also making sure we don't exceed the buffer '_len'
116 #define FIND_CR_OR_LF(_ptr, _len) \
118 LCHECK(_len); \
123 _len--; \
129 * If we exceed '_len' or go past the end of the captured data,
132 #define CONSUME_CR_OR_LF(_ptr, _len) \
139 if (_len == 0 || !ND_TTEST(*_ptr)) { \
159 _len--; \
177 #define GET_LENGTH(_ndo, _tot_len, _ptr, _len) \
180 _len = resp_get_length(_ndo, _ptr, _tot_len, &_endp); \
206 #define RESP_PRINT_SEGMENT(_ndo, _bp, _len) \
208 if (fn_printn(_ndo, _bp, _len, _ndo->ndo_snapend)) \