Networking Forums

Networking Forums > Computer Networking > Linux Networking > skbuff size

Reply
 
 
Ggds
Guest
Posts: n/a

 
      04-07-2008, 11:58 AM
Hi,
I'm writing some code that works with skbuff structs (the structs that
represent packets) in kernel mode. I get skbuff structs from the IP layer
of the host and, before sending the packet on the net, I add an additional
header. The default available space at the beginning of the skbuff struct
is not enough large to contain the extra header, so I need to copy the
skbuff in a larger skbuff (therefore losing time).
Where can I set the default available space at the beginning of a skbuff? ù
I think I may have to modify the kernel sources (and that's fine), but I
don't know how.

Thanks for your help.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using struct igmphdr with skbuff fafarun Linux Networking 0 05-21-2009 06:15 PM
skbuff size Ggds Linux Networking 0 04-07-2008 11:56 AM
some skbuff questions cranium Linux Networking 1 06-19-2004 04:01 AM
skbuff question Parag Linux Networking 0 05-29-2004 03:27 PM
ping size and mtu size u.dahms Linux Networking 4 10-01-2003 12:35 PM



1 2 3 4 5 6 7 8 9 10 11