diff options
-rw-r--r-- | networking/arping.c | 40 |
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 | ||
31 | struct in_addr src; | 31 | static struct in_addr src; |
32 | struct in_addr dst; | 32 | static struct in_addr dst; |
33 | struct sockaddr_ll me; | 33 | static struct sockaddr_ll me; |
34 | struct sockaddr_ll he; | 34 | static struct sockaddr_ll he; |
35 | struct timeval last; | 35 | static struct timeval last; |
36 | int dad; | 36 | static int dad; |
37 | int unsolicited; | 37 | static int unsolicited; |
38 | int advert; | 38 | static int advert; |
39 | int quiet; | 39 | static int quiet; |
40 | int quit_on_reply = 0; | 40 | static int quit_on_reply = 0; |
41 | int count = -1; | 41 | static int count = -1; |
42 | int timeout; | 42 | static int timeout; |
43 | int unicasting; | 43 | static int unicasting; |
44 | int s; | 44 | static int s; |
45 | int broadcast_only; | 45 | static int broadcast_only; |
46 | int sent; | 46 | static int sent; |
47 | int brd_sent; | 47 | static int brd_sent; |
48 | int received; | 48 | static int received; |
49 | int brd_recv; | 49 | static int brd_recv; |
50 | int req_recv; | 50 | static 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 ) |