How to print destination IP address of packet in netfilter module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello ,
           I want to log  every packet sent by printing its
destination ip address. I know about how to write netfilter kernel
module at NF_IP_POST_ROUTING. but dont know how to print ip address as
          e.g.   10.0.0.10  if destination ip is 10.0.0.10
regards,
rahul.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux