skyscraper8/skyscraper8/Skyscraper/Net/NullIpTrafficHandler.cs
feyris-tan 1b01ed8553
All checks were successful
🚀 Pack skyscraper8 / make-zip (push) Successful in 52s
Discriminate between multiple virtual networks.
2026-06-14 21:29:10 +02:00

35 lines
764 B
C#

using log4net;
using skyscraper5.Skyscraper.Plugins;
using skyscraper8.Skyscraper.Scraper.Storage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
using skyscraper8.Skyscraper.Net.VirtualNetworks;
namespace skyscraper8.Skyscraper.Net
{
[SkyscraperPlugin]
[StorageId(2)]
[StorageName("Packet Discarder")]
internal class NullIpTrafficHandler : IpTrafficHandler
{
public void Dispose()
{
}
public void HandleIpPacket(VirtualNetworkIdentifier pid, byte[] payload)
{
}
public void HandleLlcFrame(VirtualNetworkIdentifier pid, PhysicalAddress source, PhysicalAddress destination, ushort etherType, byte[] contents)
{
}
}
}