java - how to get protocol details from packets stored in a pcap file -



java - how to get protocol details from packets stored in a pcap file -

i want create switch loop (in java) cases protocol of ip header of packets stored in pcap file.

i using jnetpcap library access packets.

i know how ip address, port numbers etc. packet want know whether there function tells me straight protocol of packet i.e. tcp, udp, icmp etc. 1 can suggest if he/she knows other library has kind of function.

thanks in advance.

there exists jpcap library built-in functions available extract protocol of packet , other details.

java protocols packet pcap jnetpcap

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -