Lines Matching defs:tptr

240               const u_char *tptr,
255 ldp_tlv_header = (const struct ldp_tlv_header *)tptr;
275 tptr+=sizeof(struct ldp_tlv_header);
282 GET_BE_U_2(tptr),
283 (GET_BE_U_2(tptr + 2)&0x8000) ? "Targeted" : "Link",
284 (GET_BE_U_2(tptr + 2)&0x4000) ? ", Request for targeted Hellos" : "");
289 ND_PRINT("\n\t IPv4 Transport Address: %s", GET_IPADDR_STRING(tptr));
293 ND_PRINT("\n\t IPv6 Transport Address: %s", GET_IP6ADDR_STRING(tptr));
297 ND_PRINT("\n\t Sequence Number: %u", GET_BE_U_4(tptr));
302 af = GET_BE_U_2(tptr);
303 tptr+=LDP_TLV_ADDRESS_LIST_AFNUM_LEN;
310 ND_PRINT(" %s", GET_IPADDR_STRING(tptr));
312 tptr+=sizeof(nd_ipv4);
317 ND_PRINT(" %s", GET_IP6ADDR_STRING(tptr));
319 tptr+=sizeof(nd_ipv6);
331 GET_BE_U_2(tptr), GET_BE_U_2(tptr + 2),
332 (GET_BE_U_2(tptr + 4)&0x8000) ? "On Demand" : "Unsolicited",
333 (GET_BE_U_2(tptr + 4)&0x4000) ? "Enabled" : "Disabled"
336 GET_U_1(tptr+5),
337 GET_BE_U_2(tptr+6),
338 GET_IPADDR_STRING(tptr+8),
339 GET_BE_U_2(tptr+12)
345 fec_type = GET_U_1(tptr);
350 tptr+=1;
358 af = GET_BE_U_2(tptr);
359 tptr+=2;
362 i=decode_prefix4(ndo, tptr, tlv_tlen, buf, sizeof(buf));
372 i=decode_prefix6(ndo, tptr, tlv_tlen, buf, sizeof(buf));
392 vc_info_len = GET_U_1(tptr + 2);
401 tok2str(mpls_pw_types_values, "Unknown", GET_BE_U_2(tptr)&0x7fff),
402 GET_BE_U_2(tptr)&0x8000 ? "" : "no ",
403 GET_BE_U_4(tptr + 3),
411 tok2str(mpls_pw_types_values, "Unknown", GET_BE_U_2(tptr)&0x7fff),
412 GET_BE_U_2(tptr)&0x8000 ? "" : "no ",
413 GET_BE_U_4(tptr + 3),
414 GET_BE_U_4(tptr + 7),
424 tptr+=11;
429 vc_info_tlv_type = GET_U_1(tptr);
430 vc_info_tlv_len = GET_U_1(tptr + 1);
443 ND_PRINT(": %u", GET_BE_U_2(tptr + 2));
449 fn_print_char(ndo, GET_U_1(tptr + idx));
454 GET_U_1((tptr + 2)),
455 bittok2str(ldp_fec_martini_ifparm_vccv_cc_values, "none", GET_U_1((tptr + 2))));
457 GET_U_1((tptr + 3)),
458 bittok2str(ldp_fec_martini_ifparm_vccv_cv_values, "none", GET_U_1((tptr + 3))));
462 print_unknown_data(ndo, tptr+2, "\n\t\t ", vc_info_tlv_len-2);
467 tptr += vc_info_tlv_len;
476 ND_PRINT("\n\t Label: %u", GET_BE_U_4(tptr) & 0xfffff);
481 ui = GET_BE_U_4(tptr);
482 tptr+=4;
487 ui = GET_BE_U_4(tptr);
488 tptr+=4;
495 ft_flags = GET_BE_U_2(tptr);
503 tptr+=4;
504 ui = GET_BE_U_4(tptr);
507 tptr+=4;
508 ui = GET_BE_U_4(tptr);
515 ND_PRINT("\n\t MTU: %u", GET_BE_U_2(tptr));
537 print_unknown_data(ndo, tptr, "\n\t ", tlv_tlen);
576 const u_char *tptr,*msg_tptr;
617 tptr = pptr + sizeof(struct ldp_common_header);
622 ND_TCHECK_LEN(tptr, sizeof(struct ldp_msg_header));
624 ldp_msg_header = (const struct ldp_msg_header *)tptr;
651 msg_tptr=tptr+sizeof(struct ldp_msg_header);
655 ND_TCHECK_LEN(tptr, msg_len);
693 print_unknown_data(ndo, tptr+sizeof(struct ldp_msg_header), "\n\t ",
696 tptr += msg_len+4;