Skip to content

Instantly share code, notes, and snippets.

View jamesacres's full-sized avatar
😎

James Acres jamesacres

😎
View GitHub Profile
@jamesacres
jamesacres / gist:2830936
Created May 29, 2012 21:40 — forked from graingert/gist:2830859
Finding a communications tree 4
Depth First Graph Traversal
Three Tokens: FORWARD, BACKWARD, EXCLUDED
Three Labels: PARENT, CHILD, UNUSED
Send FORWARD down Ethernet to the root node to start the process.
Function Iterate()
For Each Port In Unlabelled
Label Port CHILD