Leaked source code of windows server 2003
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
920 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
);