Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about libnet

Read more about libnet

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - libnet

Decoding ICMPv4 packets with libpcap and libnet

My program captures packets from the wireless interface and I can view all human-readable bytes using a function similar to hexdump -C. For one, I can't crack the right syntax for the BPF string so al...
test-img

lwoivresbo

c

ping

pcap

bpf

libnet

Votes: 0

Answers: 1

Latest Answer

The filter icmp[icmptype] == icmp-echoreply should do the job, at least it works with tcpdump so it should work with libpcap as well. Tested it with the following command sudo tcpdump -i any "icm...
test-img

Dylan Reimerink

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved