For Icmp6SendEcho2 the reply buffer size is documented here :
https://learn.microsoft.com/en-us/windows/win32/api/icmpapi/nf-icmpapi-icmp6sendecho2

'The size, in bytes, of the reply buffer pointed to by the ReplyBuffer 
parameter. This buffer should be large enough to hold at least one 
ICMPV6_ECHO_REPLY structure plus RequestSize bytes of data.
This buffer should also be large enough to also hold 8 more bytes of data (the 
size of an ICMP error message) plus space for an IO_STATUS_BLOCK structure'

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Include winternl.h for IO_STATUS_BLOCK
 - JDK-8393887

Changes: https://git.openjdk.org/jdk/pull/33271/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33271&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8393887
  Stats: 8 lines in 2 files changed: 5 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/33271.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33271/head:pull/33271

PR: https://git.openjdk.org/jdk/pull/33271

Reply via email to