windows-nt/Source/XPSP1/NT/net/tcpip/tpipv6/ipv6mon/parse.h
2020-09-26 16:20:57 +08:00

48 lines
873 B
C

//=============================================================================
// Copyright (c) Microsoft Corporation
// Abstract:
// This module implements string-address conversion functions.
//=============================================================================
WCHAR *
FormatIPv6Address(
IN IN6_ADDR *Address,
IN DWORD dwScopeId
);
DWORD
GetIpv6Address(
IN PWCHAR pwszArgument,
OUT IN6_ADDR *pipAddress
);
WCHAR *
FormatIPv4Address(
IN IN_ADDR *Address
);
DWORD
GetIpv4Address(
IN PWCHAR pwszArgument,
OUT IN_ADDR *pipAddress
);
WCHAR *
FormatIPv6Prefix(
IN IPv6Addr *Address,
IN ULONG Length
);
DWORD
GetIpv6Prefix(
IN PWCHAR pwszArgument,
OUT IN6_ADDR *pipAddress,
OUT DWORD *dwPrefixLength
);
WCHAR *
FormatLinkLayerAddress(
IN ULONG Length,
IN UCHAR *addr
);