mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
873 B
47 lines
873 B
//=============================================================================
|
|
// 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
|
|
);
|