Re: icmp_send()

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

 



as per my knowledge, icmp works on IP layer, and uses raw  sockets(
all protocols that work in IP layer uses raw sockets). So, i think you
should attach the MAC header  yourself( to the skb).  Please let me
know about this.


On 5/7/05, rajat swarup <rajats@xxxxxxxxx> wrote:
> On 5/7/05, kalkov <kalkotiv@xxxxxxxxx> wrote:
> > i think  you should, as per my knowledge. GROUP, any  inputs !!!!
> > > > > I am operating in the netfilter hook in the NF_IP_FORWARD stage.
> > > > >
> > >
> > > So would I need to fill in the MAC layer entries also into the buffer
> > > that I allocate if I need to send ICMP messages?
> > > I want to use icmp_send() method.
> > >
> I am not sure what "grouping" means but does it mean that I should
> take those entries from the arriving packets?
> 
> -Rajat.
> http://rajatswarup.blogspot.com/
>

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