Skip to content

Instantly share code, notes, and snippets.

@NZSmartie
Last active July 2, 2020 07:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NZSmartie/079d8f894ee94f3035306cb23d49addc to your computer and use it in GitHub Desktop.
Save NZSmartie/079d8f894ee94f3035306cb23d49addc to your computer and use it in GitHub Desktop.
afunix.h (Windows Insiders SDK for the Windows build 17061)
/*++
Copyright (c) Microsoft Corporation
Module Name:
afunix.h
Abstract:
This file contains the definitions for the AF_UNIX socket address family
that can be used by both user-mode and kernel mode modules.
BETA: The definitions in this header are subject to change.
--*/
#ifndef _AFUNIX_
#define _AFUNIX_
#pragma once
#define UNIX_PATH_MAX 108
typedef struct sockaddr_un
{
ADDRESS_FAMILY sun_family; /* AF_UNIX */
char sun_path[UNIX_PATH_MAX]; /* pathname */
} SOCKADDR_UN, *PSOCKADDR_UN;
#endif /* _AFUNIX_ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment