lkml.org 
[lkml]   [1999]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Fw: Linux 2.0/2.1/2.2 -- Anyway to avoid different binaries??
Date
> AK> You don't need to copy all of the packet, only as much of the header
> AK> that you want to examine (although the current linux libbpf wrapper always
> AK> copies the whole packet, but this is just a library bug @).
>
> Which is the best method of getting only headers to user level?

Well you just recv() for the size of bits you want, and the rest fall into
the bitbucket 8)



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.062 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site