Lines Matching defs:obj_tptr
651 const u_char *obj_tptr;
710 obj_tptr=tptr+sizeof(struct rsvp_object_header);
726 ipaddr_string(obj_tptr),
727 *(obj_tptr+sizeof(struct in_addr)));
730 *(obj_tptr+5),
731 EXTRACT_16BITS(obj_tptr+6));
733 obj_tptr+=8;
741 ip6addr_string(obj_tptr),
742 *(obj_tptr+sizeof(struct in6_addr)));
745 *(obj_tptr+sizeof(struct in6_addr)+1),
746 EXTRACT_16BITS(obj_tptr+sizeof(struct in6_addr)+2));
748 obj_tptr+=20;
756 ip6addr_string(obj_tptr),
757 EXTRACT_16BITS(obj_tptr+18),
758 ip6addr_string(obj_tptr+20));
760 obj_tptr+=36;
768 EXTRACT_32BITS(obj_tptr),
769 EXTRACT_16BITS(obj_tptr+6),
770 ip6addr_string(obj_tptr+8));
772 obj_tptr+=26;
780 ipaddr_string(obj_tptr),
781 EXTRACT_16BITS(obj_tptr+6),
782 ipaddr_string(obj_tptr+8));
784 obj_tptr+=12;
792 ipaddr_string(obj_tptr),
793 EXTRACT_16BITS(obj_tptr+6),
794 ipaddr_string(obj_tptr+8));
796 obj_tptr+=12;
810 ipaddr_string(obj_tptr));
812 obj_tptr+=sizeof(struct in_addr);
820 ip6addr_string(obj_tptr));
822 obj_tptr+=sizeof(struct in6_addr);
837 ipaddr_string(obj_tptr));
839 obj_tptr+=sizeof(struct in_addr);
847 ip6addr_string(obj_tptr));
849 obj_tptr+=sizeof(struct in6_addr);
864 printf("%s Label: %u", ident, EXTRACT_32BITS(obj_tptr));
866 obj_tptr+=4;
874 EXTRACT_32BITS(obj_tptr));
876 obj_tptr+=4;
883 EXTRACT_32BITS(obj_tptr),
885 EXTRACT_32BITS(obj_tptr+4),
886 EXTRACT_32BITS(obj_tptr+8));
888 obj_tptr+=12;
904 EXTRACT_24BITS(obj_tptr+1)),
905 *(obj_tptr));
907 obj_tptr+=4;
921 ipaddr_string(obj_tptr),
922 EXTRACT_16BITS(obj_tptr+6));
924 obj_tptr+=8;
932 ip6addr_string(obj_tptr),
933 EXTRACT_16BITS(obj_tptr+18));
935 obj_tptr+=20;
943 ip6addr_string(obj_tptr),
944 EXTRACT_16BITS(obj_tptr+18),
946 ip6addr_string(obj_tptr+20),
947 EXTRACT_16BITS(obj_tptr+38));
949 obj_tptr+=40;
957 ipaddr_string(obj_tptr),
958 EXTRACT_16BITS(obj_tptr+6));
960 obj_tptr+=8;
968 ipaddr_string(obj_tptr),
969 EXTRACT_16BITS(obj_tptr+6),
971 ipaddr_string(obj_tptr+8),
972 EXTRACT_16BITS(obj_tptr+12));
974 obj_tptr+=16;
989 EXTRACT_16BITS(obj_tptr+2)));
991 obj_tptr+=4;
1001 EXTRACT_16BITS(obj_tptr+2)));
1002 printf(",%s merge capability",((*(obj_tptr+4))&0x80) ? "no" : "" );
1005 (EXTRACT_16BITS(obj_tptr+4))&0xfff,
1006 (EXTRACT_16BITS(obj_tptr+6))&0xfff);
1009 (EXTRACT_16BITS(obj_tptr+8))&0xfff,
1010 (EXTRACT_16BITS(obj_tptr+10))&0xfff);
1012 obj_tptr+=12;
1021 EXTRACT_16BITS(obj_tptr+2)));
1024 (EXTRACT_32BITS(obj_tptr+4))&0x7fffff,
1025 (EXTRACT_32BITS(obj_tptr+8))&0x7fffff,
1026 (((EXTRACT_16BITS(obj_tptr+4)>>7)&3) == 0 ) ? "10" : "",
1027 (((EXTRACT_16BITS(obj_tptr+4)>>7)&3) == 2 ) ? "23" : "");
1029 obj_tptr+=12;
1038 *obj_tptr),
1039 *obj_tptr);
1044 *(obj_tptr+1)),
1045 *(obj_tptr+1),
1048 EXTRACT_16BITS(obj_tptr+2)),
1049 EXTRACT_16BITS(obj_tptr+2));
1051 obj_tptr+=4;
1067 RSVP_OBJ_XRO_MASK_SUBOBJ(*obj_tptr)),
1068 *(obj_tptr+1));
1070 if (*(obj_tptr+1) == 0) { /* prevent infinite loops */
1075 switch(RSVP_OBJ_XRO_MASK_SUBOBJ(*obj_tptr)) {
1078 RSVP_OBJ_XRO_MASK_LOOSE(*obj_tptr) ? "Loose" : "Strict",
1079 ipaddr_string(obj_tptr+2),
1080 *(obj_tptr+6),
1083 *(obj_tptr+7))); /* rfc3209 says that this field is rsvd. */
1089 *(obj_tptr+2)),
1090 *(obj_tptr+2),
1093 *(obj_tptr+3) + 256*RSVP_OBJ_RRO),
1094 *(obj_tptr+3),
1095 EXTRACT_32BITS(obj_tptr+4));
1097 obj_tlen-=*(obj_tptr+1);
1098 obj_tptr+=*(obj_tptr+1);
1114 EXTRACT_32BITS(obj_tptr),
1115 EXTRACT_32BITS(obj_tptr+4));
1117 obj_tptr+=8;
1131 EXTRACT_32BITS(obj_tptr),
1132 EXTRACT_32BITS(obj_tptr+4));
1134 obj_tptr+=8;
1146 namelen = *(obj_tptr+3);
1151 safeputchar(*(obj_tptr+4+i));
1154 (int)*obj_tptr,
1155 (int)*(obj_tptr+1),
1158 *(obj_tptr+2)),
1159 *(obj_tptr+2));
1160 obj_tlen-=4+*(obj_tptr+3);
1161 obj_tptr+=4+*(obj_tptr+3);
1180 subobj_len = EXTRACT_16BITS(obj_tptr);
1181 subobj_type = (EXTRACT_16BITS(obj_tptr+2))>>8;
1182 af = (EXTRACT_16BITS(obj_tptr+2))&0x00FF;
1200 ident, ipaddr_string(obj_tptr+4));
1207 ident, ip6addr_string(obj_tptr+4));
1233 ((EXTRACT_32BITS(obj_tptr+4))>>31),
1234 ((EXTRACT_32BITS(obj_tptr+4))&0xFF),
1235 EXTRACT_32BITS(obj_tptr+8),
1236 EXTRACT_32BITS(obj_tptr+12));
1245 ident, (EXTRACT_32BITS(obj_tptr+4))>>24);
1253 obj_tptr+=subobj_len;
1276 ipaddr_string(obj_tptr),
1277 EXTRACT_32BITS(obj_tptr+4));
1279 obj_tptr+=8;
1290 ip6addr_string(obj_tptr),
1291 EXTRACT_32BITS(obj_tptr+16));
1293 obj_tptr+=20;
1309 EXTRACT_32BITS(obj_tptr));
1311 obj_tptr+=4;
1328 (*obj_tptr & 0xf0) >> 4,
1329 EXTRACT_16BITS(obj_tptr+2)<<2);
1330 obj_tptr+=4; /* get to the start of the service header */
1334 intserv_serv_tlen=EXTRACT_16BITS(obj_tptr+2)<<2;
1337 tok2str(rsvp_intserv_service_type_values,"unknown",*(obj_tptr)),
1338 *(obj_tptr),
1339 (*(obj_tptr+1)&0x80) ? "" : "not",
1342 obj_tptr+=4; /* get to the start of the parameter list */
1346 processed = rsvp_intserv_print(obj_tptr, obj_tlen);
1351 obj_tptr+=processed;
1367 ipaddr_string(obj_tptr),
1368 EXTRACT_16BITS(obj_tptr+6));
1370 obj_tptr+=8;
1378 ip6addr_string(obj_tptr),
1379 EXTRACT_16BITS(obj_tptr+18));
1381 obj_tptr+=20;
1388 ip6addr_string(obj_tptr),
1389 EXTRACT_24BITS(obj_tptr+17));
1391 obj_tptr+=20;
1398 ipaddr_string(obj_tptr),
1399 EXTRACT_16BITS(obj_tptr+18));
1401 obj_tptr+=20;
1409 ip6addr_string(obj_tptr),
1410 EXTRACT_16BITS(obj_tptr+18),
1412 ip6addr_string(obj_tptr+20),
1413 EXTRACT_16BITS(obj_tptr+38));
1415 obj_tptr+=40;
1423 ipaddr_string(obj_tptr),
1424 EXTRACT_16BITS(obj_tptr+6));
1426 obj_tptr+=8;
1434 ipaddr_string(obj_tptr),
1435 EXTRACT_16BITS(obj_tptr+6),
1437 ipaddr_string(obj_tptr+8),
1438 EXTRACT_16BITS(obj_tptr+12));
1440 obj_tptr+=16;
1449 obj_ptr.rsvp_obj_frr = (const struct rsvp_obj_frr_t *)obj_tptr;
1468 obj_tptr+=sizeof(struct rsvp_obj_frr_t);
1485 obj_tptr+=16;
1499 ipaddr_string(obj_tptr),
1500 ipaddr_string(obj_tptr+4));
1502 obj_tptr+=8;
1516 EXTRACT_32BITS(obj_tptr)&0x7);
1518 obj_tptr+=4;
1531 error_code=*(obj_tptr+5);
1532 error_value=EXTRACT_16BITS(obj_tptr+6);
1535 ipaddr_string(obj_tptr),
1536 *(obj_tptr+4),
1557 obj_tptr+=8;
1564 error_code=*(obj_tptr+17);
1565 error_value=EXTRACT_16BITS(obj_tptr+18);
1568 ip6addr_string(obj_tptr),
1569 *(obj_tptr+16),
1584 obj_tptr+=20;
1597 padbytes = EXTRACT_16BITS(obj_tptr+2);
1600 EXTRACT_16BITS(obj_tptr),
1603 obj_tptr+=4;
1608 tok2str(rsvp_obj_prop_tlv_values,"unknown",*obj_tptr),
1609 *obj_tptr,
1610 *(obj_tptr+1));
1611 if (obj_tlen < *(obj_tptr+1))
1613 if (*(obj_tptr+1) < 2)
1615 print_unknown_data(obj_tptr+2,"\n\t\t",*(obj_tptr+1)-2);
1616 obj_tlen-=*(obj_tptr+1);
1617 obj_tptr+=*(obj_tptr+1);
1635 *obj_tptr,
1636 EXTRACT_24BITS(obj_tptr+1));
1638 obj_tptr+=4;
1643 EXTRACT_32BITS(obj_tptr),
1644 EXTRACT_32BITS(obj_tptr));
1646 obj_tptr+=4;
1659 obj_ptr.rsvp_obj_integrity = (const struct rsvp_obj_integrity_t *)obj_tptr;
1685 obj_tptr+=sizeof(struct rsvp_obj_integrity_t);
1699 EXTRACT_32BITS(obj_tptr)));
1701 obj_tptr+=4;
1713 action = (EXTRACT_16BITS(obj_tptr)>>8);
1717 action, ((EXTRACT_32BITS(obj_tptr) & 0x7F)));
1727 EXTRACT_32BITS(obj_tptr+4),
1728 EXTRACT_32BITS(obj_tptr+8));
1730 obj_tptr+=12;
1735 obj_tptr+=4;
1739 EXTRACT_32BITS(obj_tptr));
1740 obj_tptr+=4;
1757 ident, ipaddr_string(obj_tptr));
1760 obj_tptr+=4;
1767 ident, ip6addr_string(obj_tptr));
1770 obj_tptr+=16;
1788 print_unknown_data(obj_tptr,"\n\t ",obj_tlen); /* FIXME indentation */