[PATCH 1/2] include: Add IN6_PKTINFO

Zebediah Figura (she/her) zfigura at codeweavers.com
Mon May 3 11:09:06 CDT 2021



On 5/3/21 10:28 AM, Alex Henrie wrote:
> Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> ---
>   include/ws2ipdef.h | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/include/ws2ipdef.h b/include/ws2ipdef.h
> index fc465804962..db0893827a9 100644
> --- a/include/ws2ipdef.h
> +++ b/include/ws2ipdef.h
> @@ -177,6 +177,11 @@ typedef struct WS(in_pktinfo) {
>       UINT    ipi_ifindex;
>   } IN_PKTINFO, *PIN_PKTINFO;
>   
> +typedef struct WS(in6_pktinfo) {
> +    IN6_ADDR ipi6_addr;
> +    ULONG    ipi6_ifindex;
> +} WS(IN6_PKTINFO), *WS(PIN6_PKTINFO);
> +
>   #ifndef USE_WS_PREFIX
>   #define IPV6_OPTIONS                    1
>   #define IPV6_HDRINCL                    2
> 

I don't think you need to guard the all-caps typedefs with WS().



More information about the wine-devel mailing list