mirror of
https://github.com/tnodir/fort
synced 2024-11-15 12:40:54 +00:00
Driver: fortpkt: Minor refactor for Qt 6.1.3
This commit is contained in:
parent
34bb34e7a4
commit
3afa6e82d4
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#define HTONL(l) _byteswap_ulong(l)
|
#define HTONL(l) _byteswap_ulong(l)
|
||||||
|
|
||||||
typedef void(NTAPI *FORT_PACKET_FOREACH_FUNC)(PFORT_SHAPER, PFORT_PACKET);
|
typedef void FORT_PACKET_FOREACH_FUNC(PFORT_SHAPER, PFORT_PACKET);
|
||||||
|
|
||||||
static LARGE_INTEGER g_QpcFrequency;
|
static LARGE_INTEGER g_QpcFrequency;
|
||||||
static UINT64 g_QpcFrequencyHalfMs;
|
static UINT64 g_QpcFrequencyHalfMs;
|
||||||
@ -291,7 +291,7 @@ static void fort_shaper_packet_inject(PFORT_SHAPER shaper, PFORT_PACKET pkt)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void fort_shaper_packet_foreach(
|
static void fort_shaper_packet_foreach(
|
||||||
PFORT_SHAPER shaper, PFORT_PACKET pkt, const FORT_PACKET_FOREACH_FUNC func)
|
PFORT_SHAPER shaper, PFORT_PACKET pkt, FORT_PACKET_FOREACH_FUNC func)
|
||||||
{
|
{
|
||||||
while (pkt != NULL) {
|
while (pkt != NULL) {
|
||||||
PFORT_PACKET pkt_next = pkt->next;
|
PFORT_PACKET pkt_next = pkt->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user