| 110 | /////////////////////////////////////////////////////////////////////////////// |
| 111 | |
| 112 | static ui8 ReadVersion(const char* buf) { |
| 113 | return *(ui8*)(buf + UDP_VERSION_OFFSET); |
| 114 | } |
| 115 | static void WriteVersion(char* buf) { |
| 116 | // We use version field to distinguish between netliba v12 and old netliba v6 packets. |
| 117 | // At this offset netliba v6 had CMD field (from TUdpHost) which was less than 100. |
no outgoing calls
no test coverage detected