Re:

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

 



> You might want to look at catching the buffer at dev->hard_start_xmit() and
> modifying it there before it gets handed off to the ethernet device.

In no way its possible for u to allocate memory at the ethernet driver level while Xt.
It is much before that the skb is allocated,so at the ethernet level u can only do
skb_push or skb_put on the existing buffer allocated while transmitting using the head
and tail pointers.
But at the reception its the driver job to allocate memory so u can allocate memory at
ur wish.!

Karthik



-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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