2012-08-02 06:23:49 +08:00
|
|
|
extern int print_linkinfo(const struct sockaddr_nl *who,
|
|
|
|
struct nlmsghdr *n,
|
|
|
|
void *arg);
|
|
|
|
extern int print_fdb(const struct sockaddr_nl *who,
|
|
|
|
struct nlmsghdr *n, void *arg);
|
2012-12-12 06:23:10 +08:00
|
|
|
extern int print_mdb(const struct sockaddr_nl *who,
|
|
|
|
struct nlmsghdr *n, void *arg);
|
2012-08-02 06:23:49 +08:00
|
|
|
|
|
|
|
extern int do_fdb(int argc, char **argv);
|
2012-12-12 08:46:22 +08:00
|
|
|
extern int do_mdb(int argc, char **argv);
|
2012-08-02 06:23:49 +08:00
|
|
|
extern int do_monitor(int argc, char **argv);
|
2013-02-28 18:04:05 +08:00
|
|
|
extern int do_vlan(int argc, char **argv);
|
2013-03-16 01:01:28 +08:00
|
|
|
extern int do_link(int argc, char **argv);
|
2012-08-02 06:23:49 +08:00
|
|
|
|
2012-10-02 04:58:01 +08:00
|
|
|
extern int preferred_family;
|
2012-08-02 06:23:49 +08:00
|
|
|
extern int show_stats;
|
2012-12-12 08:46:22 +08:00
|
|
|
extern int show_details;
|
2012-08-02 06:23:49 +08:00
|
|
|
extern int timestamp;
|
2015-01-26 10:26:25 +08:00
|
|
|
extern int compress_vlans;
|
2012-08-02 06:23:49 +08:00
|
|
|
extern struct rtnl_handle rth;
|