Go to the source code of this file.
|
#define | ETH_LENGTH_OF_ADDRESS 6 |
|
#define | ETH_IS_BROADCAST(Address) |
|
#define | ETH_IS_MULTICAST(Address) (BOOLEAN)(((PUCHAR)(Address))[0] & ((UCHAR)0x01)) |
|
#define | ETH_COMPARE_NETWORK_ADDRESSES(_A, _B, _Result) |
|
#define | ETH_COMPARE_NETWORK_ADDRESSES_EQ(_A, _B, _Result) |
|
#define | ETH_COPY_NETWORK_ADDRESS(_D, _S) |
|
#define | FDDI_LENGTH_OF_LONG_ADDRESS 6 |
|
#define | FDDI_LENGTH_OF_SHORT_ADDRESS 2 |
|
#define | FDDI_IS_BROADCAST(Address, AddressLength, Result) |
|
#define | FDDI_IS_MULTICAST(Address, AddressLength, Result) *Result = (BOOLEAN)(*(UCHAR *)(Address) & (UCHAR)0x01) |
|
#define | FDDI_IS_SMT(FcByte, Result) |
|
#define | FDDI_COMPARE_NETWORK_ADDRESSES(_A, _B, _Length, _Result) |
|
#define | FDDI_COMPARE_NETWORK_ADDRESSES_EQ(_A, _B, _Length, _Result) |
|
#define | FDDI_COPY_NETWORK_ADDRESS(D, S, AddressLength) |
|
#define | TR_LENGTH_OF_FUNCTIONAL 4 |
|
#define | TR_LENGTH_OF_ADDRESS 6 |
|
#define | TR_IS_NOT_DIRECTED(_Address, _Result) |
|
#define | TR_IS_FUNCTIONAL(_Address, _Result) |
|
#define | TR_IS_GROUP(_Address, _Result) |
|
#define | TR_IS_SOURCE_ROUTING(_Address, _Result) |
|
#define | TR_IS_MAC_FRAME(_PacketHeader) ((((PUCHAR)_PacketHeader)[1] & 0xFC) == 0) |
|
#define | TR_IS_BROADCAST(_Address, _Result) |
|
#define | TR_COMPARE_NETWORK_ADDRESSES(_A, _B, _Result) |
|
#define | TR_COPY_NETWORK_ADDRESS(_D, _S) |
|
#define | TR_COMPARE_NETWORK_ADDRESSES_EQ(_A, _B, _Result) |
|
◆ ETH_COMPARE_NETWORK_ADDRESSES
#define ETH_COMPARE_NETWORK_ADDRESSES |
( |
|
_A, |
|
|
|
_B, |
|
|
|
_Result |
|
) |
| |
Value:{ \
{ \
*(_Result) = 1; \
} \
{ \
} \
{ \
*(_Result) = 1; \
} \
{ \
} \
else \
{ \
*(_Result) = 0; \
} \
}
Definition at line 40 of file xfilter.h.
◆ ETH_COMPARE_NETWORK_ADDRESSES_EQ
#define ETH_COMPARE_NETWORK_ADDRESSES_EQ |
( |
|
_A, |
|
|
|
_B, |
|
|
|
_Result |
|
) |
| |
Value:{ \
{ \
*(_Result) = 0; \
} \
else \
{ \
*(_Result) = 1; \
} \
}
Definition at line 64 of file xfilter.h.
◆ ETH_COPY_NETWORK_ADDRESS
#define ETH_COPY_NETWORK_ADDRESS |
( |
|
_D, |
|
|
|
_S |
|
) |
| |
◆ ETH_IS_BROADCAST
◆ ETH_IS_MULTICAST
◆ ETH_LENGTH_OF_ADDRESS
#define ETH_LENGTH_OF_ADDRESS 6 |
◆ FDDI_COMPARE_NETWORK_ADDRESSES
#define FDDI_COMPARE_NETWORK_ADDRESSES |
( |
|
_A, |
|
|
|
_B, |
|
|
|
_Length, |
|
|
|
_Result |
|
) |
| |
Value:{ \
{ \
*(_Result) = 1; \
} \
{ \
} \
else if (_Length == 2) \
{ \
*(_Result) = 0; \
} \
{ \
*(_Result) = 1; \
} \
{ \
} \
else \
{ \
*(_Result) = 0; \
} \
}
Definition at line 99 of file xfilter.h.
◆ FDDI_COMPARE_NETWORK_ADDRESSES_EQ
#define FDDI_COMPARE_NETWORK_ADDRESSES_EQ |
( |
|
_A, |
|
|
|
_B, |
|
|
|
_Length, |
|
|
|
_Result |
|
) |
| |
Value:{ \
(((_Length) == 2) || \
{ \
*(_Result) = 0; \
} \
else \
{ \
*(_Result) = 1; \
} \
}
Definition at line 127 of file xfilter.h.
◆ FDDI_COPY_NETWORK_ADDRESS
#define FDDI_COPY_NETWORK_ADDRESS |
( |
|
D, |
|
|
|
S, |
|
|
|
AddressLength |
|
) |
| |
Value:{ \
UINT _C = (AddressLength); \
for ( ; _C > 0 ; _D++, _S++, _C--) \
{ \
*_D = *_S; \
} \
}
Definition at line 141 of file xfilter.h.
◆ FDDI_IS_BROADCAST
Value:
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition at line 86 of file xfilter.h.
◆ FDDI_IS_MULTICAST
◆ FDDI_IS_SMT
◆ FDDI_LENGTH_OF_LONG_ADDRESS
#define FDDI_LENGTH_OF_LONG_ADDRESS 6 |
◆ FDDI_LENGTH_OF_SHORT_ADDRESS
#define FDDI_LENGTH_OF_SHORT_ADDRESS 2 |
◆ TR_COMPARE_NETWORK_ADDRESSES
#define TR_COMPARE_NETWORK_ADDRESSES |
( |
|
_A, |
|
|
|
_B, |
|
|
|
_Result |
|
) |
| |
Value:{ \
{ \
*(_Result) = 1; \
} \
{ \
} \
{ \
*(_Result) = 1; \
} \
{ \
} \
else \
{ \
*(_Result) = 0; \
} \
}
Definition at line 187 of file xfilter.h.
◆ TR_COMPARE_NETWORK_ADDRESSES_EQ
#define TR_COMPARE_NETWORK_ADDRESSES_EQ |
( |
|
_A, |
|
|
|
_B, |
|
|
|
_Result |
|
) |
| |
Value:{ \
{ \
*(_Result) = 0; \
} \
else \
{ \
*(_Result) = 1; \
} \
}
Definition at line 217 of file xfilter.h.
◆ TR_COPY_NETWORK_ADDRESS
#define TR_COPY_NETWORK_ADDRESS |
( |
|
_D, |
|
|
|
_S |
|
) |
| |
◆ TR_IS_BROADCAST
#define TR_IS_BROADCAST |
( |
|
_Address, |
|
|
|
_Result |
|
) |
| |
◆ TR_IS_FUNCTIONAL
#define TR_IS_FUNCTIONAL |
( |
|
_Address, |
|
|
|
_Result |
|
) |
| |
Value:{ \
*(_Result) = (
BOOLEAN)(((_Address)[0] & 0x80) && !((_Address)[2] & 0x80)); \
}
Definition at line 163 of file xfilter.h.
◆ TR_IS_GROUP
#define TR_IS_GROUP |
( |
|
_Address, |
|
|
|
_Result |
|
) |
| |
Value:{ \
*(_Result) = (
BOOLEAN)((_Address)[0] & (_Address)[2] & 0x80); \
}
Definition at line 168 of file xfilter.h.
◆ TR_IS_MAC_FRAME
#define TR_IS_MAC_FRAME |
( |
|
_PacketHeader | ) |
((((PUCHAR)_PacketHeader)[1] & 0xFC) == 0) |
◆ TR_IS_NOT_DIRECTED
#define TR_IS_NOT_DIRECTED |
( |
|
_Address, |
|
|
|
_Result |
|
) |
| |
Value:{ \
*(_Result) = (
BOOLEAN)((_Address)[0] & 0x80); \
}
Definition at line 158 of file xfilter.h.
◆ TR_IS_SOURCE_ROUTING
#define TR_IS_SOURCE_ROUTING |
( |
|
_Address, |
|
|
|
_Result |
|
) |
| |
Value:{ \
*(_Result) = (
BOOLEAN)((_Address)[0] & 0x80); \
}
Definition at line 173 of file xfilter.h.
◆ TR_LENGTH_OF_ADDRESS
#define TR_LENGTH_OF_ADDRESS 6 |
◆ TR_LENGTH_OF_FUNCTIONAL
#define TR_LENGTH_OF_FUNCTIONAL 4 |
◆ TR_FUNCTIONAL_ADDRESS
◆ TR_GROUP_ADDRESS