| 72 | |
| 73 | namespace { |
| 74 | ssize_t createConnectReply(unsigned char* data, size_t len, |
| 75 | uint64_t connectionId, uint32_t transactionId) |
| 76 | { |
| 77 | bittorrent::setIntParam(data, UDPT_ACT_CONNECT); |
| 78 | bittorrent::setIntParam(data + 4, transactionId); |
| 79 | bittorrent::setLLIntParam(data + 8, connectionId); |
| 80 | return 16; |
| 81 | } |
| 82 | } // namespace |
| 83 | |
| 84 | namespace { |
no test coverage detected