Add simple IPv4 only ifconfig() function from Finit

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-07-10 18:28:57 +02:00
1 parent 614c8cbe47
commit 4005dd5e2c
4 files changed
+100 -1

No files matched your search

+2
View File
@@ -45,6 +45,8 @@ int movefile (char *src, char *dst);
int fcopyfile (FILE *src, FILE *dst);
size_t fsendfile (FILE *src, FILE *dst, size_t len);
int ifconfig (char *ifname, char *addr, char *mask, int up);
int mkpath (char *dir, mode_t mode);
int makepath (char *dir);