]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - bridge/br_common.h
bridge: mdb: add support for extended router port information
[mirror_iproute2.git] / bridge / br_common.h
index 41eb0dc3829352221a2e154defd892433a825311..5ea45c9e654d78adf716f770a1c1b91b94ca063c 100644 (file)
@@ -1,6 +1,9 @@
 #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))))
+
 extern int print_linkinfo(const struct sockaddr_nl *who,
                          struct nlmsghdr *n,
                          void *arg);