Ask Your Question

Revision history [back]

If your dissector is written in C, you can get this information from 'data' parameter of your "int dissect_xxx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)" function. But unfortunately passing 'data' parameter to subdissector written in Lua is not supported by current wireshark.

But if your gRPC operation is defined in 'xxx.proto' file and the wire data is encoded in protobuf format, you need not write dissector by yourself. Because new version of wireshark (since 3.2.0) support configuration '*.proto' feature (https://www.wireshark.org/docs/relnotes/wireshark-3.2.0.html).