public L7(PacketSpan <GenericHeader> l2tpPayloadSpan, L2TPPacketParsed l2tpPacketParsed) { this.L2TPPacketParsed = l2tpPacketParsed; this.Generic = l2tpPayloadSpan; this.Type = L7Type.L2TP; }
public L7(PacketSpan <GenericHeader> payloadSpan, L7Type type) { this.L2TPPacketParsed = null; this.Generic = payloadSpan; this.Type = type; }