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.

83 lines
917 B

  1. #define IN_CLASSE(i) (((long)(i) & 0xF0000000) == 0xF0000000)
  2. DWORD
  3. VerifyAddresses(
  4. ADDR Addr,
  5. BOOL bAcceptMe,
  6. BOOL bIsDesAddr
  7. );
  8. BOOL
  9. EqualAddresses(
  10. IN ADDR OldAddr,
  11. IN ADDR NewAddr
  12. );
  13. VOID
  14. CopyAddresses(
  15. IN ADDR InAddr,
  16. OUT PADDR pOutAddr
  17. );
  18. BOOL
  19. AddressesConflict(
  20. ADDR SrcAddr,
  21. ADDR DesAddr
  22. );
  23. VOID
  24. FreeAddresses(
  25. ADDR Addr
  26. );
  27. DWORD
  28. VerifySubNetAddress(
  29. ULONG uSubNetAddr,
  30. ULONG uSubNetMask,
  31. BOOL bIsDesAddr
  32. );
  33. BOOL
  34. bIsValidIPMask(
  35. ULONG uMask
  36. );
  37. BOOL
  38. bIsValidIPAddress(
  39. ULONG uIpAddr,
  40. BOOL bAcceptMe,
  41. BOOL bIsDesAddr
  42. );
  43. BOOL
  44. bIsValidSubnet(
  45. ULONG uIpAddr,
  46. ULONG uMask,
  47. BOOL bIsDesAddr
  48. );
  49. BOOL
  50. MatchAddresses(
  51. ADDR AddrToMatch,
  52. ADDR AddrTemplate
  53. );
  54. DWORD
  55. ApplyMulticastFilterValidation(
  56. ADDR Addr,
  57. BOOL bCreateMirror
  58. );