Skip to content

Commit 0b1c931

Browse files
committed
Initial Commit DTNMEv0.1
0 parents  commit 0b1c931

File tree

1,463 files changed

+478676
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,463 files changed

+478676
-0
lines changed

.hgignore

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
syntax: glob
2+
3+
# some defaults pulled from the CVS manual then modified
4+
tags
5+
TAGS
6+
\.\#*
7+
*~
8+
.del-*
9+
*.a
10+
*.olb
11+
*.o
12+
*.obj
13+
*.so
14+
*.exe
15+
*.elc
16+
*.ln
17+
core
18+
19+
# other good defaults
20+
.gdb_history
21+
.glimpse_*
22+
*.d
23+
*.dylib
24+
*.swp
25+
autoscan.log
26+
config.cache
27+
config.log
28+
config.status
29+
configure.scan
30+
autom4te.cache
31+
32+
# specific ignores
33+
Rules.make
34+
System.make
35+
dtn-config.h
36+
build-stamp
37+
configure-stamp
38+
run-*
39+
build*
40+
applib/python/build
41+
applib/python/dtnapi.pyc
42+
apps/tca_admin/tca_admin
43+
apps/dtncat/dtncat
44+
apps/dtncp/dtncp
45+
apps/dtncpd/dtncpd
46+
apps/dtnmoteproxy/dtnmoteproxy
47+
apps/dtnperf/dtnperf-client
48+
apps/dtnperf/dtnperf-server
49+
apps/dtnping/dtnping
50+
apps/dtnping/dtnreporter
51+
apps/dtnping/dtntraceroute
52+
apps/dtnrecv/dtnrecv
53+
apps/dtnsend/dtnsend
54+
apps/dtntest/dtntest
55+
apps/dtntunnel/dtntunnel
56+
apps/num2sdnv/num2sdnv
57+
apps/num2sdnv/sdnv2num
58+
daemon/dtnd
59+
sim/dtnsim
60+
test/unit_tests/*-test
61+
oasys
62+
63+
# debian package build ignores
64+
debian/dtn
65+
debian/dtn.substvars
66+
debian/python-dtn
67+
debian/python-dtn.substvars
68+
debian/*.debhelper
69+
files

.hgtags

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
048dee575d5032e8fa9352d2e0fa5c10ad9abb78 BBN_minas-0_10
2+
0499bdffc15471fb82af6006058c46b1bd2e111c pre_bsp_merge_sep07
3+
10347e0200c019d0a70c87b4909f751272cbc799 DTN_2_5_0
4+
131567183cd77b9590e773c027d8440c45f4ff5b bbn_eval_head
5+
1ee2dd401a804d6154dbba7009f856e27c6baa52 DTN_2_0_1 **INVALID**
6+
20222ef24e642ccbd05ec19e05b0bab9fde20958 mcast_base
7+
265d16fcb40949ca3346950238bc6c9e47e71b0d DTN_2_1_1
8+
34bab22631e0f57d0ba29ec65a99a459c0647b18 DTN_2_1_0
9+
430ee4396107ae7d9c050443c17caf7a1ecfee76 post_bsp_merge_sep07
10+
4fc966e8e062bdaf22dee87f0bf00c0e900f15ad post_bbn_merge
11+
60f55047b882c57dec9c5cae1fa8d320b1f7543e before-converting-to-apache-license
12+
62e11de9199feaf9ad24a72d2d4f693500b79454 DTN_2_0_2
13+
8122a004e0736eebb3b0798a928f6e9cf6b07835 bowei_before_singleton_merge
14+
b786870c6a4f93d789a131576eaf96e639121194 tca_davel_base
15+
ba9494055010689aa6dc7b4fdf5f752a373fef35 pre_bbn_merge
16+
c319e26e805b8e963e6a1835c61f2116f8ff11ce bbn_sync2hd_2 **FUNKY**
17+
c431c4f432104c6d75f393b7ede0dffcaeb5a602 DTN_2_4_0
18+
c458426cbed6f8e110c5547a9cc73ea2743dc5ce DTN_2_3_0
19+
d0f9ff0bb6a97627c2b0f463815301286cf731ff DTN_2_2_0
20+
d61278bd6d49f00e575ad1d9edf7b5e62b27d67c exp-run-4-23
21+
de2cb139af8e46669397395d5dc7e2f934d2b547 ietf67_interop
22+
ee0441d89973252cb39469c1d3671672e29be2aa DTN_2_1_99
23+
f724fcbfc8c55a28fc37f3211ff52ad496b3c54a tierstore_cambodia_march_2006
24+
0000000000000000000000000000000000000000 bbn_sync2hd_2 **FUNKY**
25+
0000000000000000000000000000000000000000 DTN_2_0_1 **INVALID**
26+
0000000000000000000000000000000000000000 mcast_base
27+
0000000000000000000000000000000000000000 tca_davel_base
28+
4e85519ba00b810009e5ff34d21ac80df91f881c dtn-2.6.0
29+
12698d368583b8c58628cf0f821c54744d737858 dtn-2.7.0
30+
c1c472ab77af65a9e9e94d9d2e1ebf7c3d9863ee dtn-2.8.0
31+
f13ea5fd659303282853f5e1cc6176236b5ef7ac dtn-2.9.0

CONTRIBUTING

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
2+
This document briefly describes how to get involved with DTN
3+
development. Note that the DTN research project is still very much in
4+
its formative stages, and this code base in particular is likely to
5+
still be largely in flux.
6+
7+
Contribution Process
8+
--------------------
9+
10+
Anonymous source code repository access is available for the general
11+
public.
12+
13+
Coding Conventions
14+
------------------
15+
16+
In the interest of overall clarity and consistency, we have adopted
17+
the following conventions for the implementation. Please follow them
18+
in your extensions:
19+
20+
- The basic indentation level is 4 spaces (no tab characters please).
21+
Please take care to make sure that indentation matches the code
22+
around it.
23+
24+
- Class names should begin with capital letters and use mixed case for
25+
word separation. e.g. BundleRouter
26+
27+
- Method / function names should have all lowercase letters with words
28+
separated by underscores: e.g. send_bundle()
29+
30+
- Class member variables should be distinguished from local variables
31+
with a trailing underscore, e.g. bundle_.
32+
33+
- Macros and constants should be all capital letters with underscores
34+
to separate words. e.g. #define MAX_TUPLE_LENGTH 256
35+
36+
- The file names for individual .h/.cc files should correspond to the
37+
(primary) class in the file. e.g BundleRouter.cc
38+
39+
- Inline comments can use either C or C++ style syntax. For block
40+
comments on methods and classes, please use the mark-up syntax of
41+
doxygen since we use that to generate html code documentation.
42+
43+
- Above all, please be consistent. When modifying code, follow the
44+
conventions of the code around you.
45+
46+
- Try to keep code lines under 80 columns in width.
47+
48+
- For emacs users, adding the following lisp code to your .emacs will
49+
follow these conventions:
50+
51+
(require 'cc-mode)
52+
(require 'cc-vars)
53+
54+
(defconst dtn-c-style
55+
'((c-basic-offset . 4) ; 4 spaces for indentation
56+
(c-offsets-alist
57+
. ((substatement-open . 0) ; don't indent braces!
58+
(inline-open . 0) ; don't indent braces, please.
59+
(label . -1000) ; flush labels left
60+
(statement-cont . c-lineup-math); line up with = signs
61+
(innamespace . 0) ; no indent for namespaces
62+
(inextern-lang . 0) ; or extern language
63+
))))
64+
65+
(defun dtn-c-setup()
66+
(interactive)
67+
(c-add-style "dtn-c-style" dtn-c-style t) ; dtn style above
68+
(setq indent-tabs-mode nil) ; use spaces for tabs
69+
)
70+
71+
(add-hook 'c-mode-hook 'dtn-c-setup)
72+
(add-hook 'c++-mode-hook 'dtn-c-setup)
73+
74+
- For vim users, use the following settings for tabs:
75+
76+
set tabstop=8 " \t are 8 spaces
77+
set shiftwidth=4 " but tab key inserts 4
78+
set softtabstop=4 " and indentation advances in increments of 4
79+
set noexpandtab " don't turn tabs into spaces
80+
81+
Testing
82+
-------
83+
84+
There is an extensive set of unit tests and system tests in the test/
85+
directories of both DTNME and oasys, as well as a suite of test
86+
utilities in the test-utils directories of both.
87+

0 commit comments

Comments
 (0)