batman-adv: split tq information in neigh_node struct
[firefly-linux-kernel-4.4.55.git] / net / batman-adv / main.h
index a468760b11ea3a20581d3db34bae6855f692958c..49a2394c78e60d8149be6ec30c96605f7e205e1a 100644 (file)
 
 #define BATADV_NO_MARK 0
 
+/* default interface for multi interface operation. The default interface is
+ * used for communication which originated locally (i.e. is not forwarded)
+ * or where special forwarding is not desired/necessary.
+ */
+#define BATADV_IF_DEFAULT      ((struct batadv_hard_iface *)NULL)
+
 #define BATADV_NUM_WORDS BITS_TO_LONGS(BATADV_TQ_LOCAL_WINDOW_SIZE)
 
 #define BATADV_LOG_BUF_LEN 8192          /* has to be a power of 2 */