private void HandleDhcpResponseReceived(IList <DhcpPacket> results, DhcpPacketEventArgs args, uint transactionId) { if (args.Packet.TransactionId == transactionId) { _logger.LogDebug("Received a DHCP Packet for transaction {0}", transactionId); results.Add(args.Packet); } }
private void OnPacketReceived(DhcpPacket packet) { var args = new DhcpPacketEventArgs(packet); PacketReceived?.Invoke(this, args); }