Lines Matching refs:obj_length

2363     guint obj_length;  in find_rsvp_session_tempfilt()  local
2369 for (off = hdr_offset + 8; (off < len) && tvb_bytes_exist(tvb, off, 3); off += obj_length) { in find_rsvp_session_tempfilt()
2370 obj_length = tvb_get_ntohs(tvb, off); in find_rsvp_session_tempfilt()
2371 if (obj_length == 0) in find_rsvp_session_tempfilt()
2664 int offset, int obj_length, in dissect_rsvp_session() argument
2913 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_session_data, tvb, offset2, obj_length-4, ENC_NA); in dissect_rsvp_session()
3174 int offset, int obj_length, in dissect_rsvp_hop() argument
3206 dissect_rsvp_ifid_tlv(ti, pinfo, rsvp_object_tree, tvb, offset+12, obj_length-12, in dissect_rsvp_hop()
3219 dissect_rsvp_ifid_tlv(ti, pinfo, rsvp_object_tree, tvb, offset+24, obj_length-24, in dissect_rsvp_hop()
3226 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_hop_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_hop()
3237 int offset, int obj_length, in dissect_rsvp_time_values() argument
3259 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_time_values_data, tvb, offset2, obj_length - 4, ENC_… in dissect_rsvp_time_values()
3352 int offset, int obj_length, in dissect_rsvp_error() argument
3369 if(obj_length>4) { in dissect_rsvp_error()
3379 if(obj_length>4) { in dissect_rsvp_error()
3389 if(obj_length>4) { in dissect_rsvp_error()
3399 if(obj_length>16) { in dissect_rsvp_error()
3409 if(obj_length>4) { in dissect_rsvp_error()
3410 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_error_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_error()
3415 if(obj_length>4) { in dissect_rsvp_error()
3446 dissect_rsvp_ifid_tlv(ti, pinfo, rsvp_object_tree, tvb, offset+12, obj_length-12, in dissect_rsvp_error()
3459 int offset, int obj_length, in dissect_rsvp_scope() argument
3469 mylen = obj_length - 4; in dissect_rsvp_scope()
3504 int offset, int obj_length, in dissect_rsvp_style() argument
3529 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_style_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_style()
3540 int offset, int obj_length, in dissect_rsvp_confirm() argument
3566 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_confirm_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_confirm()
3577 int offset, int obj_length, in dissect_rsvp_template_filter() argument
3722 …ree_add_item(rsvp_object_tree, hf_rsvp_template_filter_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_template_filter()
3874 int offset, int obj_length, in dissect_rsvp_tspec() argument
3887 mylen = obj_length - 4; in dissect_rsvp_tspec()
4066 dissect_rsvp_eth_tspec_tlv(ti, pinfo, rsvp_object_tree, tvb, offset+8, obj_length-8, in dissect_rsvp_tspec()
4082 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_tspec_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_tspec()
4094 int offset, int obj_length, in dissect_rsvp_flowspec() argument
4106 mylen = obj_length - 4; in dissect_rsvp_flowspec()
4113 "Object length %u < 8", obj_length); in dissect_rsvp_flowspec()
4133 "Object length %u not large enough", obj_length); in dissect_rsvp_flowspec()
4302 dissect_rsvp_eth_tspec_tlv(ti, pinfo, rsvp_object_tree, tvb, offset+8, obj_length-8, in dissect_rsvp_flowspec()
4326 int offset, int obj_length, in dissect_rsvp_adspec() argument
4340 mylen = obj_length - 4; in dissect_rsvp_adspec()
4410 int offset, int obj_length, in dissect_rsvp_integrity() argument
4428 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_integrity_hash, tvb, offset2+16, obj_length - 20, EN… in dissect_rsvp_integrity()
4437 int offset, int obj_length, in dissect_rsvp_policy() argument
4447 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_policy_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_policy()
4456 int offset, int obj_length, in dissect_rsvp_label_request() argument
4553 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_label_request_data, tvb, offset2, obj_length - 4, EN… in dissect_rsvp_label_request()
4751 int offset, int obj_length, in dissect_rsvp_label() argument
4767 mylen = obj_length - 4; in dissect_rsvp_label()
4832 int offset, int obj_length, in dissect_rsvp_label_set() argument
4839 len = obj_length - 8; in dissect_rsvp_label_set()
4877 int offset, int obj_length, in dissect_rsvp_session_attribute() argument
4935 …e_add_item(rsvp_object_tree, hf_rsvp_session_attribute_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_session_attribute()
4947 int offset, int obj_length, int rsvp_class) in dissect_rsvp_ro_subobjects() argument
4973 for (i=1, l = 0; l < obj_length - 4; i++) { in dissect_rsvp_ro_subobjects()
5335 if (l < obj_length - 4) { in dissect_rsvp_ro_subobjects()
5352 int offset, int obj_length, in dissect_rsvp_explicit_route() argument
5366 offset + 4, obj_length, rsvp_class); in dissect_rsvp_explicit_route()
5371 …ree_add_item(rsvp_object_tree, hf_rsvp_explicit_route_data, tvb, offset+4, obj_length - 4, ENC_NA); in dissect_rsvp_explicit_route()
5382 int offset, int obj_length, in dissect_rsvp_record_route() argument
5396 offset + 4, obj_length, rsvp_class); in dissect_rsvp_record_route()
5401 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_record_route_data, tvb, offset+4, obj_length - 4, EN… in dissect_rsvp_record_route()
5411 tvbuff_t *tvb, int offset, int obj_length, in dissect_rsvp_exclude_route() argument
5424 offset + 4, obj_length, rsvp_class); in dissect_rsvp_exclude_route()
5429 …ee_add_item(rsvp_object_tree, hf_rsvp_exclude_route_data, tvb, offset + 4, obj_length - 4, ENC_NA); in dissect_rsvp_exclude_route()
5440 int offset, int obj_length, in dissect_rsvp_message_id() argument
5462 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_message_id_data, tvb, offset2, obj_length - 4, ENC_N… in dissect_rsvp_message_id()
5473 int offset, int obj_length, in dissect_rsvp_message_id_ack() argument
5497 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_message_id_ack_data, tvb, offset2, obj_length - 4, E… in dissect_rsvp_message_id_ack()
5508 int offset, int obj_length, in dissect_rsvp_message_id_list() argument
5523 for (mylen = 8; mylen < obj_length; mylen += 4) in dissect_rsvp_message_id_list()
5526 (obj_length - 8)/4); in dissect_rsvp_message_id_list()
5531 …ree_add_item(rsvp_object_tree, hf_rsvp_message_id_list_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_message_id_list()
5542 int offset, int obj_length _U_, in dissect_rsvp_hello()
5573 int offset, int obj_length, in dissect_rsvp_dclass() argument
5587 for (mylen = 4; mylen < obj_length; mylen += 4) { in dissect_rsvp_dclass()
5591 mylen==obj_length-4 ? "": in dissect_rsvp_dclass()
5598 mylen = obj_length - 4; in dissect_rsvp_dclass()
5611 int offset, int obj_length, in dissect_rsvp_admin_status() argument
5653 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_admin_status_data, tvb, offset2, obj_length - 4, ENC… in dissect_rsvp_admin_status()
5663 tvbuff_t *tvb, int offset, int obj_length, in dissect_rsvp_lsp_attributes() argument
5705 for (tlv_off = 4; tlv_off < obj_length-4; ) { in dissect_rsvp_lsp_attributes()
5709 if ((tlv_len == 0) || (tlv_off+tlv_len > obj_length)) { in dissect_rsvp_lsp_attributes()
5753 …add_item(rsvp_object_tree, hf_rsvp_lsp_attributes_tlv_data, tvb, offset+4, obj_length - 4, ENC_NA); in dissect_rsvp_lsp_attributes()
5773 int offset, int obj_length, in dissect_rsvp_association() argument
5828 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_association_data, tvb, offset+4, obj_length - 4, ENC… in dissect_rsvp_association()
5922 int offset, int obj_length, in dissect_rsvp_lsp_tunnel_if_id() argument
5950 dissect_rsvp_lsp_tunnel_if_id_tlv(rsvp_object_tree, pinfo, tvb, offset+16, obj_length-16, in dissect_rsvp_lsp_tunnel_if_id()
5963 dissect_rsvp_lsp_tunnel_if_id_tlv(rsvp_object_tree, pinfo, tvb, offset+28, obj_length-28, in dissect_rsvp_lsp_tunnel_if_id()
5978 dissect_rsvp_lsp_tunnel_if_id_tlv(rsvp_object_tree, pinfo, tvb, offset+20, obj_length-20, in dissect_rsvp_lsp_tunnel_if_id()
5984 …ree_add_item(rsvp_object_tree, hf_rsvp_lsp_tunnel_if_id_data, tvb, offset+4, obj_length-4, ENC_NA); in dissect_rsvp_lsp_tunnel_if_id()
5995 int offset, int obj_length, in dissect_rsvp_notify_request() argument
6023 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_notify_request_data, tvb, offset2, obj_length - 4, E… in dissect_rsvp_notify_request()
6034 int offset, int obj_length, in dissect_rsvp_gen_uni() argument
6051 mylen = obj_length - 4; in dissect_rsvp_gen_uni()
6307 int offset, int obj_length, in dissect_rsvp_call_id() argument
6325 if (obj_length > 4) in dissect_rsvp_call_id()
6326 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_call_id_data, tvb, offset2, obj_length-4, ENC_NA); in dissect_rsvp_call_id()
6333 len = obj_length - 16; in dissect_rsvp_call_id()
6342 len = obj_length - 28; in dissect_rsvp_call_id()
6400 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_call_id_data, tvb, offset2, obj_length-4, ENC_NA); in dissect_rsvp_call_id()
6490 int offset, int obj_length, in dissect_rsvp_3gpp_object() argument
6503 obj_length = obj_length - 4; in dissect_rsvp_3gpp_object()
6508 obj_length = obj_length - 4; in dissect_rsvp_3gpp_object()
6510 while(obj_length>0){ in dissect_rsvp_3gpp_object()
6835 obj_length = obj_length - length; in dissect_rsvp_3gpp_object()
6846 int offset, int obj_length, in dissect_rsvp_restart_cap() argument
6870 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_restart_cap_data, tvb, offset2, obj_length - 4, ENC_… in dissect_rsvp_restart_cap()
6881 int offset, int obj_length, in dissect_rsvp_link_cap() argument
6895 offset + 4, obj_length, rsvp_class); in dissect_rsvp_link_cap()
6900 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_record_route_data, tvb, offset+4, obj_length - 4, EN… in dissect_rsvp_link_cap()
6911 int offset, int obj_length, in dissect_rsvp_protection_info() argument
7055 …ree_add_item(rsvp_object_tree, hf_rsvp_protection_info_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_protection_info()
7066 int offset, int obj_length, in dissect_rsvp_fast_reroute() argument
7080 if (((type == 1) && (obj_length != 24)) || ((type == 7) && (obj_length != 20))) { in dissect_rsvp_fast_reroute()
7081 …o_tree_add_expert_format(rsvp_object_tree, pinfo, &ei_rsvp_invalid_length, tvb, offset, obj_length, in dissect_rsvp_fast_reroute()
7112 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_fast_reroute_data, tvb, offset+4, obj_length - 4, EN… in dissect_rsvp_fast_reroute()
7123 int offset, int obj_length, in dissect_rsvp_s2l_sub_lsp() argument
7150 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_s2l_sub_lsp_data, tvb, offset+4, obj_length - 4, ENC… in dissect_rsvp_s2l_sub_lsp()
7161 int offset, int obj_length, in dissect_rsvp_detour() argument
7176 for (remaining_length = obj_length - 4, count = 1; in dissect_rsvp_detour()
7180 obj_length-remaining_length, in dissect_rsvp_detour()
7198 … proto_tree_add_item(rsvp_object_tree, hf_rsvp_detour_data, tvb, offset+4, obj_length - 4, ENC_NA); in dissect_rsvp_detour()
7209 int offset, int obj_length, in dissect_rsvp_diffserv() argument
7257 …proto_tree_add_item(rsvp_object_tree, hf_rsvp_diffserv_data, tvb, offset + 1, obj_length - 4, ENC_… in dissect_rsvp_diffserv()
7268 int offset, int obj_length, in dissect_rsvp_diffserv_aware_te() argument
7295 …e_add_item(rsvp_object_tree, hf_rsvp_diffserv_aware_te_data, tvb, offset2, obj_length - 4, ENC_NA); in dissect_rsvp_diffserv_aware_te()
7307 int offset, int obj_length, in dissect_rsvp_vendor_private_use() argument
7325 tvb, offset, obj_length, ENC_NA); in dissect_rsvp_vendor_private_use()
7336 obj_length - 8, ENC_NA); in dissect_rsvp_vendor_private_use()
7344 … tvbuff_t *tvb, int offset, int obj_length _U_, int rsvp_class _U_, int type _U_) in dissect_rsvp_call_attributes()
7374 int offset, int obj_length, in dissect_rsvp_juniper() argument
7393 tvb, offset, obj_length, ENC_NA); in dissect_rsvp_juniper()
7457 } else if (obj_length > 4) { in dissect_rsvp_juniper()
7459 offset, obj_length, ENC_NA); in dissect_rsvp_juniper()
7470 int offset, int obj_length, in dissect_rsvp_unknown() argument
7479 if (obj_length > 4) { in dissect_rsvp_unknown()
7481 obj_length - 4, ENC_NA); in dissect_rsvp_unknown()
7505 int obj_length; in dissect_rsvp_msg_tree() local
7589 obj_length = tvb_get_ntohs(tvb, offset); in dissect_rsvp_msg_tree()
7593 tvb, offset, obj_length, ENC_BIG_ENDIAN); in dissect_rsvp_msg_tree()
7596 if (obj_length < 4) { in dissect_rsvp_msg_tree()
7598 "Length: %u (bogus, must be >= 4)", obj_length); in dissect_rsvp_msg_tree()
7607 …dissect_rsvp_session(pinfo, ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type, rsvph… in dissect_rsvp_msg_tree()
7611 … dissect_rsvp_hop(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7615 … dissect_rsvp_time_values(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7619 … dissect_rsvp_error(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7623 dissect_rsvp_scope(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7627 dissect_rsvp_style(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7631 dissect_rsvp_confirm(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7636 …dissect_rsvp_template_filter(pinfo, ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, typ… in dissect_rsvp_msg_tree()
7640 … dissect_rsvp_tspec(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7644 … dissect_rsvp_flowspec(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7648 … dissect_rsvp_adspec(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7653 dissect_rsvp_integrity(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7657 dissect_rsvp_policy(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7661 … dissect_rsvp_label_request(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7668 dissect_rsvp_label(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7672 dissect_rsvp_label_set(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7676 … dissect_rsvp_session_attribute(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7680 …dissect_rsvp_explicit_route(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type… in dissect_rsvp_msg_tree()
7684 … dissect_rsvp_record_route(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7689 obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7693 … dissect_rsvp_message_id(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7697 … dissect_rsvp_message_id_ack(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7701 … dissect_rsvp_message_id_list(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7705 dissect_rsvp_hello(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7709 dissect_rsvp_dclass(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7713 … dissect_rsvp_admin_status(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7718 …dissect_rsvp_lsp_attributes(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type… in dissect_rsvp_msg_tree()
7722 … dissect_rsvp_association(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7726 …dissect_rsvp_lsp_tunnel_if_id(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, ty… in dissect_rsvp_msg_tree()
7730 … dissect_rsvp_notify_request(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7734 …dissect_rsvp_gen_uni(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type, rsvph… in dissect_rsvp_msg_tree()
7738 … dissect_rsvp_call_id(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7742 … dissect_rsvp_3gpp_object(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7746 … dissect_rsvp_restart_cap(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7750 … dissect_rsvp_link_cap(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7754 … dissect_rsvp_protection_info(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7758 … dissect_rsvp_fast_reroute(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7762 … dissect_rsvp_s2l_sub_lsp(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7766 … dissect_rsvp_detour(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7770 dissect_rsvp_diffserv(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7774 … dissect_rsvp_diffserv_aware_te(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7789 … dissect_rsvp_vendor_private_use(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7793 …dissect_rsvp_call_attributes(ti, pinfo, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, typ… in dissect_rsvp_msg_tree()
7797 dissect_rsvp_juniper(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7801 dissect_rsvp_unknown(ti, rsvp_object_tree, tvb, offset, obj_length, rsvp_class, type); in dissect_rsvp_msg_tree()
7805 offset += obj_length; in dissect_rsvp_msg_tree()
7806 len += obj_length; in dissect_rsvp_msg_tree()