summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSepalani <sepalani@hotmail.fr>2022-07-31 19:30:17 +0400
committerSepalani <sepalani@hotmail.fr>2022-08-01 12:49:38 +0400
commit4fa65ec9cfeffedf4f1604aa448b37cb96daf40d (patch)
tree18d10532c8e28982bf95ea3dc55331685ea46322 /Source/Core
parentfb45ed3981d4aaaaa55fcd16686bba68fed2c4f1 (diff)
BBA/BuiltIn: Add minimal IGMP support
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/EXI/BBA/BuiltIn.cpp12
1 files changed, 12 insertions, 0 deletions
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<u8> data(frame, frame + size);
+ WriteToQueue(data);
+ break;
+ }
+
+ default:
+ ERROR_LOG_FMT(SP1, "Unsupported IP protocol {}", *ip_proto);
+ break;
}
break;
}