main.h (29b67c39dc6e7ec4fdf78c620675de761971cd28) | main.h (610bfc6bc99bc83680d190ebc69359a05fc7f605) |
---|---|
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 * --- 117 unchanged lines hidden (view full) --- 126}; 127 128enum batadv_uev_type { 129 BATADV_UEV_GW = 0, 130}; 131 132#define BATADV_GW_THRESHOLD 50 133 | 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 * --- 117 unchanged lines hidden (view full) --- 126}; 127 128enum batadv_uev_type { 129 BATADV_UEV_GW = 0, 130}; 131 132#define BATADV_GW_THRESHOLD 50 133 |
134/* Number of fragment chains for each orig_node */ 135#define BATADV_FRAG_BUFFER_COUNT 8 136/* Maximum number of fragments for one packet */ 137#define BATADV_FRAG_MAX_FRAGMENTS 16 138/* Maxumim size of each fragment */ 139#define BATADV_FRAG_MAX_FRAG_SIZE 1400 140/* Time to keep fragments while waiting for rest of the fragments */ 141#define BATADV_FRAG_TIMEOUT 10000 142 |
|
134#define BATADV_DAT_CANDIDATE_NOT_FOUND 0 135#define BATADV_DAT_CANDIDATE_ORIG 1 136 137/* Debug Messages */ 138#ifdef pr_fmt 139#undef pr_fmt 140#endif 141/* Append 'batman-adv: ' before kernel messages */ --- 221 unchanged lines hidden --- | 143#define BATADV_DAT_CANDIDATE_NOT_FOUND 0 144#define BATADV_DAT_CANDIDATE_ORIG 1 145 146/* Debug Messages */ 147#ifdef pr_fmt 148#undef pr_fmt 149#endif 150/* Append 'batman-adv: ' before kernel messages */ --- 221 unchanged lines hidden --- |