]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/batman-adv/types.h
Staging: batman-adv: splitting /proc vis file into vis_server and vis_data
[net-next-2.6.git] / drivers / staging / batman-adv / types.h
index 9739358caca3ae59298a8a2cdfc886a8cb785db6..d708e6f15b37df55befa5f77a716ba9527ada80d 100644 (file)
@@ -121,4 +121,14 @@ struct forw_packet {               /* structure for forw_list maintaining packet
        struct batman_if *if_incoming;
 };
 
+/* While scanning for vis-entries of a particular vis-originator
+ * this list collects its interfaces to create a subgraph/cluster
+ * out of them later
+ */
+struct if_list_entry {
+       uint8_t addr[ETH_ALEN];
+       bool primary;
+       struct hlist_node list;
+};
+
 #endif