ifctrstat: Initial structure for new applet

This commit is contained in:
A. Wilcox 2020-08-12 17:38:15 -05:00
parent 36f0930c27
commit 05e0ac139b
No known key found for this signature in database
GPG key ID: CB29CB51922B9D14
5 changed files with 163 additions and 0 deletions

View file

@ -32,10 +32,17 @@ extern struct if_applet ifup_applet;
extern struct if_applet ifdown_applet;
#endif
#ifdef CONFIG_IFCTRSTAT
extern struct if_applet ifctrstat_applet;
#endif
struct if_applet ifupdown_applet;
const struct if_applet *self_applet = NULL;
struct if_applet *applet_table[] = {
#ifdef CONFIG_IFCTRSTAT
&ifctrstat_applet,
#endif
#ifdef CONFIG_IFUPDOWN
&ifdown_applet,
#endif