mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-13 00:06:31 +00:00

No function, filter, or print function uses the sockaddr_nl arg, so just drop it. Signed-off-by: David Ahern <dsahern@gmail.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
27 lines
784 B
C
27 lines
784 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#define MDB_RTA(r) \
|
|
((struct rtattr *)(((char *)(r)) + RTA_ALIGN(sizeof(struct br_mdb_entry))))
|
|
|
|
#define MDB_RTR_RTA(r) \
|
|
((struct rtattr *)(((char *)(r)) + RTA_ALIGN(sizeof(__u32))))
|
|
|
|
void print_vlan_info(struct rtattr *tb, int ifindex);
|
|
int print_linkinfo(struct nlmsghdr *n, void *arg);
|
|
int print_fdb(struct nlmsghdr *n, void *arg);
|
|
int print_mdb(struct nlmsghdr *n, void *arg);
|
|
|
|
int do_fdb(int argc, char **argv);
|
|
int do_mdb(int argc, char **argv);
|
|
int do_monitor(int argc, char **argv);
|
|
int do_vlan(int argc, char **argv);
|
|
int do_link(int argc, char **argv);
|
|
|
|
extern int preferred_family;
|
|
extern int show_stats;
|
|
extern int show_details;
|
|
extern int timestamp;
|
|
extern int compress_vlans;
|
|
extern int json;
|
|
extern struct rtnl_handle rth;
|