Blame bridge/br_common.h

Packit d3f73b
/* SPDX-License-Identifier: GPL-2.0 */
Packit d3f73b
Packit d3f73b
#define MDB_RTA(r) \
Packit d3f73b
		((struct rtattr *)(((char *)(r)) + RTA_ALIGN(sizeof(struct br_mdb_entry))))
Packit d3f73b
Packit d3f73b
#define MDB_RTR_RTA(r) \
Packit d3f73b
		((struct rtattr *)(((char *)(r)) + RTA_ALIGN(sizeof(__u32))))
Packit d3f73b
Packit d3f73b
void print_vlan_info(struct rtattr *tb, int ifindex);
Packit d3f73b
int print_linkinfo(struct nlmsghdr *n, void *arg);
Packit d3f73b
int print_mdb_mon(struct nlmsghdr *n, void *arg);
Packit d3f73b
int print_fdb(struct nlmsghdr *n, void *arg);
Packit d3f73b
Packit d3f73b
int do_fdb(int argc, char **argv);
Packit d3f73b
int do_mdb(int argc, char **argv);
Packit d3f73b
int do_monitor(int argc, char **argv);
Packit d3f73b
int do_vlan(int argc, char **argv);
Packit d3f73b
int do_link(int argc, char **argv);
Packit d3f73b
Packit d3f73b
extern int preferred_family;
Packit d3f73b
extern int show_stats;
Packit d3f73b
extern int show_details;
Packit d3f73b
extern int timestamp;
Packit d3f73b
extern int compress_vlans;
Packit d3f73b
extern int json;
Packit d3f73b
extern struct rtnl_handle rth;