mirror of https://github.com/PCSX2/pcsx2.git
DEV9: Add GetHeaderLength() to IP_Packet
This commit is contained in:
parent
cb0e629dd3
commit
284ec35699
|
@ -20,6 +20,11 @@
|
||||||
|
|
||||||
namespace PacketReader::IP
|
namespace PacketReader::IP
|
||||||
{
|
{
|
||||||
|
int IP_Packet::GetHeaderLength()
|
||||||
|
{
|
||||||
|
return headerLength;
|
||||||
|
}
|
||||||
|
|
||||||
u8 IP_Packet::GetDscpValue()
|
u8 IP_Packet::GetDscpValue()
|
||||||
{
|
{
|
||||||
return (dscp >> 2) & 0x3F;
|
return (dscp >> 2) & 0x3F;
|
||||||
|
|
Loading…
Reference in New Issue