Answer the question
In order to leave comments, you need to log in
How to distinguish tcp segment data from other data in pcap packet?
When writing a c++ program to process a pcap packet, I ran into a problem: wireshark shows that the packet has a routing protocol, but it also has a tcp segment data
, which does not meet the criteria for a routing protocol.
Maybe someone knows how it can be distinguished tcp segment data
from the bgp protocol, or at least how to find out the length tcp segment data
and where it is located (because sometimes it goes before the bgp protocol, and sometimes after)?
Answer the question
In order to leave comments, you need to log in
how can you distinguish tcp segment data from bgp protocol,
how to find the length
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question