Lines Matching refs:tptr

420         const u_char *tptr;  in handle_ctrl_proto()  local
422 tptr=pptr; in handle_ctrl_proto()
429 ND_TCHECK2(*tptr, 2); in handle_ctrl_proto()
431 code = *tptr++; in handle_ctrl_proto()
436 *tptr++, /* ID */ in handle_ctrl_proto()
445 ND_TCHECK2(*tptr, 2); in handle_ctrl_proto()
446 len = EXTRACT_16BITS(tptr); in handle_ctrl_proto()
447 tptr += 2; in handle_ctrl_proto()
459 ND_TCHECK2(*tptr, 4); in handle_ctrl_proto()
460 ND_PRINT((ndo, "\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr))); in handle_ctrl_proto()
461 tptr += 4; in handle_ctrl_proto()
462 ND_TCHECK2(*tptr, 3); in handle_ctrl_proto()
464 tok2str(oui_values,"Unknown",EXTRACT_24BITS(tptr)), in handle_ctrl_proto()
465 EXTRACT_24BITS(tptr))); in handle_ctrl_proto()
502 if ((j = (*pfunc)(ndo, tptr, len)) == 0) in handle_ctrl_proto()
505 tptr += j; in handle_ctrl_proto()
519 ND_TCHECK2(*tptr, 2); in handle_ctrl_proto()
521 tok2str(ppptype2str,"unknown", EXTRACT_16BITS(tptr)), in handle_ctrl_proto()
522 EXTRACT_16BITS(tptr))); in handle_ctrl_proto()
526 print_unknown_data(ndo, tptr + 2, "\n\t ", len - 2); in handle_ctrl_proto()
534 ND_TCHECK2(*tptr, 4); in handle_ctrl_proto()
535 ND_PRINT((ndo, "\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr))); in handle_ctrl_proto()
539 ND_TCHECK2(tptr[4], len - 8); in handle_ctrl_proto()
540 print_unknown_data(ndo, tptr + 4, "\n\t ", len - 8); in handle_ctrl_proto()
546 ND_TCHECK2(*tptr, 4); in handle_ctrl_proto()
547 ND_PRINT((ndo, "\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr))); in handle_ctrl_proto()
551 if (fn_printn(ndo, tptr + 4, len - 4, ndo->ndo_snapend)) in handle_ctrl_proto()
558 ND_TCHECK2(*tptr, 4); in handle_ctrl_proto()
559 ND_PRINT((ndo, "\n\t Magic-Num 0x%08x", EXTRACT_32BITS(tptr))); in handle_ctrl_proto()
560 ND_TCHECK2(*(tptr + 4), 4); in handle_ctrl_proto()
561 ND_PRINT((ndo, ", Seconds-Remaining %us", EXTRACT_32BITS(tptr + 4))); in handle_ctrl_proto()