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.

35 lines
1.4 KiB

  1. DWORD WINAPI IpAddressFromAbcdWsz(IN const WCHAR* wszIpAddress);
  2. VOID
  3. WINAPI AbcdWszFromIpAddress(
  4. IN DWORD IpAddress,
  5. OUT WCHAR* wszIpAddress,
  6. IN const DWORD dwBufSize);
  7. VOID GetIPAddressOctets (PCWSTR pszIpAddress, DWORD ardw[4]);
  8. BOOL IsValidIPAddressSubnetMaskPair (PCWSTR szIp, PCWSTR szSubnet);
  9. BOOL IsContiguousSubnetMask (PCWSTR pszSubnet);
  10. //
  11. // Arguments: PWSTR ip - Input dotted decimal IP address string
  12. // PWSTR sub - Output dotted decimal subnet mask for input IP address
  13. // const DWORD dwMaskBufSize - Size of sub output buffer in characters
  14. //
  15. BOOL ParamsGenerateSubnetMask (PWSTR ip, PWSTR sub, IN const DWORD dwMaskBufSize);
  16. void ParamsGenerateMAC (const WCHAR * szClusterIP,
  17. OUT WCHAR * szClusterMAC,
  18. IN const DWORD dwMACBufSize,
  19. OUT WCHAR * szMulticastIP,
  20. IN const DWORD dwIPBufSize,
  21. BOOL fConvertMAC,
  22. BOOL fMulticast,
  23. BOOL fIGMP,
  24. BOOL fUseClusterIP);
  25. void WriteNlbSetupErrorLog(UINT nIdErrorFormat, ...);
  26. #define ASIZECCH(_array) (sizeof(_array)/sizeof((_array)[0]))
  27. #define ASIZECB(_array) (sizeof(_array))