spray.x (9524e274b5484ac8b43bacd90d4029183ccf6476) | spray.x (5b31cc94b10d4bb7109c6b27940a0fc76a44a331) |
---|---|
1/*- 2 * Copyright (c) 2010, Oracle America, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: 7 * 8 * * Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32/* 33 * Spray a server with packets 34 * Useful for testing flakiness of network interfaces 35 */ 36 | 1/*- 2 * Copyright (c) 2010, Oracle America, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: 7 * 8 * * Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32/* 33 * Spray a server with packets 34 * Useful for testing flakiness of network interfaces 35 */ 36 |
37#ifndef RPC_HDR 38%#ifndef lint 39%/*static char sccsid[] = "from: @(#)spray.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/ 40%/*static char sccsid[] = "from: @(#)spray.x 2.1 88/08/01 4.0 RPCSRC";*/ 41%#endif /* not lint */ 42%#include <sys/cdefs.h> 43#endif 44 | |
45const SPRAYMAX = 8845; /* max amount can spray */ 46 47/* 48 * GMT since 0:00, 1 January 1970 49 */ 50struct spraytimeval { 51 unsigned int sec; 52 unsigned int usec; --- 39 unchanged lines hidden --- | 37const SPRAYMAX = 8845; /* max amount can spray */ 38 39/* 40 * GMT since 0:00, 1 January 1970 41 */ 42struct spraytimeval { 43 unsigned int sec; 44 unsigned int usec; --- 39 unchanged lines hidden --- |