Source code of Windows XP (NT5)
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

  1. //=============================================================================
  2. // Copyright (c) Microsoft Corporation
  3. // Abstract:
  4. // This module implements string-address conversion functions.
  5. //=============================================================================
  6. WCHAR *
  7. FormatIPv6Address(
  8. IN IN6_ADDR *Address,
  9. IN DWORD dwScopeId
  10. );
  11. DWORD
  12. GetIpv6Address(
  13. IN PWCHAR pwszArgument,
  14. OUT IN6_ADDR *pipAddress
  15. );
  16. WCHAR *
  17. FormatIPv4Address(
  18. IN IN_ADDR *Address
  19. );
  20. DWORD
  21. GetIpv4Address(
  22. IN PWCHAR pwszArgument,
  23. OUT IN_ADDR *pipAddress
  24. );
  25. WCHAR *
  26. FormatIPv6Prefix(
  27. IN IPv6Addr *Address,
  28. IN ULONG Length
  29. );
  30. DWORD
  31. GetIpv6Prefix(
  32. IN PWCHAR pwszArgument,
  33. OUT IN6_ADDR *pipAddress,
  34. OUT DWORD *dwPrefixLength
  35. );
  36. WCHAR *
  37. FormatLinkLayerAddress(
  38. IN ULONG Length,
  39. IN UCHAR *addr
  40. );