Re: [9fans] Ping
Oh, interesting. Thanks, Chris > On Sep 13, 2016, at 8:58 AM, Rob Pikewrote: > > This might be one reason. > > -rob > > >> On Tue, Sep 13, 2016 at 10:51 PM, Chris McGee wrote: >> Sorry for the spam. Is this mailing list getting my emails? >> >> Thanks >> Chris >
Re: [9fans] Ping
This might be one reason. -rob On Tue, Sep 13, 2016 at 10:51 PM, Chris McGeewrote: > Sorry for the spam. Is this mailing list getting my emails? > > Thanks > Chris >
Re: [9fans] Ping
> > Sorry for the spam. Is this mailing list getting my emails? > Yes.
[9fans] Ping
Sorry for the spam. Is this mailing list getting my emails? Thanks Chris
[9fans] ping suicide: sys: trap: divide error pc=0x00003953c
Hello all, I would like to learn how to fix this in the ping C code, I am new to plan9 and C ip/ping -r -f www.google.com sending 32 64 bytes messages 0 ms apart to icmp!www.google.com!1 ping 238: suicide: sys: trap: divide error pc=0x3953 term% 0: rrt 38841 us, avg rtt 38841 us, ttl = 128 ROuNIN
Re: [9fans] ping suicide: sys: trap: divide error pc=0x00003953c
since it doesn't make sense to both send packets as fast as possible and to delay randomly between packets, i think this case is just disallowed. /n/sources/plan9//sys/src/cmd/ip/ping.c:532,537 - ping.c:532,541 break; } ARGEND; + if(flood rint){ + fprint(2, -f and -r are not compatable\n); + usage(); + } if(msglen proto-iphdrsz + ICMP_HDRSIZE) msglen = proto-iphdrsz + ICMP_HDRSIZE; if(msglen 64) and /n/sources/plan9//sys/man/8/ping:83,89 - ping:83,91 adds the IP source and destination addresses to each report. .TP .B f - send messages as fast as possible (flood). + send messages as fast as possible (flood). This flag + is not compatable with + .BR -r . .TP .B i sets the time between messages /n/sources/plan9//sys/man/8/ping:104,110 - ping:106,114 .TP .B r randomizes the delay with a minimum extra delay of 0 ms and a - maximum extra delay of the selected interval. + maximum extra delay of the selected interval. This flag + is not compatable with + .BR -f . .TP .B s sets the length of the message to be