public EthernetFrame(EthernetPort dst, EthernetPort src, Option <ushort> vlan, Layer3Packet layer3Packet) { _apiEthernet = Generators.Ethernet(dst, src) | Generators.Dot1Q(vlan); _apiEthernet = layer3Packet.Merge(_apiEthernet); }
public EthernetFrame(EthernetPort dst, EthernetPort src, Layer3Packet layer3Packet) { _apiEthernet = Generators.Ethernet(dst, src); _apiEthernet = layer3Packet.Merge(_apiEthernet); }