DEV9: Add GetHeaderLength() to IP_Packet

This commit is contained in:
TheLastRar 2021-09-09 01:48:42 +01:00 committed by refractionpcsx2
parent cb0e629dd3
commit 284ec35699
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@
namespace PacketReader::IP
{
int IP_Packet::GetHeaderLength()
{
return headerLength;
}
u8 IP_Packet::GetDscpValue()
{
return (dscp >> 2) & 0x3F;