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.
83 lines
917 B
83 lines
917 B
|
|
|
|
#define IN_CLASSE(i) (((long)(i) & 0xF0000000) == 0xF0000000)
|
|
|
|
|
|
DWORD
|
|
VerifyAddresses(
|
|
ADDR Addr,
|
|
BOOL bAcceptMe,
|
|
BOOL bIsDesAddr
|
|
);
|
|
|
|
|
|
BOOL
|
|
EqualAddresses(
|
|
IN ADDR OldAddr,
|
|
IN ADDR NewAddr
|
|
);
|
|
|
|
|
|
VOID
|
|
CopyAddresses(
|
|
IN ADDR InAddr,
|
|
OUT PADDR pOutAddr
|
|
);
|
|
|
|
|
|
BOOL
|
|
AddressesConflict(
|
|
ADDR SrcAddr,
|
|
ADDR DesAddr
|
|
);
|
|
|
|
|
|
VOID
|
|
FreeAddresses(
|
|
ADDR Addr
|
|
);
|
|
|
|
|
|
DWORD
|
|
VerifySubNetAddress(
|
|
ULONG uSubNetAddr,
|
|
ULONG uSubNetMask,
|
|
BOOL bIsDesAddr
|
|
);
|
|
|
|
|
|
BOOL
|
|
bIsValidIPMask(
|
|
ULONG uMask
|
|
);
|
|
|
|
|
|
BOOL
|
|
bIsValidIPAddress(
|
|
ULONG uIpAddr,
|
|
BOOL bAcceptMe,
|
|
BOOL bIsDesAddr
|
|
);
|
|
|
|
|
|
BOOL
|
|
bIsValidSubnet(
|
|
ULONG uIpAddr,
|
|
ULONG uMask,
|
|
BOOL bIsDesAddr
|
|
);
|
|
|
|
|
|
BOOL
|
|
MatchAddresses(
|
|
ADDR AddrToMatch,
|
|
ADDR AddrTemplate
|
|
);
|
|
|
|
|
|
DWORD
|
|
ApplyMulticastFilterValidation(
|
|
ADDR Addr,
|
|
BOOL bCreateMirror
|
|
);
|
|
|