summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-09 06:50:31 +0000
committerRoy Marples <roy@marples.name>2008-07-09 06:50:31 +0000
commitd31af5110f301c20859d2572850e4e5b7227e532 (patch)
tree0093e29914eec151e8bd223658b06b1723ca8f31 /net.h
parenta30b3a9fbd6ad8eed29de9408f81a469e6f04e4f (diff)
downloaddhcpcd-d31af5110f301c20859d2572850e4e5b7227e532.tar.xz
Add more error checking if the link was taken down or ip addresses removed - if this happens we reset to the init state.
Diffstat (limited to 'net.h')
-rw-r--r--net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.h b/net.h
index 0be56cf5..3b030eb2 100644
--- a/net.h
+++ b/net.h
@@ -131,6 +131,7 @@ int do_mtu(const char *, short int);
int inet_ntocidr(struct in_addr);
int inet_cidrtoaddr(int, struct in_addr *);
+int up_interface(const char *);
int do_interface(const char *, unsigned char *, size_t *,
struct in_addr *, struct in_addr *, int);
int if_address(const char *, const struct in_addr *, const struct in_addr *,