main.h (45593c2bd2d1e257d03d795f9c80e22e18f188f0) main.h (89652331c00f43574515059ecbf262d26d885717)
1/* Copyright (C) 2007-2013 B.A.T.M.A.N. contributors:
2 *
3 * Marek Lindner, Simon Wunderlich
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public
7 * License as published by the Free Software Foundation.
8 *

--- 58 unchanged lines hidden (view full) ---

67#define BATADV_ROAMING_MAX_COUNT 5
68
69#define BATADV_NO_FLAGS 0
70
71#define BATADV_NULL_IFINDEX 0 /* dummy ifindex used to avoid iface checks */
72
73#define BATADV_NO_MARK 0
74
1/* Copyright (C) 2007-2013 B.A.T.M.A.N. contributors:
2 *
3 * Marek Lindner, Simon Wunderlich
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public
7 * License as published by the Free Software Foundation.
8 *

--- 58 unchanged lines hidden (view full) ---

67#define BATADV_ROAMING_MAX_COUNT 5
68
69#define BATADV_NO_FLAGS 0
70
71#define BATADV_NULL_IFINDEX 0 /* dummy ifindex used to avoid iface checks */
72
73#define BATADV_NO_MARK 0
74
75/* default interface for multi interface operation. The default interface is
76 * used for communication which originated locally (i.e. is not forwarded)
77 * or where special forwarding is not desired/necessary.
78 */
79#define BATADV_IF_DEFAULT ((struct batadv_hard_iface *)NULL)
80
75#define BATADV_NUM_WORDS BITS_TO_LONGS(BATADV_TQ_LOCAL_WINDOW_SIZE)
76
77#define BATADV_LOG_BUF_LEN 8192 /* has to be a power of 2 */
78
79/* number of packets to send for broadcasts on different interface types */
80#define BATADV_NUM_BCASTS_DEFAULT 1
81#define BATADV_NUM_BCASTS_WIRELESS 3
82#define BATADV_NUM_BCASTS_MAX 3

--- 292 unchanged lines hidden ---
81#define BATADV_NUM_WORDS BITS_TO_LONGS(BATADV_TQ_LOCAL_WINDOW_SIZE)
82
83#define BATADV_LOG_BUF_LEN 8192 /* has to be a power of 2 */
84
85/* number of packets to send for broadcasts on different interface types */
86#define BATADV_NUM_BCASTS_DEFAULT 1
87#define BATADV_NUM_BCASTS_WIRELESS 3
88#define BATADV_NUM_BCASTS_MAX 3

--- 292 unchanged lines hidden ---