|
#define | BATADV_DRIVER_AUTHOR |
|
#define | BATADV_DRIVER_DESC "B.A.T.M.A.N. advanced" |
|
#define | BATADV_DRIVER_DEVICE "batman-adv" |
|
#define | BATADV_SOURCE_VERSION "2012.4.0" |
|
#define | BATADV_TQ_MAX_VALUE 255 |
|
#define | BATADV_JITTER 20 |
|
#define | BATADV_TTL 50 |
|
#define | BATADV_PURGE_TIMEOUT 200000 /* 200 seconds */ |
|
#define | BATADV_TT_LOCAL_TIMEOUT 3600000 /* in milliseconds */ |
|
#define | BATADV_TT_CLIENT_ROAM_TIMEOUT 600000 /* in milliseconds */ |
|
#define | BATADV_TT_CLIENT_TEMP_TIMEOUT 600000 /* in milliseconds */ |
|
#define | BATADV_TQ_LOCAL_WINDOW_SIZE 64 |
|
#define | BATADV_TT_REQUEST_TIMEOUT 3000 |
|
#define | BATADV_TQ_GLOBAL_WINDOW_SIZE 5 |
|
#define | BATADV_TQ_LOCAL_BIDRECT_SEND_MINIMUM 1 |
|
#define | BATADV_TQ_LOCAL_BIDRECT_RECV_MINIMUM 1 |
|
#define | BATADV_TQ_TOTAL_BIDRECT_LIMIT 1 |
|
#define | BATADV_TT_OGM_APPEND_MAX 3 |
|
#define | BATADV_ROAMING_MAX_TIME 20000 |
|
#define | BATADV_ROAMING_MAX_COUNT 5 |
|
#define | BATADV_NO_FLAGS 0 |
|
#define | BATADV_NULL_IFINDEX 0 /* dummy ifindex used to avoid iface checks */ |
|
#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 */ |
|
#define | BATADV_VIS_INTERVAL 5000 /* 5 seconds */ |
|
#define | BATADV_BONDING_TQ_THRESHOLD 50 |
|
#define | BATADV_MAX_AGGREGATION_BYTES 512 |
|
#define | BATADV_MAX_AGGREGATION_MS 100 |
|
#define | BATADV_BLA_PERIOD_LENGTH 10000 /* 10 seconds */ |
|
#define | BATADV_BLA_BACKBONE_TIMEOUT (BATADV_BLA_PERIOD_LENGTH * 3) |
|
#define | BATADV_BLA_CLAIM_TIMEOUT (BATADV_BLA_PERIOD_LENGTH * 10) |
|
#define | BATADV_DUPLIST_SIZE 16 |
|
#define | BATADV_DUPLIST_TIMEOUT 500 /* 500 ms */ |
|
#define | BATADV_RESET_PROTECTION_MS 30000 |
|
#define | BATADV_EXPECTED_SEQNO_RANGE 65536 |
|
#define | BATADV_BCAST_QUEUE_LEN 256 |
|
#define | BATADV_BATMAN_QUEUE_LEN 256 |
|
#define | BATADV_GW_THRESHOLD 50 |
|
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|
#define | batadv_info(net_dev, fmt, arg...) |
|
#define | batadv_err(net_dev, fmt, arg...) |
|
#define | batadv_atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) |
|
#define | batadv_smallest_signed_int(x) (1u << (7u + 8u * (sizeof(x) - 1u))) |
|
#define | batadv_seq_before(x, y) |
|
#define | batadv_seq_after(x, y) batadv_seq_before(y, x) |
|
#define | batadv_inc_counter(b, i) batadv_add_counter(b, i, 1) |
|