Dear Sir:
I 'm dissecting my company protocol. A reason to debug some errors.
So I need to get the packet number by the struct packet_info. My code slice:
static void
dissect_Uu_Data( proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo _U_,
guint8 offset, guint32 data_len, guint8 channel_type )
{
printf("[%s: %d], packet seq:[%d]\n", __FILE__, __LINE__, pinfo->number);
But the struct packet_info did not own the filed number ! What can I do?
jihong
2016.4.13
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe