1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Mike Muuss. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 741 unchanged lines hidden (view full) --- 750 (void)printf("round-trip min/avg/max = %.3f/%.3f/%.3f ms\n", 751 tmin, ((double)i) / 1000.0, tmax); 752 } 753 if (reset_kerninfo && tcgetattr (0, &ts) != -1) { 754 ts.c_lflag &= ~NOKERNINFO; 755 tcsetattr (0, TCSANOW, &ts); 756 } 757 |
758 if (nreceived) 759 exit(0); 760 else 761 exit(2); |
762} 763 764#ifdef notdef 765static char *ttab[] = { 766 "Echo Reply", /* ip + seq + udata */ 767 "Dest Unreachable", /* net, host, proto, port, frag, sr + IP */ 768 "Source Quench", /* IP */ 769 "Redirect", /* redirect type, gateway, + IP */ --- 260 unchanged lines hidden --- |