I think I've figured out what is happening. The first copy of the packet is of type 4 (outgoing)
and the second copy is of type 3 (otherhost). We are using an fddi ring here, so what seems to
happen is this:
The station running the program with a packet socket sends out a network packet to some other
host and the packet socket gets a copy of the packet with type "outgoing".
This is what I'd expect.
However, once the packet has been around the fddi ring, the originating host receives it again,
and then passes it back to the packet socket as "otherhost", which is of course not wrong,
because the destination is indeed another host, but the source host is the station itself,
and it seems quite awkward that the packet socket regards this packet as "otherhost"
and sees it twice. Shouldn't it look at the source address too?
Comments?
-Udo.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/