LDN services: Difference between revisions

Line 638: Line 638:


=== SendToOtherGroup ===
=== SendToOtherGroup ===
Takes an input [[#MacAddress]], a [[#MacAddress]], an u16, an u16, an u32, a type-0x21 input buffer, no output.
Takes an input [[#MacAddress]], a [[#MacAddress]], a s16, a s16, an u32 flags, a type-0x21 input buffer, no output.


The buffer size must be <=0x400.
The buffer size must be <=0x400.
The s16s must be >=1.
Flags is only used for selecting which func to call internally, via bit0.


=== RecvFromOtherGroup ===
=== RecvFromOtherGroup ===
Takes an input u32, a type-0x22 output buffer, returns a [[#MacAddress]], an u16, an u16, an u32 out_size, a s32.
Takes an input u32 flags, a type-0x22 output buffer, returns a [[#MacAddress]], an u16, a s16, an u32 out_size, a s32.


The out_size is the original size used for copying to the output buffer, before it's clamped to the output-buffer size.
The out_size is the original size used for copying to the output buffer, before it's clamped to the output-buffer size.
Flags is only used for selecting which func to call internally, via bit0.


=== AddAcceptableGroupId ===
=== AddAcceptableGroupId ===