Home
last modified time | relevance | path

Searched refs:header_tvb (Results 1 – 25 of 44) sorted by relevance

12

/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-m2pa.c147 dissect_v2_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_v2_header() argument
151 message_type = tvb_get_ntohs(header_tvb, V2_TYPE_OFFSET); in dissect_v2_header()
155 …proto_tree_add_item(m2pa_tree, hf_version, header_tvb, VERSION_OFFSET, VERSION_LENGTH, ENC_B… in dissect_v2_header()
156 …proto_tree_add_item(m2pa_tree, hf_spare, header_tvb, SPARE_OFFSET, SPARE_LENGTH, ENC_B… in dissect_v2_header()
157 …proto_tree_add_item(m2pa_tree, hf_v2_type, header_tvb, V2_TYPE_OFFSET, V2_TYPE_LENGTH, ENC_B… in dissect_v2_header()
158 …proto_tree_add_item(m2pa_tree, hf_length, header_tvb, V2_LENGTH_OFFSET, LENGTH_LENGTH, ENC_B… in dissect_v2_header()
162 dissect_v8_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_v8_header() argument
166 message_type = tvb_get_guint8(header_tvb, V8_TYPE_OFFSET); in dissect_v8_header()
170 …proto_tree_add_item(m2pa_tree, hf_version, header_tvb, VERSION_OFFSET, VERSION_LENGTH, ENC_B… in dissect_v8_header()
182 dissect_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_header() argument
[all …]
H A Dpacket-spdy.c1078 tvbuff_t *header_tvb = NULL; in dissect_spdy_header_payload() local
1136 header_tvb = tvb; in dissect_spdy_header_payload()
1201 add_new_data_source(pinfo, header_tvb, "Uncompressed headers"); in dissect_spdy_header_payload()
1206 if (header_tvb == NULL || !spdy_decompress_headers) { in dissect_spdy_header_payload()
1209 num_headers = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
1212 header_tvb, in dissect_spdy_header_payload()
1231 if (tvb_reported_length_remaining(header_tvb, hdr_offset) < 4) { in dissect_spdy_header_payload()
1237 header_name_length = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
1250 if (tvb_reported_length_remaining(header_tvb, hdr_offset) < 4) { in dissect_spdy_header_payload()
1256 header_value_length = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
[all …]
H A Dpacket-cpfi.c297 tvbuff_t *header_tvb, *body_tvb, *footer_tvb; in dissect_cpfi() local
356 header_tvb = tvb_new_subset_length(message_tvb, 0, 8); in dissect_cpfi()
357 dissect_cpfi_header(header_tvb, pinfo, cpfi_tree); in dissect_cpfi()
H A Dpacket-gssapi.h63 wrap_dissect_gssapi_payload(tvbuff_t *header_tvb _U_,
H A Dpacket-gssapi.c673 wrap_dissect_gssapi_payload(tvbuff_t *header_tvb, in wrap_dissect_gssapi_payload() argument
693 header_tvb = NULL; in wrap_dissect_gssapi_payload()
698 gssapi_encrypt.gssapi_header_tvb=header_tvb; in wrap_dissect_gssapi_payload()
H A Dpacket-http2.c1777 tvbuff_t *header_tvb = tvb_new_composite(); in inflate_http2_header_block() local
1949 tvb_composite_append(header_tvb, next_tvb); in inflate_http2_header_block()
1952 tvb_composite_finalize(header_tvb); in inflate_http2_header_block()
1953 add_new_data_source(pinfo, header_tvb, "Decompressed Header"); in inflate_http2_header_block()
1955 ti = proto_tree_add_uint(tree, hf_http2_header_length, header_tvb, hoffset, 1, header_len); in inflate_http2_header_block()
1965 …ti = proto_tree_add_uint(tree, hf_http2_header_count, header_tvb, hoffset, 1, wmem_array_get_count… in inflate_http2_header_block()
1994 …proto_tree_add_item_ret_uint(header_tree, hf_http2_header_name_length, header_tvb, hoffset, 4, ENC… in inflate_http2_header_block()
1998 …proto_tree_add_item_ret_string(header_tree, hf_http2_header_name, header_tvb, hoffset, header_name… in inflate_http2_header_block()
2002 …proto_tree_add_item_ret_uint(header_tree, hf_http2_header_value_length, header_tvb, hoffset, 4, EN… in inflate_http2_header_block()
2008 …try_add_named_header_field(header_tree, header_tvb, hoffset, header_value_length, header_name, hea… in inflate_http2_header_block()
[all …]
H A Dpacket-pdcp-nr.c1551 … guint32 calculate_digest(pdu_security_settings_t *pdu_security_settings, tvbuff_t *header_tvb _U_, in calculate_digest()
1579 guint header_length = tvb_reported_length(header_tvb); in calculate_digest()
1586 tvb_memcpy(header_tvb, message_data, 0, header_length); in calculate_digest()
1631 header_length = tvb_reported_length(header_tvb); in calculate_digest()
1642 tvb_memcpy(header_tvb, message_data+8, 0, header_length); in calculate_digest()
1672 guint header_length = tvb_reported_length(header_tvb); in calculate_digest()
1677 tvb_memcpy(header_tvb, message_data, 0, header_length); in calculate_digest()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-m2pa.c147 dissect_v2_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_v2_header() argument
151 message_type = tvb_get_ntohs(header_tvb, V2_TYPE_OFFSET); in dissect_v2_header()
155 …proto_tree_add_item(m2pa_tree, hf_version, header_tvb, VERSION_OFFSET, VERSION_LENGTH, ENC_B… in dissect_v2_header()
156 …proto_tree_add_item(m2pa_tree, hf_spare, header_tvb, SPARE_OFFSET, SPARE_LENGTH, ENC_B… in dissect_v2_header()
157 …proto_tree_add_item(m2pa_tree, hf_v2_type, header_tvb, V2_TYPE_OFFSET, V2_TYPE_LENGTH, ENC_B… in dissect_v2_header()
158 …proto_tree_add_item(m2pa_tree, hf_length, header_tvb, V2_LENGTH_OFFSET, LENGTH_LENGTH, ENC_B… in dissect_v2_header()
162 dissect_v8_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_v8_header() argument
166 message_type = tvb_get_guint8(header_tvb, V8_TYPE_OFFSET); in dissect_v8_header()
170 …proto_tree_add_item(m2pa_tree, hf_version, header_tvb, VERSION_OFFSET, VERSION_LENGTH, ENC_B… in dissect_v8_header()
182 dissect_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_header() argument
[all …]
H A Dpacket-spdy.c1078 tvbuff_t *header_tvb = NULL;
1136 header_tvb = tvb;
1201 add_new_data_source(pinfo, header_tvb, "Uncompressed headers");
1206 if (header_tvb == NULL || !spdy_decompress_headers) {
1209 num_headers = tvb_get_ntohl(header_tvb, hdr_offset);
1212 header_tvb,
1231 if (tvb_reported_length_remaining(header_tvb, hdr_offset) < 4) {
1237 header_name_length = tvb_get_ntohl(header_tvb, hdr_offset);
1250 if (tvb_reported_length_remaining(header_tvb, hdr_offset) < 4) {
1256 header_value_length = tvb_get_ntohl(header_tvb, hdr_offset);
[all …]
H A Dpacket-cpfi.c297 tvbuff_t *header_tvb, *body_tvb, *footer_tvb; in dissect_cpfi() local
356 header_tvb = tvb_new_subset_length(message_tvb, 0, 8); in dissect_cpfi()
357 dissect_cpfi_header(header_tvb, pinfo, cpfi_tree); in dissect_cpfi()
H A Dpacket-gssapi.h63 wrap_dissect_gssapi_payload(tvbuff_t *header_tvb _U_,
H A Dpacket-gssapi.c673 wrap_dissect_gssapi_payload(tvbuff_t *header_tvb, in wrap_dissect_gssapi_payload() argument
693 header_tvb = NULL; in wrap_dissect_gssapi_payload()
698 gssapi_encrypt.gssapi_header_tvb=header_tvb; in wrap_dissect_gssapi_payload()
H A Dpacket-http2.c1777 tvbuff_t *header_tvb = tvb_new_composite(); in inflate_http2_header_block() local
1949 tvb_composite_append(header_tvb, next_tvb); in inflate_http2_header_block()
1952 tvb_composite_finalize(header_tvb); in inflate_http2_header_block()
1953 add_new_data_source(pinfo, header_tvb, "Decompressed Header"); in inflate_http2_header_block()
1955 ti = proto_tree_add_uint(tree, hf_http2_header_length, header_tvb, hoffset, 1, header_len); in inflate_http2_header_block()
1965 …ti = proto_tree_add_uint(tree, hf_http2_header_count, header_tvb, hoffset, 1, wmem_array_get_count… in inflate_http2_header_block()
1994 …proto_tree_add_item_ret_uint(header_tree, hf_http2_header_name_length, header_tvb, hoffset, 4, ENC… in inflate_http2_header_block()
1998 …proto_tree_add_item_ret_string(header_tree, hf_http2_header_name, header_tvb, hoffset, header_name… in inflate_http2_header_block()
2002 …proto_tree_add_item_ret_uint(header_tree, hf_http2_header_value_length, header_tvb, hoffset, 4, EN… in inflate_http2_header_block()
2008 …try_add_named_header_field(header_tree, header_tvb, hoffset, header_value_length, header_name, hea… in inflate_http2_header_block()
[all …]
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-m2pa.c147 dissect_v2_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree)
151 message_type = tvb_get_ntohs(header_tvb, V2_TYPE_OFFSET);
155 …proto_tree_add_item(m2pa_tree, hf_version, header_tvb, VERSION_OFFSET, VERSION_LENGTH, ENC_B…
156 …proto_tree_add_item(m2pa_tree, hf_spare, header_tvb, SPARE_OFFSET, SPARE_LENGTH, ENC_B…
157 …proto_tree_add_item(m2pa_tree, hf_v2_type, header_tvb, V2_TYPE_OFFSET, V2_TYPE_LENGTH, ENC_B…
158 …proto_tree_add_item(m2pa_tree, hf_length, header_tvb, V2_LENGTH_OFFSET, LENGTH_LENGTH, ENC_B…
162 dissect_v8_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree)
166 message_type = tvb_get_guint8(header_tvb, V8_TYPE_OFFSET);
170 …proto_tree_add_item(m2pa_tree, hf_version, header_tvb, VERSION_OFFSET, VERSION_LENGTH, ENC_B…
182 dissect_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree)
[all …]
H A Dpacket-spdy.c1078 tvbuff_t *header_tvb = NULL; in dissect_spdy_header_payload() local
1136 header_tvb = tvb; in dissect_spdy_header_payload()
1201 add_new_data_source(pinfo, header_tvb, "Uncompressed headers"); in dissect_spdy_header_payload()
1206 if (header_tvb == NULL || !spdy_decompress_headers) { in dissect_spdy_header_payload()
1209 num_headers = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
1212 header_tvb, in dissect_spdy_header_payload()
1231 if (tvb_reported_length_remaining(header_tvb, hdr_offset) < 4) { in dissect_spdy_header_payload()
1237 header_name_length = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
1250 if (tvb_reported_length_remaining(header_tvb, hdr_offset) < 4) { in dissect_spdy_header_payload()
1256 header_value_length = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
[all …]
H A Dpacket-cpfi.c297 tvbuff_t *header_tvb, *body_tvb, *footer_tvb;
356 header_tvb = tvb_new_subset_length(message_tvb, 0, 8);
357 dissect_cpfi_header(header_tvb, pinfo, cpfi_tree);
H A Dpacket-gssapi.h63 wrap_dissect_gssapi_payload(tvbuff_t *header_tvb _U_,
H A Dpacket-gssapi.c673 wrap_dissect_gssapi_payload(tvbuff_t *header_tvb,
693 header_tvb = NULL;
698 gssapi_encrypt.gssapi_header_tvb=header_tvb;
H A Dpacket-http2.c1777 tvbuff_t *header_tvb = tvb_new_composite();
1949 tvb_composite_append(header_tvb, next_tvb);
1952 tvb_composite_finalize(header_tvb);
1953 add_new_data_source(pinfo, header_tvb, "Decompressed Header");
1955 ti = proto_tree_add_uint(tree, hf_http2_header_length, header_tvb, hoffset, 1, header_len);
1965 …ti = proto_tree_add_uint(tree, hf_http2_header_count, header_tvb, hoffset, 1, wmem_array_get_count…
1994 …proto_tree_add_item_ret_uint(header_tree, hf_http2_header_name_length, header_tvb, hoffset, 4, ENC…
1998 …proto_tree_add_item_ret_string(header_tree, hf_http2_header_name, header_tvb, hoffset, header_name…
2002 …proto_tree_add_item_ret_uint(header_tree, hf_http2_header_value_length, header_tvb, hoffset, 4, EN…
2008 …try_add_named_header_field(header_tree, header_tvb, hoffset, header_value_length, header_name, hea…
[all …]
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-m2pa.c147 dissect_v2_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_v2_header() argument
151 message_type = tvb_get_ntohs(header_tvb, V2_TYPE_OFFSET); in dissect_v2_header()
155 …proto_tree_add_item(m2pa_tree, hf_version, header_tvb, VERSION_OFFSET, VERSION_LENGTH, ENC_B… in dissect_v2_header()
156 …proto_tree_add_item(m2pa_tree, hf_spare, header_tvb, SPARE_OFFSET, SPARE_LENGTH, ENC_B… in dissect_v2_header()
157 …proto_tree_add_item(m2pa_tree, hf_v2_type, header_tvb, V2_TYPE_OFFSET, V2_TYPE_LENGTH, ENC_B… in dissect_v2_header()
158 …proto_tree_add_item(m2pa_tree, hf_length, header_tvb, V2_LENGTH_OFFSET, LENGTH_LENGTH, ENC_B… in dissect_v2_header()
162 dissect_v8_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_v8_header() argument
166 message_type = tvb_get_guint8(header_tvb, V8_TYPE_OFFSET); in dissect_v8_header()
170 …proto_tree_add_item(m2pa_tree, hf_version, header_tvb, VERSION_OFFSET, VERSION_LENGTH, ENC_B… in dissect_v8_header()
182 dissect_header(tvbuff_t *header_tvb, packet_info *pinfo, proto_tree *m2pa_tree) in dissect_header() argument
[all …]
H A Dpacket-spdy.c1078 tvbuff_t *header_tvb = NULL; in dissect_spdy_header_payload() local
1136 header_tvb = tvb; in dissect_spdy_header_payload()
1201 add_new_data_source(pinfo, header_tvb, "Uncompressed headers"); in dissect_spdy_header_payload()
1206 if (header_tvb == NULL || !spdy_decompress_headers) { in dissect_spdy_header_payload()
1209 num_headers = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
1212 header_tvb, in dissect_spdy_header_payload()
1231 if (tvb_reported_length_remaining(header_tvb, hdr_offset) < 4) { in dissect_spdy_header_payload()
1237 header_name_length = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
1250 if (tvb_reported_length_remaining(header_tvb, hdr_offset) < 4) { in dissect_spdy_header_payload()
1256 header_value_length = tvb_get_ntohl(header_tvb, hdr_offset); in dissect_spdy_header_payload()
[all …]
H A Dpacket-cpfi.c297 tvbuff_t *header_tvb, *body_tvb, *footer_tvb; in dissect_cpfi() local
356 header_tvb = tvb_new_subset_length(message_tvb, 0, 8); in dissect_cpfi()
357 dissect_cpfi_header(header_tvb, pinfo, cpfi_tree); in dissect_cpfi()
H A Dpacket-gssapi.h63 wrap_dissect_gssapi_payload(tvbuff_t *header_tvb _U_,
H A Dpacket-gssapi.c673 wrap_dissect_gssapi_payload(tvbuff_t *header_tvb,
693 header_tvb = NULL;
698 gssapi_encrypt.gssapi_header_tvb=header_tvb;
H A Dpacket-http2.c1777 tvbuff_t *header_tvb = tvb_new_composite(); in inflate_http2_header_block() local
1949 tvb_composite_append(header_tvb, next_tvb); in inflate_http2_header_block()
1952 tvb_composite_finalize(header_tvb); in inflate_http2_header_block()
1953 add_new_data_source(pinfo, header_tvb, "Decompressed Header"); in inflate_http2_header_block()
1955 ti = proto_tree_add_uint(tree, hf_http2_header_length, header_tvb, hoffset, 1, header_len); in inflate_http2_header_block()
1965 …ti = proto_tree_add_uint(tree, hf_http2_header_count, header_tvb, hoffset, 1, wmem_array_get_count… in inflate_http2_header_block()
1994 …proto_tree_add_item_ret_uint(header_tree, hf_http2_header_name_length, header_tvb, hoffset, 4, ENC… in inflate_http2_header_block()
1998 …proto_tree_add_item_ret_string(header_tree, hf_http2_header_name, header_tvb, hoffset, header_name… in inflate_http2_header_block()
2002 …proto_tree_add_item_ret_uint(header_tree, hf_http2_header_value_length, header_tvb, hoffset, 4, EN… in inflate_http2_header_block()
2008 …try_add_named_header_field(header_tree, header_tvb, hoffset, header_value_length, header_name, hea… in inflate_http2_header_block()
[all …]

12