Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PCSX2/pcsx2
/ GetOpCode
Method
GetOpCode
pcsx2/DEV9/PacketReader/IP/UDP/DNS/DNS_Packet.cpp:18–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
u8 DNS_Packet::GetOpCode() const
19
{
20
return (flags1 >> 3) & 0xF;
21
}
22
void DNS_Packet::SetOpCode(u8 value)
23
{
24
flags1 = (flags1 & ~(0xF << 3)) | ((value & 0xF) << 3);
Callers
2
LogPacket
Method · 0.80
Send
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected