123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #pragma once
- namespace NNetlibaSocket {
- namespace NNetliba_v12 {
- const ui8 CMD_POS = 11;
- enum EUdpCmd {
- CMD_BEGIN = 1,
- DATA = CMD_BEGIN,
- DATA_SMALL, // no jumbo-packets
- DO_NOT_USE_1, //just reserved
- DO_NOT_USE_2, //just reserved
- CANCEL_TRANSFER,
- ACK,
- ACK_COMPLETE,
- ACK_CANCELED,
- ACK_RESEND_NOSHMEM,
- PING,
- PONG,
- PONG_IB,
- KILL,
- CMD_END,
- };
- }
- namespace NNetliba {
- const ui8 CMD_POS = 8;
- enum EUdpCmd {
- DATA,
- ACK,
- ACK_COMPLETE,
- ACK_RESEND,
- DATA_SMALL, // no jumbo-packets
- PING,
- PONG,
- DATA_SHMEM,
- DATA_SMALL_SHMEM,
- KILL,
- ACK_RESEND_NOSHMEM,
- };
- }
- }
|