summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Network.cpp
diff options
context:
space:
mode:
authorSepalani <sepalani@hotmail.fr>2022-07-10 11:42:58 +0400
committerSepalani <sepalani@hotmail.fr>2022-07-10 11:42:58 +0400
commit13957a627c7128c5b24e76aa6d446ca3a1f469a5 (patch)
tree383e61de2931dc12bad00bbec58b3453c23a27eb /Source/Core/Common/Network.cpp
parent5ce73d9d2e6a1adbfe4f7596a0641aeae3417c5f (diff)
Common/Network: Remove unused constructors
Diffstat (limited to 'Source/Core/Common/Network.cpp')
-rw-r--r--Source/Core/Common/Network.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/Core/Common/Network.cpp b/Source/Core/Common/Network.cpp
index d03b537e25..59d0c9026e 100644
--- a/Source/Core/Common/Network.cpp
+++ b/Source/Core/Common/Network.cpp
@@ -337,13 +337,6 @@ std::vector<u8> ARPPacket::Build() const
TCPPacket::TCPPacket() = default;
-TCPPacket::TCPPacket(const MACAddress& destination, const MACAddress& source)
-{
- eth_header.destination = destination;
- eth_header.source = source;
- eth_header.ethertype = htons(IPV4_ETHERTYPE);
-}
-
TCPPacket::TCPPacket(const MACAddress& destination, const MACAddress& source,
const sockaddr_in& from, const sockaddr_in& to, u32 seq, u32 ack, u16 flags)
{
@@ -406,13 +399,6 @@ u16 TCPPacket::Size() const
UDPPacket::UDPPacket() = default;
-UDPPacket::UDPPacket(const MACAddress& destination, const MACAddress& source)
-{
- eth_header.destination = destination;
- eth_header.source = source;
- eth_header.ethertype = htons(IPV4_ETHERTYPE);
-}
-
UDPPacket::UDPPacket(const MACAddress& destination, const MACAddress& source,
const sockaddr_in& from, const sockaddr_in& to, const std::vector<u8>& payload)
{