aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/arping.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/networking/arping.c b/networking/arping.c
index cf1596cd4..7279e8653 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -28,26 +28,26 @@
28 28
29#define APPLET_NAME "arping" 29#define APPLET_NAME "arping"
30 30
31struct in_addr src; 31static struct in_addr src;
32struct in_addr dst; 32static struct in_addr dst;
33struct sockaddr_ll me; 33static struct sockaddr_ll me;
34struct sockaddr_ll he; 34static struct sockaddr_ll he;
35struct timeval last; 35static struct timeval last;
36int dad; 36static int dad;
37int unsolicited; 37static int unsolicited;
38int advert; 38static int advert;
39int quiet; 39static int quiet;
40int quit_on_reply = 0; 40static int quit_on_reply = 0;
41int count = -1; 41static int count = -1;
42int timeout; 42static int timeout;
43int unicasting; 43static int unicasting;
44int s; 44static int s;
45int broadcast_only; 45static int broadcast_only;
46int sent; 46static int sent;
47int brd_sent; 47static int brd_sent;
48int received; 48static int received;
49int brd_recv; 49static int brd_recv;
50int req_recv; 50static int req_recv;
51 51
52#define MS_TDIFF(tv1,tv2) ( ((tv1).tv_sec-(tv2).tv_sec)*1000 + \ 52#define MS_TDIFF(tv1,tv2) ( ((tv1).tv_sec-(tv2).tv_sec)*1000 + \
53 ((tv1).tv_usec-(tv2).tv_usec)/1000 ) 53 ((tv1).tv_usec-(tv2).tv_usec)/1000 )