Re: ICMP packets

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

 



On 5/4/05, Christophe Lucas <clucas@xxxxxxxxxxxxx> wrote:
> rajat swarup (rajats@xxxxxxxxx) wrote:
> > Hi,
> > I need to construct ICMP packets in the Kernel and some particular
> > data needs to be transmitted in the data field of the ICMP packets.
> > Can someone please send some pointers about how to construct ICMP
> > packets and then send them? I believe icmp_send() method is used to
> > send ICMP packets.
> >
> > Any help would be appreciated!
> 
> Why do you have to make this ?
> Does lipcap not enough ?
> 
Libpcap operates in the user level. I am processing some packets in a
kernel hook. I need to take this data from kernel and construct
packets out of it and user mode and kernel mode cannot have shared
memory.

Thanks,
Rajat.

--
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