Lines Matching refs:tptr
430 const u_char *tptr;
432 tptr=pptr;
439 TCHECK2(*tptr, 2);
441 code = *tptr++;
446 *tptr++, /* ID */
455 TCHECK2(*tptr, 2);
456 len = EXTRACT_16BITS(tptr);
457 tptr += 2;
469 TCHECK2(*tptr, 4);
470 printf("\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr));
471 tptr += 4;
472 TCHECK2(*tptr, 3);
474 tok2str(oui_values,"Unknown",EXTRACT_24BITS(tptr)),
475 EXTRACT_24BITS(tptr));
512 if ((j = (*pfunc)(tptr, len)) == 0)
515 tptr += j;
529 TCHECK2(*tptr, 2);
531 tok2str(ppptype2str,"unknown", EXTRACT_16BITS(tptr)),
532 EXTRACT_16BITS(tptr));
536 print_unknown_data(tptr+2,"\n\t ",len-2);
544 TCHECK2(*tptr, 4);
545 printf("\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr));
549 TCHECK2(tptr[4], len-8);
550 print_unknown_data(tptr+4,"\n\t ",len-8);
556 TCHECK2(*tptr, 4);
557 printf("\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr));
561 fn_printn(tptr+4,len-4,snapend);
567 TCHECK2(*tptr, 4);
568 printf("\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr));
569 TCHECK2(*(tptr + 4), 4);
570 tptr + 4));