Ask Your Question

How ProtoField name are displayed ?

asked 2019-06-13 07:07:02 +0000

Harvey gravatar image

Hello, I made some definition :

frame_type = ProtoField.int16("TGIP.frame_type" , "frameType" , base.DEC,families)
chunk_count ="TGIP.chunk_count", "chunkCount", ftypes.UINT32)

When it is displayed : ![]

I don't understand why one fied use "frameType" and the other "TGIP.chunk_count" and not "chunkCount" ?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-06-13 14:54:01 +0000

Pascal Quantin gravatar image

updated 2019-06-13 16:51:14 +0000

grahamb gravatar image

As documented here, ProtoField.int16 and have their 2 first parameters swapped. So what you see is normal, you need to modify your function call.

edit flag offensive delete link more


Thank you very much, it is displayed correctly. I did not pay attention to that.

Harvey gravatar imageHarvey ( 2019-06-14 11:09:48 +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


Asked: 2019-06-13 07:07:02 +0000

Seen: 357 times

Last updated: Jun 13 '19