Messages in this thread | | | From | kuznet@ms2 ... | Subject | Re: Headerless packets hitting ethernet? | Date | Fri, 24 Sep 1999 22:24:17 +0400 (MSK DST) |
| |
Hello!
> Who is to say it is unused?
It is not used not depending of anyone's desire, but just because it is not well-defined. See below.
Actually, I am even a bit puzzled for what purpose you were intented to use this pointer 8)8). I cannot even formulate a valid goal.
> Because someone might try to use it, assuming that if it is not zero,
This pointer cannot be zero, it is relocateable and always points to a valid memory area.
> > This is pointer for packet sniffer marking start of raw > > data. Outside of this context it is just not well defined. > > Right, and *outgoing* packets get caught by the packet sniffers too...
Exactly. And it is the most weird bug following us from ancient times. Look at code and in comments in it.
Summarizing: mac.raw is trick to pass mac header from driver to packet socket. That's all.
Alexey Kuznetsov
- 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/
| |