BBA/BuiltIn: Add minimal IGMP support

This commit is contained in:
Sepalani 2022-07-31 19:30:17 +04:00
parent fb45ed3981
commit 4fa65ec9cf
1 changed files with 12 additions and 0 deletions

View File

@ -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;
}