LDN services: Difference between revisions
Line 1,245: | Line 1,245: | ||
| 0x110 || {above count} || Array of s8 with the above count for total entries. The flags are loaded by: <nowiki>"loaded_flags |= BIT(s8_entryvalue)"</nowiki>, with each entry. Afterwards, loaded_flags is masked with 0x7. loaded_flags must be non-zero. | | 0x110 || {above count} || Array of s8 with the above count for total entries. The flags are loaded by: <nowiki>"loaded_flags |= BIT(s8_entryvalue)"</nowiki>, with each entry. Afterwards, loaded_flags is masked with 0x7. loaded_flags must be non-zero. | ||
|- | |- | ||
| 0x1C0 || 0x1 || PresharedKeyBinarySize. | | 0x1C0 || 0x1 || PresharedKeyBinarySize. With [[#CreateGroup]]/[[#Join]] this is set to 0x20 if 0. Must be 0x20 during key derivation. | ||
|- | |- | ||
| 0x1C1 || 0x20 || PresharedKey. Used during key derivation. | | 0x1C1 || 0x20 || PresharedKey. Used during key derivation. | ||
|} | |} | ||
The above loaded_flags are used when +0x8A is 0. global_flags are loaded from global data. Flags: | The above loaded_flags are used when +0x8A is 0. global_flags are loaded from global data. These flags are only used with [[#CreateGroup]]/[[#Join]]. Flags: | ||
* Bit2 clear: | * Bit2 clear: | ||
** global_flags must be non-zero, and loaded_flags bit1 must be set. | ** global_flags must be non-zero, and loaded_flags bit1 must be set. |