In icmp.c it was impossible to intercept ICMP Echo Requests. Changed the handler registration to allow intercept. In ping.c any ICMP segment was considered to be an ICMP Echo Reply in the handler registered. Changed it to count only ICMP Echo Reply. Added the possibility to send an RST flag in TCP in order to abort a connection. 2002-06-06 Hendrik Ruijter * include/net/net.h: Add __tcp_abort prototype. * src/net/icmp.c: The default handler can be replaced by a user defined handler which handles all ICMP segments. * src/net/ping.c (handle_icmp): Only ICMP Echo Reply segments must be counted and ICMP Echo Requests are handled in the user defined handler. * src/net/tcp.c (do_abort, __tcp_abort): Send an RST flag in order to abort a connection. May use a delay to send the flag. Brgrds, Hendrik Ruijter