aboutsummaryrefslogtreecommitdiff
path: root/networking/zcip.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/zcip.c')
-rw-r--r--networking/zcip.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/networking/zcip.c b/networking/zcip.c
index 6fa265ad4..7250fb2fd 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -23,6 +23,19 @@
23// - avoid silent script failures, especially under load... 23// - avoid silent script failures, especially under load...
24// - link status monitoring (restart on link-up; stop on link-down) 24// - link status monitoring (restart on link-up; stop on link-down)
25 25
26//usage:#define zcip_trivial_usage
27//usage: "[OPTIONS] IFACE SCRIPT"
28//usage:#define zcip_full_usage "\n\n"
29//usage: "Manage a ZeroConf IPv4 link-local address\n"
30//usage: "\nOptions:"
31//usage: "\n -f Run in foreground"
32//usage: "\n -q Quit after obtaining address"
33//usage: "\n -r 169.254.x.x Request this address first"
34//usage: "\n -v Verbose"
35//usage: "\n"
36//usage: "\nWith no -q, runs continuously monitoring for ARP conflicts,"
37//usage: "\nexits only on I/O errors (link down etc)"
38
26#include <netinet/ether.h> 39#include <netinet/ether.h>
27#include <net/ethernet.h> 40#include <net/ethernet.h>
28#include <net/if.h> 41#include <net/if.h>