]> git.meshlink.io Git - meshlink/blobdiff - src/net.h
Move the routing header out of the SPTPS payload.
[meshlink] / src / net.h
index 04bd55a50a0a5ff42fc50d2f314738f32d6b58a6..757d15e6ef90e8ed72a034d26953fb4798ff5266 100644 (file)
--- a/src/net.h
+++ b/src/net.h
@@ -41,6 +41,9 @@ typedef struct vpn_packet_t {
                unsigned int tcp: 1;
        };
        uint16_t len;           /* the actual number of bytes in the `data' field */
+
+       uint64_t src;
+       uint64_t dst;
        uint8_t data[MAXSIZE];
 } vpn_packet_t;