Messages in this thread | | | From | (Alan Cox) | Subject | Re: Fw: Linux 2.0/2.1/2.2 -- Anyway to avoid different binaries?? | Date | Wed, 24 Feb 1999 21:50:30 +0000 (GMT) |
| |
> 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/
| |