diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-09 20:56:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-09 20:56:32 +0000 |
commit | b5b4131b1e9afca86880f209d2e7de19d5111be6 (patch) | |
tree | 61607a058da9a4372d181825855d67212ea80fdf /src | |
parent | 1e0f7e71c0f8fa00a675b6476fb1a8f74fbfaa07 (diff) | |
download | gnunet-b5b4131b1e9afca86880f209d2e7de19d5111be6.tar.gz gnunet-b5b4131b1e9afca86880f209d2e7de19d5111be6.zip |
-die dead stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/plugin_transport_sat_constants.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/transport/plugin_transport_sat_constants.h b/src/transport/plugin_transport_sat_constants.h deleted file mode 100644 index b8202817f..000000000 --- a/src/transport/plugin_transport_sat_constants.h +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | (C) 2011 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file transport/plugin_transport_sat_constants.h | ||
23 | * @brief header for transport plugin for satellite for send operations | ||
24 | * @author Christian Rupp | ||
25 | */ | ||
26 | |||
27 | #ifndef PLUGIN_TRANSPORT_SAT_SEND | ||
28 | #define PLUGIN_TRANSPORT_SAT_SEND | ||
29 | |||
30 | #include <stdint.h> | ||
31 | #include "gnunet_common.h" | ||
32 | |||
33 | typedef struct MacAdress | ||
34 | { | ||
35 | uint8_t mac[6]; | ||
36 | } MacAdress; | ||
37 | |||
38 | //praeamble | ||
39 | static const struct char praeambel[56] = | ||
40 | { {1, 0, 1, 0, 10, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, | ||
41 | 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, | ||
42 | 0, 1, 0, 1, 0, 1, 0} | ||
43 | }; | ||
44 | |||
45 | //start of frame | ||
46 | static const struct char sof[8] = { {1, 0, 1, 0, 1, 0, 1, 1} } | ||
47 | |||
48 | // broadcast mac | ||
49 | static const struct MacAddress bc_all_mac = | ||
50 | { {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} }; | ||
51 | |||
52 | //crc polynom | ||
53 | static const struct char ploynom[32] = | ||
54 | { {1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, | ||
55 | 0, 0, 1, 0, 0, 0, 0, 1} | ||
56 | }; | ||
57 | #endif | ||