libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
QOS.hh
Go to the documentation of this file.
1/*
2 * Copyright 2021 Assured Information Security, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#pragma once
17
18#include "FLOWSPEC.hh"
19#include "WSABUF.hh"
20
22
23#include <cstdint>
24#include <memory>
25
26namespace introvirt {
27namespace windows {
28namespace ws2_32 {
29
33class QOS {
34 public:
35 virtual const FLOWSPEC& SendingFlowspec() const = 0;
36 virtual FLOWSPEC& SendingFlowspec() = 0;
37
38 virtual const FLOWSPEC& ReceivingFlowspec() const = 0;
40
41 virtual const WSABUF& ProviderSpecific() const = 0;
42 virtual WSABUF& ProviderSpecific() = 0;
43
44 static std::shared_ptr<QOS> make_shared(const guest_ptr<void>& ptr, bool x64);
45};
46
47} // namespace ws2_32
48} // namespace windows
49} // namespace introvirt
Definition guest_ptr.hh:88
Definition FLOWSPEC.hh:30
virtual const FLOWSPEC & ReceivingFlowspec() const =0
static std::shared_ptr< QOS > make_shared(const guest_ptr< void > &ptr, bool x64)
virtual const WSABUF & ProviderSpecific() const =0
virtual const FLOWSPEC & SendingFlowspec() const =0
virtual WSABUF & ProviderSpecific()=0
virtual FLOWSPEC & ReceivingFlowspec()=0
virtual FLOWSPEC & SendingFlowspec()=0
Definition WSABUF.hh:32
Type-safe guest virtual address pointer and guest_ptr template.
Core IntroVirt classes.
Definition Cr0.hh:20