On Wed, 2002-12-18 at 21:55, David Grothe wrote:
> All of you who were having problems with "L", give "M" a try. Let me know
> what happens.
> -- Dave
Hi again,
Remember I was having problems with ldltest? Well after
I managed to do a proper install (too much festive drink)
I got it to almost work. Needed to make this little change
to ldltest.c for the ping to to be shown to the user.
Before, it got the ping but fell into the LLC code and
ignored the packet, then waited again.
Now, it only does the LLC stuff if it isn't a ping or arp
and the user sees -
[root@localhost linux]# ./ldltest -c 10 -r 10.0.0.1 eth0 10.0.0.2
0 RTT = 0.0006 ms
Can this be checked and added to the source?
cheers,
andy
PS: It works both with using the IPaddress of the Linux IP and with
using a different IP address to the Linux. And when it is the
same address as the Linux stack, the netstat -s stats of ICMP ins
increases. (as you'd expect.)
--- ldltest.c.orig 2002-12-19 11:07:10.000000000 +0000
+++ ldltest.c 2002-12-19 11:08:52.000000000 +0000
@@ -1717,2 +1717 @@
-
- if (pkt_type == ETH_P_IP) {
+ else if (pkt_type == ETH_P_IP) {
@@ -1734 +1733 @@
- if (ntohs(pkt_type) < 1536) {
+ else if (ntohs(pkt_type) < 1536) {
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams