Lines Matching defs:pptr
700 fetch_token(netdissect_options *ndo, const u_char *pptr, u_int idx, u_int len,
707 if (!ND_TTEST_1(pptr + idx)) {
711 c = GET_U_1(pptr + idx);
742 if (!ND_TTEST_1(pptr + idx)) {
746 c = GET_U_1(pptr + idx);
771 const u_char *pptr, u_int idx, u_int len)
779 c = GET_U_1(pptr + idx);
795 if (GET_U_1(pptr + idx + 1) == '\n') {
828 ND_PRINT("%s%.*s", prefix, (int)linelen, pptr + startidx);
832 ND_PRINT("%s%.*s", prefix, (int)linelen, pptr + startidx);
838 txtproto_print(netdissect_options *ndo, const u_char *pptr, u_int len,
859 idx = fetch_token(ndo, pptr, 0, len, token, sizeof(token));
880 idx = fetch_token(ndo, pptr, idx, len, token,
928 idx < len && (eol = print_txt_line(ndo, "\n\t", pptr, idx, len)) != 0;
935 print_txt_line(ndo, ": ", pptr, 0, len);