Ask Your Question
0

a question about PER Decode

asked 2018-08-18 11:34:33 +0000

liwsh880709 gravatar image

updated 2018-08-20 08:35:05 +0000

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)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-08-20 07:48:10 +0000

Anders gravatar image

updated 2018-08-20 15:31:03 +0000

grahamb gravatar image

Hi, It seems not From packet-per.c

/* we currently only handle integers up to 32 bits in length. */
guint32
dissect_per_integer(
edit flag offensive delete link more

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 gravatar imageliwsh880709 ( 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 gravatar imageliwsh880709 ( 2018-08-20 08:13:13 +0000 )edit

What specific X2AP data is 64 bits?

Anders gravatar imageAnders ( 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 gravatar imageliwsh880709 ( 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 gravatar imagePascal Quantin ( 2018-08-20 17:20:28 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-08-18 11:34:33 +0000

Seen: 531 times

Last updated: Aug 20 '18