Lines Matching refs:tptr
498 rsvp_intserv_print(const u_char *tptr, u_short obj_tlen) { in rsvp_intserv_print() argument
508 parameter_id = *(tptr); in rsvp_intserv_print()
509 parameter_length = EXTRACT_16BITS(tptr+2)<<2; /* convert wordcount to bytecount */ in rsvp_intserv_print()
515 *(tptr+1)); in rsvp_intserv_print()
530 printf("\n\t\tIS hop count: %u", EXTRACT_32BITS(tptr+4)); in rsvp_intserv_print()
542 bw.i = EXTRACT_32BITS(tptr+4); in rsvp_intserv_print()
557 if (EXTRACT_32BITS(tptr+4) == 0xffffffff) in rsvp_intserv_print()
560 printf("%u", EXTRACT_32BITS(tptr+4)); in rsvp_intserv_print()
574 printf("\n\t\tComposed MTU: %u bytes", EXTRACT_32BITS(tptr+4)); in rsvp_intserv_print()
594 bw.i = EXTRACT_32BITS(tptr+4); in rsvp_intserv_print()
596 bw.i = EXTRACT_32BITS(tptr+8); in rsvp_intserv_print()
598 bw.i = EXTRACT_32BITS(tptr+12); in rsvp_intserv_print()
600 printf("\n\t\tMinimum Policed Unit: %u bytes", EXTRACT_32BITS(tptr+16)); in rsvp_intserv_print()
601 printf("\n\t\tMaximum Packet Size: %u bytes", EXTRACT_32BITS(tptr+20)); in rsvp_intserv_print()
617 bw.i = EXTRACT_32BITS(tptr+4); in rsvp_intserv_print()
619 printf("\n\t\tSlack Term: %u", EXTRACT_32BITS(tptr+8)); in rsvp_intserv_print()
628 printf("\n\t\tValue: %u", EXTRACT_32BITS(tptr+4)); in rsvp_intserv_print()
633 print_unknown_data(tptr+4,"\n\t\t",parameter_length); in rsvp_intserv_print()
647 , const u_char *tptr, in rsvp_obj_print() argument
669 if (!TTEST2(*tptr, sizeof(struct rsvp_object_header))) in rsvp_obj_print()
672 rsvp_obj_header = (const struct rsvp_object_header *)tptr; in rsvp_obj_print()
710 obj_tptr=tptr+sizeof(struct rsvp_object_header); in rsvp_obj_print()
714 if (!TTEST2(*tptr, rsvp_obj_len)) in rsvp_obj_print()
1793 … print_unknown_data(tptr+sizeof(struct rsvp_object_header),"\n\t ", /* FIXME indentation */ in rsvp_obj_print()
1796 tptr+=rsvp_obj_len; in rsvp_obj_print()
1810 const u_char *tptr,*subtptr; in rsvp_print() local
1813 tptr=pptr; in rsvp_print()
1861 tptr+=sizeof(const struct rsvp_common_header); in rsvp_print()
1868 subtptr=tptr; in rsvp_print()
1915 tptr+=subtlen+sizeof(const struct rsvp_common_header); in rsvp_print()
1932 if (rsvp_obj_print(pptr, plen, tptr,"\n\t ", tlen) == -1) in rsvp_print()
1937 print_unknown_data(tptr,"\n\t ",tlen); in rsvp_print()