Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
2eb33642
Commit
2eb33642
authored
Feb 16, 2018
by
Neil McGlohon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dragonfly Plus: Model progress and ConnMan Notes
parent
91b4e7c9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
209 additions
and
157 deletions
+209
-157
codes/connection-manager.h
codes/connection-manager.h
+1
-0
codes/net/dragonfly-plus.h
codes/net/dragonfly-plus.h
+6
-1
src/networks/model-net/dragonfly-plus.C
src/networks/model-net/dragonfly-plus.C
+202
-156
No files found.
codes/connection-manager.h
View file @
2eb33642
...
...
@@ -166,6 +166,7 @@ public:
* @brief returns a vector of connections to the destination ID based on the connection type
* @param dest_id the ID of the destination depending on the type
* @param type the type of the connection, CONN_LOCAL, CONN_GLOBAL, or CONN_TERMINAL
* @note note that the method is called get connections to router but could also apply to terminal connections
*/
vector
<
Connection
>
get_connections_to_router
(
int
dest_id
,
ConnectionType
type
);
...
...
codes/net/dragonfly-plus.h
View file @
2eb33642
...
...
@@ -57,10 +57,15 @@ struct terminal_plus_message
/* last hop of the message, can be a terminal, local router or global router */
short
last_hop
;
/* For routing */
int
intm_rtr_id
;
int
saved_src_dest
;
int
saved_src_chan
;
//DFP Specific Routing
int
intm_rtr_id
;
//Router ID of the intermediate router for nonminimal routes
int
intm_group_id
;
//Group ID of the intermediate router for nonminimal routes
short
dfp_upward_channel_flag
;
uint32_t
chunk_id
;
uint32_t
packet_size
;
uint32_t
message_id
;
...
...
src/networks/model-net/dragonfly-plus.C
View file @
2eb33642
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment