libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::windows::ws2_32::HOSTENT Class Referenceabstract

#include <HOSTENT.hh>

Public Member Functions

virtual guest_ptr< char[]> ph_name () const =0
 
virtual void ph_name (const guest_ptr< char[]> &ptr)=0
 
virtual guest_ptr< char *, guest_ptr_tph_aliases () const =0
 
virtual void ph_aliases (const guest_ptr< char *, guest_ptr_t > &ptr)=0
 
virtual uint16_t h_addrtype () const =0
 
virtual void h_addrtype (uint16_t h_addrtype)=0
 
virtual uint16_t h_length () const =0
 
virtual void h_length (uint16_t h_length)=0
 
virtual guest_ptr< uint8_t *, guest_ptr_tph_addr_list () const =0
 
virtual void ph_addr_list (const guest_ptr< uint8_t *, guest_ptr_t > &ptr)=0
 
virtual std::vector< guest_ptr< char[]> > h_aliases () const =0
 
virtual ~HOSTENT ()=default
 

Static Public Member Functions

static std::shared_ptr< HOSTENTmake_shared (const guest_ptr< void > &ptr, bool x64)
 Create a HOSTENT.
 
static size_t size (bool x64)
 Get the size of the structure.
 
static size_t size (const Vcpu &vcpu)
 Get the size of the structure.
 

Detailed Description

Constructor & Destructor Documentation

◆ ~HOSTENT()

virtual introvirt::windows::ws2_32::HOSTENT::~HOSTENT ( )
virtualdefault

Member Function Documentation

◆ h_addrtype() [1/2]

virtual uint16_t introvirt::windows::ws2_32::HOSTENT::h_addrtype ( ) const
pure virtual

◆ h_addrtype() [2/2]

virtual void introvirt::windows::ws2_32::HOSTENT::h_addrtype ( uint16_t  h_addrtype)
pure virtual

◆ h_aliases()

virtual std::vector< guest_ptr< char[]> > introvirt::windows::ws2_32::HOSTENT::h_aliases ( ) const
pure virtual

◆ h_length() [1/2]

virtual uint16_t introvirt::windows::ws2_32::HOSTENT::h_length ( ) const
pure virtual

◆ h_length() [2/2]

virtual void introvirt::windows::ws2_32::HOSTENT::h_length ( uint16_t  h_length)
pure virtual

◆ make_shared()

static std::shared_ptr< HOSTENT > introvirt::windows::ws2_32::HOSTENT::make_shared ( const guest_ptr< void > &  ptr,
bool  x64 
)
static

Create a HOSTENT.

◆ ph_addr_list() [1/2]

virtual guest_ptr< uint8_t *, guest_ptr_t > introvirt::windows::ws2_32::HOSTENT::ph_addr_list ( ) const
pure virtual

◆ ph_addr_list() [2/2]

virtual void introvirt::windows::ws2_32::HOSTENT::ph_addr_list ( const guest_ptr< uint8_t *, guest_ptr_t > &  ptr)
pure virtual

◆ ph_aliases() [1/2]

virtual guest_ptr< char *, guest_ptr_t > introvirt::windows::ws2_32::HOSTENT::ph_aliases ( ) const
pure virtual

◆ ph_aliases() [2/2]

virtual void introvirt::windows::ws2_32::HOSTENT::ph_aliases ( const guest_ptr< char *, guest_ptr_t > &  ptr)
pure virtual

◆ ph_name() [1/2]

virtual guest_ptr< char[]> introvirt::windows::ws2_32::HOSTENT::ph_name ( ) const
pure virtual

◆ ph_name() [2/2]

virtual void introvirt::windows::ws2_32::HOSTENT::ph_name ( const guest_ptr< char[]> &  ptr)
pure virtual

◆ size() [1/2]

static size_t introvirt::windows::ws2_32::HOSTENT::size ( bool  x64)
static

Get the size of the structure.

Parameters
x64If true, return the size of the 64-bit version, otherwise 32-bit

◆ size() [2/2]

static size_t introvirt::windows::ws2_32::HOSTENT::size ( const Vcpu vcpu)
static

Get the size of the structure.

Parameters
vcpuThe VCPU to use as context

This version will use the current processor state to determine if the structure would be 32-bit or 64-bit.


The documentation for this class was generated from the following file: