1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef __NETIFD_H #define __NETIFD_H #include <sys/socket.h> #include <net/if.h> #include <stdbool.h> #include <stdio.h> #include <libubox/uloop.h> #include <libubus.h> #include "utils.h" struct device; struct interface; extern const char *main_path; void netifd_restart(void); #endif