Lines Matching refs:obj_tptr
620 const u_char *obj_tptr; in rsvp_obj_print() local
679 obj_tptr=tptr+sizeof(struct rsvp_object_header); in rsvp_obj_print()
695 ipaddr_string(obj_tptr), in rsvp_obj_print()
696 *(obj_tptr+sizeof(struct in_addr))); in rsvp_obj_print()
699 *(obj_tptr+5), in rsvp_obj_print()
700 EXTRACT_16BITS(obj_tptr+6)); in rsvp_obj_print()
702 obj_tptr+=8; in rsvp_obj_print()
710 ip6addr_string(obj_tptr), in rsvp_obj_print()
711 *(obj_tptr+sizeof(struct in6_addr))); in rsvp_obj_print()
714 *(obj_tptr+sizeof(struct in6_addr)+1), in rsvp_obj_print()
715 EXTRACT_16BITS(obj_tptr+sizeof(struct in6_addr)+2)); in rsvp_obj_print()
717 obj_tptr+=20; in rsvp_obj_print()
725 ip6addr_string(obj_tptr), in rsvp_obj_print()
726 EXTRACT_16BITS(obj_tptr+18), in rsvp_obj_print()
727 ip6addr_string(obj_tptr+20)); in rsvp_obj_print()
729 obj_tptr+=36; in rsvp_obj_print()
738 ipaddr_string(obj_tptr), in rsvp_obj_print()
739 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
740 ipaddr_string(obj_tptr+8)); in rsvp_obj_print()
742 obj_tptr+=12; in rsvp_obj_print()
756 ipaddr_string(obj_tptr)); in rsvp_obj_print()
758 obj_tptr+=sizeof(struct in_addr); in rsvp_obj_print()
766 ip6addr_string(obj_tptr)); in rsvp_obj_print()
768 obj_tptr+=sizeof(struct in6_addr); in rsvp_obj_print()
783 ipaddr_string(obj_tptr)); in rsvp_obj_print()
785 obj_tptr+=sizeof(struct in_addr); in rsvp_obj_print()
793 ip6addr_string(obj_tptr)); in rsvp_obj_print()
795 obj_tptr+=sizeof(struct in6_addr); in rsvp_obj_print()
810 printf("%s Label: %u", ident, EXTRACT_32BITS(obj_tptr)); in rsvp_obj_print()
812 obj_tptr+=4; in rsvp_obj_print()
820 EXTRACT_32BITS(obj_tptr)); in rsvp_obj_print()
822 obj_tptr+=4; in rsvp_obj_print()
829 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
831 EXTRACT_32BITS(obj_tptr+4), in rsvp_obj_print()
832 EXTRACT_32BITS(obj_tptr+8)); in rsvp_obj_print()
834 obj_tptr+=12; in rsvp_obj_print()
850 EXTRACT_24BITS(obj_tptr+1)), in rsvp_obj_print()
851 *(obj_tptr)); in rsvp_obj_print()
853 obj_tptr+=4; in rsvp_obj_print()
867 ipaddr_string(obj_tptr), in rsvp_obj_print()
868 EXTRACT_16BITS(obj_tptr+6)); in rsvp_obj_print()
870 obj_tptr+=8; in rsvp_obj_print()
878 ip6addr_string(obj_tptr), in rsvp_obj_print()
879 EXTRACT_16BITS(obj_tptr+18)); in rsvp_obj_print()
881 obj_tptr+=20; in rsvp_obj_print()
889 ipaddr_string(obj_tptr), in rsvp_obj_print()
890 EXTRACT_16BITS(obj_tptr+6)); in rsvp_obj_print()
892 obj_tptr+=8; in rsvp_obj_print()
907 EXTRACT_16BITS(obj_tptr+2))); in rsvp_obj_print()
909 obj_tptr+=4; in rsvp_obj_print()
919 EXTRACT_16BITS(obj_tptr+2))); in rsvp_obj_print()
920 printf(",%s merge capability",((*(obj_tptr+4))&0x80) ? "no" : "" ); in rsvp_obj_print()
923 (EXTRACT_16BITS(obj_tptr+4))&0xfff, in rsvp_obj_print()
924 (EXTRACT_16BITS(obj_tptr+6))&0xfff); in rsvp_obj_print()
927 (EXTRACT_16BITS(obj_tptr+8))&0xfff, in rsvp_obj_print()
928 (EXTRACT_16BITS(obj_tptr+10))&0xfff); in rsvp_obj_print()
930 obj_tptr+=12; in rsvp_obj_print()
939 EXTRACT_16BITS(obj_tptr+2))); in rsvp_obj_print()
942 (EXTRACT_32BITS(obj_tptr+4))&0x7fffff, in rsvp_obj_print()
943 (EXTRACT_32BITS(obj_tptr+8))&0x7fffff, in rsvp_obj_print()
944 (((EXTRACT_16BITS(obj_tptr+4)>>7)&3) == 0 ) ? "10" : "", in rsvp_obj_print()
945 (((EXTRACT_16BITS(obj_tptr+4)>>7)&3) == 2 ) ? "23" : ""); in rsvp_obj_print()
947 obj_tptr+=12; in rsvp_obj_print()
956 *obj_tptr), in rsvp_obj_print()
957 *obj_tptr); in rsvp_obj_print()
962 *(obj_tptr+1)), in rsvp_obj_print()
963 *(obj_tptr+1), in rsvp_obj_print()
966 EXTRACT_16BITS(obj_tptr+2)), in rsvp_obj_print()
967 EXTRACT_16BITS(obj_tptr+2)); in rsvp_obj_print()
969 obj_tptr+=4; in rsvp_obj_print()
985 RSVP_OBJ_XRO_MASK_SUBOBJ(*obj_tptr)), in rsvp_obj_print()
986 *(obj_tptr+1)); in rsvp_obj_print()
988 if (*(obj_tptr+1) == 0) { /* prevent infinite loops */ in rsvp_obj_print()
993 switch(RSVP_OBJ_XRO_MASK_SUBOBJ(*obj_tptr)) { in rsvp_obj_print()
996 RSVP_OBJ_XRO_MASK_LOOSE(*obj_tptr) ? "Loose" : "Strict", in rsvp_obj_print()
997 ipaddr_string(obj_tptr+2), in rsvp_obj_print()
998 *(obj_tptr+6), in rsvp_obj_print()
1001 *(obj_tptr+7))); /* rfc3209 says that this field is rsvd. */ in rsvp_obj_print()
1003 obj_tlen-=*(obj_tptr+1); in rsvp_obj_print()
1004 obj_tptr+=*(obj_tptr+1); in rsvp_obj_print()
1020 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
1021 EXTRACT_32BITS(obj_tptr+4)); in rsvp_obj_print()
1023 obj_tptr+=8; in rsvp_obj_print()
1037 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
1038 EXTRACT_32BITS(obj_tptr+4)); in rsvp_obj_print()
1040 obj_tptr+=8; in rsvp_obj_print()
1052 namelen = *(obj_tptr+3); in rsvp_obj_print()
1057 safeputchar(*(obj_tptr+4+i)); in rsvp_obj_print()
1060 (int)*obj_tptr, in rsvp_obj_print()
1061 (int)*(obj_tptr+1), in rsvp_obj_print()
1064 *(obj_tptr+2))); in rsvp_obj_print()
1066 obj_tlen-=4+*(obj_tptr+3); in rsvp_obj_print()
1067 obj_tptr+=4+*(obj_tptr+3); in rsvp_obj_print()
1086 subobj_len = EXTRACT_16BITS(obj_tptr); in rsvp_obj_print()
1087 subobj_type = (EXTRACT_16BITS(obj_tptr+2))>>8; in rsvp_obj_print()
1088 af = (EXTRACT_16BITS(obj_tptr+2))&0x00FF; in rsvp_obj_print()
1106 ident, ipaddr_string(obj_tptr+4)); in rsvp_obj_print()
1113 ident, ip6addr_string(obj_tptr+4)); in rsvp_obj_print()
1139 ((EXTRACT_32BITS(obj_tptr+4))>>31), in rsvp_obj_print()
1140 ((EXTRACT_32BITS(obj_tptr+4))&0xFF), in rsvp_obj_print()
1141 EXTRACT_32BITS(obj_tptr+8), in rsvp_obj_print()
1142 EXTRACT_32BITS(obj_tptr+12)); in rsvp_obj_print()
1151 ident, (EXTRACT_32BITS(obj_tptr+4))>>24); in rsvp_obj_print()
1159 obj_tptr+=subobj_len; in rsvp_obj_print()
1182 ipaddr_string(obj_tptr), in rsvp_obj_print()
1183 EXTRACT_32BITS(obj_tptr+4)); in rsvp_obj_print()
1185 obj_tptr+=8; in rsvp_obj_print()
1196 ip6addr_string(obj_tptr), in rsvp_obj_print()
1197 EXTRACT_32BITS(obj_tptr+16)); in rsvp_obj_print()
1199 obj_tptr+=20; in rsvp_obj_print()
1215 EXTRACT_32BITS(obj_tptr)); in rsvp_obj_print()
1217 obj_tptr+=4; in rsvp_obj_print()
1234 (*obj_tptr & 0xf0) >> 4, in rsvp_obj_print()
1235 EXTRACT_16BITS(obj_tptr+2)<<2); in rsvp_obj_print()
1236 obj_tptr+=4; /* get to the start of the service header */ in rsvp_obj_print()
1240 intserv_serv_tlen=EXTRACT_16BITS(obj_tptr+2)<<2; in rsvp_obj_print()
1243 tok2str(rsvp_intserv_service_type_values,"unknown",*(obj_tptr)), in rsvp_obj_print()
1244 *(obj_tptr), in rsvp_obj_print()
1245 (*(obj_tptr+1)&0x80) ? "" : "not", in rsvp_obj_print()
1248 obj_tptr+=4; /* get to the start of the parameter list */ in rsvp_obj_print()
1252 processed = rsvp_intserv_print(obj_tptr, obj_tlen); in rsvp_obj_print()
1257 obj_tptr+=processed; in rsvp_obj_print()
1273 ipaddr_string(obj_tptr), in rsvp_obj_print()
1274 EXTRACT_16BITS(obj_tptr+6)); in rsvp_obj_print()
1276 obj_tptr+=8; in rsvp_obj_print()
1284 ip6addr_string(obj_tptr), in rsvp_obj_print()
1285 EXTRACT_16BITS(obj_tptr+18)); in rsvp_obj_print()
1287 obj_tptr+=20; in rsvp_obj_print()
1294 ip6addr_string(obj_tptr), in rsvp_obj_print()
1295 EXTRACT_24BITS(obj_tptr+17)); in rsvp_obj_print()
1297 obj_tptr+=20; in rsvp_obj_print()
1304 ipaddr_string(obj_tptr), in rsvp_obj_print()
1305 EXTRACT_16BITS(obj_tptr+18)); in rsvp_obj_print()
1307 obj_tptr+=20; in rsvp_obj_print()
1315 ipaddr_string(obj_tptr), in rsvp_obj_print()
1316 EXTRACT_16BITS(obj_tptr+6)); in rsvp_obj_print()
1318 obj_tptr+=8; in rsvp_obj_print()
1327 obj_ptr.rsvp_obj_frr = (const struct rsvp_obj_frr_t *)obj_tptr; in rsvp_obj_print()
1346 obj_tptr+=sizeof(struct rsvp_obj_frr_t); in rsvp_obj_print()
1363 obj_tptr+=16; in rsvp_obj_print()
1377 ipaddr_string(obj_tptr), in rsvp_obj_print()
1378 ipaddr_string(obj_tptr+4)); in rsvp_obj_print()
1380 obj_tptr+=8; in rsvp_obj_print()
1394 EXTRACT_32BITS(obj_tptr)&0x7); in rsvp_obj_print()
1396 obj_tptr+=4; in rsvp_obj_print()
1409 error_code=*(obj_tptr+5); in rsvp_obj_print()
1410 error_value=EXTRACT_16BITS(obj_tptr+6); in rsvp_obj_print()
1413 ipaddr_string(obj_tptr), in rsvp_obj_print()
1414 *(obj_tptr+4), in rsvp_obj_print()
1435 obj_tptr+=8; in rsvp_obj_print()
1442 error_code=*(obj_tptr+17); in rsvp_obj_print()
1443 error_value=EXTRACT_16BITS(obj_tptr+18); in rsvp_obj_print()
1446 ip6addr_string(obj_tptr), in rsvp_obj_print()
1447 *(obj_tptr+16), in rsvp_obj_print()
1462 obj_tptr+=20; in rsvp_obj_print()
1475 padbytes = EXTRACT_16BITS(obj_tptr+2); in rsvp_obj_print()
1478 EXTRACT_16BITS(obj_tptr), in rsvp_obj_print()
1481 obj_tptr+=4; in rsvp_obj_print()
1486 tok2str(rsvp_obj_prop_tlv_values,"unknown",*obj_tptr), in rsvp_obj_print()
1487 *obj_tptr, in rsvp_obj_print()
1488 *(obj_tptr+1)); in rsvp_obj_print()
1489 if (obj_tlen < *(obj_tptr+1)) in rsvp_obj_print()
1491 if (*(obj_tptr+1) < 2) in rsvp_obj_print()
1493 print_unknown_data(obj_tptr+2,"\n\t\t",*(obj_tptr+1)-2); in rsvp_obj_print()
1494 obj_tlen-=*(obj_tptr+1); in rsvp_obj_print()
1495 obj_tptr+=*(obj_tptr+1); in rsvp_obj_print()
1513 *obj_tptr, in rsvp_obj_print()
1514 EXTRACT_24BITS(obj_tptr+1)); in rsvp_obj_print()
1516 obj_tptr+=4; in rsvp_obj_print()
1521 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
1522 EXTRACT_32BITS(obj_tptr)); in rsvp_obj_print()
1524 obj_tptr+=4; in rsvp_obj_print()
1537 obj_ptr.rsvp_obj_integrity = (const struct rsvp_obj_integrity_t *)obj_tptr; in rsvp_obj_print()
1554 obj_tptr+=sizeof(struct rsvp_obj_integrity_t); in rsvp_obj_print()
1568 EXTRACT_32BITS(obj_tptr))); in rsvp_obj_print()
1570 obj_tptr+=4; in rsvp_obj_print()
1582 action = (EXTRACT_16BITS(obj_tptr)>>8); in rsvp_obj_print()
1586 action, ((EXTRACT_32BITS(obj_tptr) & 0x7F))); in rsvp_obj_print()
1596 EXTRACT_32BITS(obj_tptr+4), in rsvp_obj_print()
1597 EXTRACT_32BITS(obj_tptr+8)); in rsvp_obj_print()
1599 obj_tptr+=12; in rsvp_obj_print()
1604 obj_tptr+=4; in rsvp_obj_print()
1608 EXTRACT_32BITS(obj_tptr)); in rsvp_obj_print()
1609 obj_tptr+=4; in rsvp_obj_print()
1632 print_unknown_data(obj_tptr,"\n\t ",obj_tlen); /* FIXME indentation */ in rsvp_obj_print()