• Home
  • Raw
  • Download

Lines Matching refs:obj_tptr

666     const u_char *obj_tptr;  in rsvp_obj_print()  local
724 obj_tptr=tptr+sizeof(struct rsvp_object_header); in rsvp_obj_print()
740 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
741 *(obj_tptr + sizeof(struct in_addr)))); in rsvp_obj_print()
744 *(obj_tptr+5), in rsvp_obj_print()
745 EXTRACT_16BITS(obj_tptr + 6))); in rsvp_obj_print()
747 obj_tptr+=8; in rsvp_obj_print()
754 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
755 *(obj_tptr + sizeof(struct in6_addr)))); in rsvp_obj_print()
758 *(obj_tptr+sizeof(struct in6_addr)+1), in rsvp_obj_print()
759 EXTRACT_16BITS(obj_tptr + sizeof(struct in6_addr) + 2))); in rsvp_obj_print()
761 obj_tptr+=20; in rsvp_obj_print()
769 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
770 EXTRACT_16BITS(obj_tptr+18), in rsvp_obj_print()
771 ip6addr_string(ndo, obj_tptr + 20))); in rsvp_obj_print()
773 obj_tptr+=36; in rsvp_obj_print()
781 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
782 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
783 ip6addr_string(ndo, obj_tptr + 8))); in rsvp_obj_print()
785 obj_tptr+=26; in rsvp_obj_print()
792 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
793 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
794 ipaddr_string(ndo, obj_tptr + 8))); in rsvp_obj_print()
796 obj_tptr+=12; in rsvp_obj_print()
804 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
805 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
806 ipaddr_string(ndo, obj_tptr + 8))); in rsvp_obj_print()
808 obj_tptr+=12; in rsvp_obj_print()
822 ipaddr_string(ndo, obj_tptr))); in rsvp_obj_print()
824 obj_tptr+=sizeof(struct in_addr); in rsvp_obj_print()
831 ip6addr_string(ndo, obj_tptr))); in rsvp_obj_print()
833 obj_tptr+=sizeof(struct in6_addr); in rsvp_obj_print()
847 ipaddr_string(ndo, obj_tptr))); in rsvp_obj_print()
849 obj_tptr+=sizeof(struct in_addr); in rsvp_obj_print()
856 ip6addr_string(ndo, obj_tptr))); in rsvp_obj_print()
858 obj_tptr+=sizeof(struct in6_addr); in rsvp_obj_print()
872 ND_PRINT((ndo, "%s Label: %u", ident, EXTRACT_32BITS(obj_tptr))); in rsvp_obj_print()
874 obj_tptr+=4; in rsvp_obj_print()
882 EXTRACT_32BITS(obj_tptr))); in rsvp_obj_print()
884 obj_tptr+=4; in rsvp_obj_print()
891 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
893 EXTRACT_32BITS(obj_tptr+4), in rsvp_obj_print()
894 EXTRACT_32BITS(obj_tptr + 8))); in rsvp_obj_print()
896 obj_tptr+=12; in rsvp_obj_print()
912 EXTRACT_24BITS(obj_tptr+1)), in rsvp_obj_print()
913 *(obj_tptr))); in rsvp_obj_print()
915 obj_tptr+=4; in rsvp_obj_print()
929 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
930 EXTRACT_16BITS(obj_tptr + 6))); in rsvp_obj_print()
932 obj_tptr+=8; in rsvp_obj_print()
939 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
940 EXTRACT_16BITS(obj_tptr + 18))); in rsvp_obj_print()
942 obj_tptr+=20; in rsvp_obj_print()
950 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
951 EXTRACT_16BITS(obj_tptr+18), in rsvp_obj_print()
953 ip6addr_string(ndo, obj_tptr+20), in rsvp_obj_print()
954 EXTRACT_16BITS(obj_tptr + 38))); in rsvp_obj_print()
956 obj_tptr+=40; in rsvp_obj_print()
963 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
964 EXTRACT_16BITS(obj_tptr + 6))); in rsvp_obj_print()
966 obj_tptr+=8; in rsvp_obj_print()
974 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
975 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
977 ipaddr_string(ndo, obj_tptr+8), in rsvp_obj_print()
978 EXTRACT_16BITS(obj_tptr + 12))); in rsvp_obj_print()
980 obj_tptr+=16; in rsvp_obj_print()
995 EXTRACT_16BITS(obj_tptr + 2)))); in rsvp_obj_print()
997 obj_tptr+=4; in rsvp_obj_print()
1007 EXTRACT_16BITS(obj_tptr + 2)))); in rsvp_obj_print()
1008 ND_PRINT((ndo, ",%s merge capability",((*(obj_tptr + 4)) & 0x80) ? "no" : "" )); in rsvp_obj_print()
1011 (EXTRACT_16BITS(obj_tptr+4))&0xfff, in rsvp_obj_print()
1012 (EXTRACT_16BITS(obj_tptr + 6)) & 0xfff)); in rsvp_obj_print()
1015 (EXTRACT_16BITS(obj_tptr+8))&0xfff, in rsvp_obj_print()
1016 (EXTRACT_16BITS(obj_tptr + 10)) & 0xfff)); in rsvp_obj_print()
1018 obj_tptr+=12; in rsvp_obj_print()
1027 EXTRACT_16BITS(obj_tptr + 2)))); in rsvp_obj_print()
1030 (EXTRACT_32BITS(obj_tptr+4))&0x7fffff, in rsvp_obj_print()
1031 (EXTRACT_32BITS(obj_tptr+8))&0x7fffff, in rsvp_obj_print()
1032 (((EXTRACT_16BITS(obj_tptr+4)>>7)&3) == 0 ) ? "10" : "", in rsvp_obj_print()
1033 (((EXTRACT_16BITS(obj_tptr + 4) >> 7) & 3) == 2 ) ? "23" : "")); in rsvp_obj_print()
1035 obj_tptr+=12; in rsvp_obj_print()
1044 *obj_tptr), in rsvp_obj_print()
1045 *obj_tptr)); in rsvp_obj_print()
1050 *(obj_tptr+1)), in rsvp_obj_print()
1051 *(obj_tptr+1), in rsvp_obj_print()
1054 EXTRACT_16BITS(obj_tptr+2)), in rsvp_obj_print()
1055 EXTRACT_16BITS(obj_tptr + 2))); in rsvp_obj_print()
1057 obj_tptr+=4; in rsvp_obj_print()
1071 ND_TCHECK2(*obj_tptr, 4); in rsvp_obj_print()
1072 length = *(obj_tptr + 1); in rsvp_obj_print()
1077 RSVP_OBJ_XRO_MASK_SUBOBJ(*obj_tptr)), in rsvp_obj_print()
1085 switch(RSVP_OBJ_XRO_MASK_SUBOBJ(*obj_tptr)) { in rsvp_obj_print()
1093 ND_TCHECK2(*obj_tptr, 8); in rsvp_obj_print()
1094 prefix_length = *(obj_tptr+6); in rsvp_obj_print()
1101 RSVP_OBJ_XRO_MASK_LOOSE(*obj_tptr) ? "Loose" : "Strict", in rsvp_obj_print()
1102 ipaddr_string(ndo, obj_tptr+2), in rsvp_obj_print()
1103 *(obj_tptr+6), in rsvp_obj_print()
1106 *(obj_tptr + 7)))); /* rfc3209 says that this field is rsvd. */ in rsvp_obj_print()
1113 ND_TCHECK2(*obj_tptr, 8); in rsvp_obj_print()
1117 *(obj_tptr+2)), in rsvp_obj_print()
1118 *(obj_tptr+2), in rsvp_obj_print()
1121 *(obj_tptr+3) + 256*RSVP_OBJ_RRO), in rsvp_obj_print()
1122 *(obj_tptr+3), in rsvp_obj_print()
1123 EXTRACT_32BITS(obj_tptr + 4))); in rsvp_obj_print()
1125 obj_tlen-=*(obj_tptr+1); in rsvp_obj_print()
1126 obj_tptr+=*(obj_tptr+1); in rsvp_obj_print()
1142 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
1143 EXTRACT_32BITS(obj_tptr + 4))); in rsvp_obj_print()
1145 obj_tptr+=8; in rsvp_obj_print()
1159 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
1160 EXTRACT_32BITS(obj_tptr + 4))); in rsvp_obj_print()
1162 obj_tptr+=8; in rsvp_obj_print()
1174 namelen = *(obj_tptr+3); in rsvp_obj_print()
1179 safeputchar(ndo, *(obj_tptr + 4 + i)); in rsvp_obj_print()
1182 (int)*obj_tptr, in rsvp_obj_print()
1183 (int)*(obj_tptr+1), in rsvp_obj_print()
1186 *(obj_tptr+2)), in rsvp_obj_print()
1187 *(obj_tptr + 2))); in rsvp_obj_print()
1188 obj_tlen-=4+*(obj_tptr+3); in rsvp_obj_print()
1189 obj_tptr+=4+*(obj_tptr+3); in rsvp_obj_print()
1219 subobj_len = EXTRACT_16BITS(obj_tptr); in rsvp_obj_print()
1220 subobj_type = (EXTRACT_16BITS(obj_tptr+2))>>8; in rsvp_obj_print()
1221 af = (EXTRACT_16BITS(obj_tptr+2))&0x00FF; in rsvp_obj_print()
1248 ident, ipaddr_string(ndo, obj_tptr + 4))); in rsvp_obj_print()
1254 ident, ip6addr_string(ndo, obj_tptr + 4))); in rsvp_obj_print()
1279 ((EXTRACT_32BITS(obj_tptr+4))>>31), in rsvp_obj_print()
1280 ((EXTRACT_32BITS(obj_tptr+4))&0xFF), in rsvp_obj_print()
1281 EXTRACT_32BITS(obj_tptr+8), in rsvp_obj_print()
1282 EXTRACT_32BITS(obj_tptr + 12))); in rsvp_obj_print()
1291 ident, (EXTRACT_32BITS(obj_tptr + 4)) >> 24)); in rsvp_obj_print()
1299 obj_tptr+=subobj_len; in rsvp_obj_print()
1322 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
1323 EXTRACT_32BITS(obj_tptr + 4))); in rsvp_obj_print()
1325 obj_tptr+=8; in rsvp_obj_print()
1335 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
1336 EXTRACT_32BITS(obj_tptr + 16))); in rsvp_obj_print()
1338 obj_tptr+=20; in rsvp_obj_print()
1353 EXTRACT_32BITS(obj_tptr))); in rsvp_obj_print()
1355 obj_tptr+=4; in rsvp_obj_print()
1372 (*obj_tptr & 0xf0) >> 4, in rsvp_obj_print()
1373 EXTRACT_16BITS(obj_tptr + 2) << 2)); in rsvp_obj_print()
1374 obj_tptr+=4; /* get to the start of the service header */ in rsvp_obj_print()
1378 intserv_serv_tlen=EXTRACT_16BITS(obj_tptr+2)<<2; in rsvp_obj_print()
1381 tok2str(rsvp_intserv_service_type_values,"unknown",*(obj_tptr)), in rsvp_obj_print()
1382 *(obj_tptr), in rsvp_obj_print()
1383 (*(obj_tptr+1)&0x80) ? "" : "not", in rsvp_obj_print()
1386 obj_tptr+=4; /* get to the start of the parameter list */ in rsvp_obj_print()
1390 processed = rsvp_intserv_print(ndo, obj_tptr, obj_tlen); in rsvp_obj_print()
1395 obj_tptr+=processed; in rsvp_obj_print()
1411 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
1412 EXTRACT_16BITS(obj_tptr + 6))); in rsvp_obj_print()
1414 obj_tptr+=8; in rsvp_obj_print()
1421 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
1422 EXTRACT_16BITS(obj_tptr + 18))); in rsvp_obj_print()
1424 obj_tptr+=20; in rsvp_obj_print()
1431 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
1432 EXTRACT_24BITS(obj_tptr + 17))); in rsvp_obj_print()
1434 obj_tptr+=20; in rsvp_obj_print()
1441 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
1442 EXTRACT_16BITS(obj_tptr + 18))); in rsvp_obj_print()
1444 obj_tptr+=20; in rsvp_obj_print()
1452 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
1453 EXTRACT_16BITS(obj_tptr+18), in rsvp_obj_print()
1455 ip6addr_string(ndo, obj_tptr+20), in rsvp_obj_print()
1456 EXTRACT_16BITS(obj_tptr + 38))); in rsvp_obj_print()
1458 obj_tptr+=40; in rsvp_obj_print()
1465 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
1466 EXTRACT_16BITS(obj_tptr + 6))); in rsvp_obj_print()
1468 obj_tptr+=8; in rsvp_obj_print()
1476 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
1477 EXTRACT_16BITS(obj_tptr+6), in rsvp_obj_print()
1479 ipaddr_string(ndo, obj_tptr+8), in rsvp_obj_print()
1480 EXTRACT_16BITS(obj_tptr + 12))); in rsvp_obj_print()
1482 obj_tptr+=16; in rsvp_obj_print()
1491 obj_ptr.rsvp_obj_frr = (const struct rsvp_obj_frr_t *)obj_tptr; in rsvp_obj_print()
1510 obj_tptr+=sizeof(struct rsvp_obj_frr_t); in rsvp_obj_print()
1528 obj_tptr+=16; in rsvp_obj_print()
1542 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
1543 ipaddr_string(ndo, obj_tptr + 4))); in rsvp_obj_print()
1545 obj_tptr+=8; in rsvp_obj_print()
1559 EXTRACT_32BITS(obj_tptr) & 0x7)); in rsvp_obj_print()
1561 obj_tptr+=4; in rsvp_obj_print()
1574 error_code=*(obj_tptr+5); in rsvp_obj_print()
1575 error_value=EXTRACT_16BITS(obj_tptr+6); in rsvp_obj_print()
1578 ipaddr_string(ndo, obj_tptr), in rsvp_obj_print()
1579 *(obj_tptr+4), in rsvp_obj_print()
1600 obj_tptr+=8; in rsvp_obj_print()
1606 error_code=*(obj_tptr+17); in rsvp_obj_print()
1607 error_value=EXTRACT_16BITS(obj_tptr+18); in rsvp_obj_print()
1610 ip6addr_string(ndo, obj_tptr), in rsvp_obj_print()
1611 *(obj_tptr+16), in rsvp_obj_print()
1626 obj_tptr+=20; in rsvp_obj_print()
1638 padbytes = EXTRACT_16BITS(obj_tptr+2); in rsvp_obj_print()
1641 EXTRACT_16BITS(obj_tptr), in rsvp_obj_print()
1644 obj_tptr+=4; in rsvp_obj_print()
1649 tok2str(rsvp_obj_prop_tlv_values,"unknown",*obj_tptr), in rsvp_obj_print()
1650 *obj_tptr, in rsvp_obj_print()
1651 *(obj_tptr + 1))); in rsvp_obj_print()
1652 if (obj_tlen < *(obj_tptr+1)) in rsvp_obj_print()
1654 if (*(obj_tptr+1) < 2) in rsvp_obj_print()
1656 print_unknown_data(ndo, obj_tptr + 2, "\n\t\t", *(obj_tptr + 1) - 2); in rsvp_obj_print()
1657 obj_tlen-=*(obj_tptr+1); in rsvp_obj_print()
1658 obj_tptr+=*(obj_tptr+1); in rsvp_obj_print()
1676 *obj_tptr, in rsvp_obj_print()
1677 EXTRACT_24BITS(obj_tptr + 1))); in rsvp_obj_print()
1679 obj_tptr+=4; in rsvp_obj_print()
1684 EXTRACT_32BITS(obj_tptr), in rsvp_obj_print()
1685 EXTRACT_32BITS(obj_tptr))); in rsvp_obj_print()
1687 obj_tptr+=4; in rsvp_obj_print()
1700 obj_ptr.rsvp_obj_integrity = (const struct rsvp_obj_integrity_t *)obj_tptr; in rsvp_obj_print()
1724 obj_tptr+=sizeof(struct rsvp_obj_integrity_t); in rsvp_obj_print()
1738 EXTRACT_32BITS(obj_tptr)))); in rsvp_obj_print()
1740 obj_tptr+=4; in rsvp_obj_print()
1752 action = (EXTRACT_16BITS(obj_tptr)>>8); in rsvp_obj_print()
1756 action, ((EXTRACT_32BITS(obj_tptr) & 0x7F)))); in rsvp_obj_print()
1766 EXTRACT_32BITS(obj_tptr+4), in rsvp_obj_print()
1767 EXTRACT_32BITS(obj_tptr + 8))); in rsvp_obj_print()
1769 obj_tptr+=12; in rsvp_obj_print()
1774 obj_tptr+=4; in rsvp_obj_print()
1778 EXTRACT_32BITS(obj_tptr))); in rsvp_obj_print()
1779 obj_tptr+=4; in rsvp_obj_print()
1796 ident, ipaddr_string(ndo, obj_tptr))); in rsvp_obj_print()
1799 obj_tptr+=4; in rsvp_obj_print()
1805 ident, ip6addr_string(ndo, obj_tptr))); in rsvp_obj_print()
1808 obj_tptr+=16; in rsvp_obj_print()
1825 print_unknown_data(ndo, obj_tptr, "\n\t ", obj_tlen); /* FIXME indentation */ in rsvp_obj_print()