IPV4_HEADER
構造体サイズx64: 56 バイト / x86: 28 バイト
サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| Anonymous1 | _Anonymous1_e__Union | 8/4 | +0 | +0 |
| Anonymous2 | _Anonymous2_e__Union | 8/4 | +8 | +4 |
| TotalLength | WORD | 2 | +16 | +8 |
| Identification | WORD | 2 | +18 | +10 |
| Anonymous3 | _Anonymous3_e__Union | 8/4 | +24 | +12 |
| TimeToLive | BYTE | 1 | +32 | +16 |
| Protocol | BYTE | 1 | +33 | +17 |
| HeaderChecksum | WORD | 2 | +34 | +18 |
| SourceAddress | IN_ADDR | 8/4 | +40 | +20 |
| DestinationAddress | IN_ADDR | 8/4 | +48 | +24 |
共用体: _Anonymous1_e__Union x64 8B / x86 4B
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| VersionAndHeaderLength | BYTE | 1 | +0 | +0 |
| Anonymous | _Anonymous_e__Struct | 8/4 | +0 | +0 |
共用体: _Anonymous2_e__Union x64 8B / x86 4B
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| TypeOfServiceAndEcnField | BYTE | 1 | +0 | +0 |
| Anonymous | _Anonymous_e__Struct | 8/4 | +0 | +0 |
共用体: _Anonymous3_e__Union x64 8B / x86 4B
| フィールド | 型 | サイズ | x64 | x86 |
|---|
| FlagsAndOffset | WORD | 2 | +0 | +0 |
| Anonymous | _Anonymous_e__Struct | 8/4 | +0 | +0 |