mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2026-01-26 22:22:18 +00:00
Put mcast querier dumping code into a shared function. This function will be called from the bridge utility in a later patch. Adapt the code such that the vtb parameter is used instead of tb[IFLA_BR_MCAST_QUERIER_STATE]. Reviewed-by: Ido Schimmel <idosch@nvidia.com> Acked-by: Nikolay Aleksandrov <razor@blackwall.org> Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de> Signed-off-by: David Ahern <dsahern@kernel.org>
15 lines
426 B
C
15 lines
426 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __BRIDGE_H__
|
|
#define __BRIDGE_H__ 1
|
|
|
|
#include <linux/if_bridge.h>
|
|
#include <linux/rtnetlink.h>
|
|
|
|
void bridge_print_vlan_flags(__u16 flags);
|
|
void bridge_print_vlan_stats_only(const struct bridge_vlan_xstats *vstats);
|
|
void bridge_print_vlan_stats(const struct bridge_vlan_xstats *vstats);
|
|
|
|
void bridge_print_mcast_querier_state(const struct rtattr *vtb);
|
|
|
|
#endif /* __BRIDGE_H__ */
|