From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Library:ENet" |
|---|
| claim | "ENet has 13 command numbers (low 4 bits of the command byte); command size table commandSizes in protocol.c is indexed by them." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:ENet" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "ENetProtocolCommand" |
|---|
| underlying_type | "uint8" |
|---|
| values | |
|
|
| name | "VERIFY_CONNECT" |
|---|
| value | 3 |
|---|
|
|
|
| name | "SEND_RELIABLE" |
|---|
| value | 6 |
|---|
|
| name | "SEND_UNRELIABLE" |
|---|
| value | 7 |
|---|
|
| name | "SEND_FRAGMENT" |
|---|
| value | 8 |
|---|
|
| name | "SEND_UNSEQUENCED" |
|---|
| value | 9 |
|---|
|
| name | "BANDWIDTH_LIMIT" |
|---|
| value | 10 |
|---|
|
| name | "THROTTLE_CONFIGURE" |
|---|
| value | 11 |
|---|
|
| name | "SEND_UNRELIABLE_FRAGMENT" |
|---|
| value | 12 |
|---|
|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum ENetProtocolCommand; command byte masked with ENET_PROTOCOL_COMMAND_MASK 0x0F" |
|---|
| repo | "https://github.com/lsalzman/enet" |
|---|
| commit | "5a9c537fd464b3c6d3c55e1d3bd47588faf71b42" |
|---|
| path | "include/enet/protocol.h" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Protocol command numbers" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T12:41:10.481Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:52:26.966Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read include/enet/protocol.h at the cited commit: ENET_PROTOCOL_COMMAND_NONE 0 through SEND_UNRELIABLE_FRAGMENT 12, COMMAND_COUNT 13 (marker), COMMAND_MASK 0x0F; flags ACKNOWLEDGE (1<<7) and UNSEQUENCED (1<<6) live in the same byte. Matches the 13 listed values." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:26:32.637Z" |
|---|
| summary | "Read protocol.h lines 25-40: commands 0-12, COMMAND_COUNT 13 and COMMAND_MASK are not commands; complete." |
|---|
| changed | |
|---|
|
|
|---|