First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

a question about PER Decode

  • retag add tags

Can the following decode process of PER support the decode of the maximum value(2^64-1) of unsigned long long? epan\dissectors\packet-per.c

X2AP's Decoding way is PER, if PER not to support the decode of the maximum value (2^64-1) of unsigned long long, X2AP decode can really success? (currently the maximum value(2^64-1) of unsigned long long already in the 3GPP ASN1)

liwsh880709's avatar
1
liwsh880709
asked 2018-08-18 11:34:33 +0000, updated 2018-08-20 08:35:05 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Hi, It seems not From packet-per.c

/* we currently only handle integers up to 32 bits in length. */
guint32
dissect_per_integer(
Anders's avatar
5k
Anders
answered 2018-08-20 07:48:10 +0000
grahamb's avatar
23.8k
grahamb
updated 2018-08-20 15:31:03 +0000
edit flag offensive 0 remove flag delete link

Comments

in the latest version packet-per.c, the function "dissect_per_integer64b" an handle integers up to 64 bits in length. but Seem not to support the decode of the maximum value(2^64-1) of unsigned long long?

liwsh880709's avatar liwsh880709 (2018-08-20 08:08:08 +0000) edit

X2AP's Decoding way is PER, if wireshark not to support the decode of the maximum value(2^64-1) of unsigned long long. X2AP decode can really success? (currently the maximum value(2^64-1) of unsigned long long already exists in the 3GPP ASN1)

liwsh880709's avatar liwsh880709 (2018-08-20 08:13:13 +0000) edit

What specific X2AP data is 64 bits?

Anders's avatar Anders (2018-08-20 11:12:44 +0000) edit

In X2AP 3GPP ASN1 Version 15.1.0 ,the specific X2AP data is 64 bits((2^64-1))as follows? usageCountUL INTEGER (0..18446744073709551615), usageCountDL INTEGER (0..18446744073709551615),

liwsh880709's avatar liwsh880709 (2018-08-20 14:33:59 +0000) edit

At first glance it should be supported. Have you tested it and faced an issue? If yes please share the corresponding pcap.

Pascal Quantin's avatar Pascal Quantin (2018-08-20 17:20:28 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer