Changes

517 bytes added ,  06:14, 26 May 2020
Line 1,077: Line 1,077:     
At this point standard sockets can be used over Data frames.
 
At this point standard sockets can be used over Data frames.
  −
The Action frames have the following structure:
  −
* "Fixed parameters":
  −
** "Category code: Vendor Specific (127)"
  −
* The Data starts with the [[#ActionHeader]].
  −
  −
<fill this in>
      
=== EthFrame ===
 
=== EthFrame ===
Line 1,163: Line 1,156:  
|}
 
|}
   −
=== ActionHeader ===
+
=== ActionFrame ===
 +
The Action frames have the following structure:
 +
* "Fixed parameters":
 +
** "Category code: Vendor Specific (127)"
 +
** "OUI: 00:22:aa (Nintendo Co., Ltd.)"
 +
* The Data starts with the following header:
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0 || 0x2 || 04 00 in sent frames.
 +
|-
 +
| 0x2 || 0x2 || Protocol ID, must be 0x0101.
 +
|-
 +
| 0x4 || 0x2 || Must be 0.
 +
|-
 +
| 0x6 || 0x2 || Zeros, unused.
 +
|}
 +
 
 +
Then the actual data follows:
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0 || 0x20 ||
 +
|-
 +
| 0x20 || 0x1 ||
 +
|-
 +
| 0x21 || 0x1 ||
 +
|-
 +
| 0x22 || 0x2 || Big-endian u16
 +
|-
 +
| 0x24 || 0x4 ||
 +
|-
 +
| 0x28 || 0x20 ||
 +
|-
 +
| 0x48 || ||
 +
|}
 +
 
 +
<fill this in>
    
== lp2p ==
 
== lp2p ==