diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-07 10:00:34 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-07 10:00:34 -0700 |
| commit | 778c7e6e703353030e2ea130e3db7cc968a5d53c (patch) | |
| tree | d9e8672cec00aef9e9403afb40563faa37d88b54 /node/Switch.hpp | |
| parent | c863ff3f02e9d68eb9bea32160d252eaddb7f1f5 (diff) | |
| download | infinitytier-778c7e6e703353030e2ea130e3db7cc968a5d53c.tar.gz infinitytier-778c7e6e703353030e2ea130e3db7cc968a5d53c.zip | |
More cleanup to direct path push, comment fixes, etc.
Diffstat (limited to 'node/Switch.hpp')
| -rw-r--r-- | node/Switch.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node/Switch.hpp b/node/Switch.hpp index af6e5938..95ca362c 100644 --- a/node/Switch.hpp +++ b/node/Switch.hpp @@ -108,10 +108,13 @@ public: * * Needless to say, the packet's source must be this node. Otherwise it * won't be encrypted right. (This is not used for relaying.) + * + * The network ID should only be specified for frames and other actual + * network traffic. * * @param packet Packet to send * @param encrypt Encrypt packet payload? (always true except for HELLO) - * @param nwid Network ID or 0 if message is not related to a specific network + * @param nwid Related network ID or 0 if message is not in-network traffic */ void send(const Packet &packet,bool encrypt,uint64_t nwid); |
