diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-10 19:12:43 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-10 19:12:43 +0200 |
commit | 34a1a4bad31ba6f138cd6a98249c774ff66285d1 (patch) | |
tree | 0e6f0b0af6edbb66490145b47fc5b60c9d58608c /system.h | |
parent | 3085170188cc5bf04f4cfb6f07c292e06d2b40a8 (diff) |
add interface uptime to the status info
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ #ifndef __NETIFD_SYSTEM_H #define __NETIFD_SYSTEM_H +#include <sys/time.h> #include <sys/socket.h> #include "device.h" #include "interface-ip.h" @@ -43,4 +44,6 @@ int system_del_address(struct device *dev, struct device_addr *addr); int system_add_route(struct device *dev, struct device_route *route); int system_del_route(struct device *dev, struct device_route *route); +time_t system_get_rtime(void); + #endif |