From 4fa65ec9cfeffedf4f1604aa448b37cb96daf40d Mon Sep 17 00:00:00 2001 From: Sepalani Date: Sun, 31 Jul 2022 19:30:17 +0400 Subject: [PATCH] BBA/BuiltIn: Add minimal IGMP support --- Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp b/Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp index 9e2a4dcca7..9b535f189c 100644 --- a/Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp +++ b/Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp @@ -545,6 +545,18 @@ bool CEXIETHERNET::BuiltInBBAInterface::SendFrame(const u8* frame, u32 size) HandleTCPFrame(*tcp_packet); break; } + + case IPPROTO_IGMP: + { + // Acknowledge IGMP packet + const std::vector data(frame, frame + size); + WriteToQueue(data); + break; + } + + default: + ERROR_LOG_FMT(SP1, "Unsupported IP protocol {}", *ip_proto); + break; } break; }