MySQL  8.0.20
Source Code Documentation

Instrumented socket implementation. More...

#include <pfs_instr.h>

Inheritance diagram for PFS_socket:

Public Member Functions

uint32 get_version ()

Public Attributes

const void * m_identity
 Socket identity, typically int. More...
 Owning thread, if applicable. More...
uint m_fd
 Socket file descriptor. More...
struct sockaddr_storage m_sock_addr
 Raw socket address. More...
socklen_t m_addr_len
 Length of address. More...
bool m_idle
 Idle flag. More...
 Socket class. More...
PFS_socket_stat m_socket_stat
 Socket usage statistics. More...
- Public Attributes inherited from PFS_instr
pfs_lock m_lock
 Internal lock. More...
bool m_enabled
 Enabled flag. More...
bool m_timed
 Timed flag. More...
PFS_opaque_container_page * m_page
 Container page. More...

Detailed Description

Instrumented socket implementation.

See also

Member Function Documentation

◆ get_version()

uint32 PFS_socket::get_version ( )

Member Data Documentation

◆ m_addr_len

socklen_t PFS_socket::m_addr_len

Length of address.

◆ m_class

PFS_socket_class* PFS_socket::m_class

Socket class.

◆ m_fd

uint PFS_socket::m_fd

Socket file descriptor.

◆ m_identity

const void* PFS_socket::m_identity

Socket identity, typically int.

◆ m_idle

bool PFS_socket::m_idle

Idle flag.

◆ m_sock_addr

struct sockaddr_storage PFS_socket::m_sock_addr

Raw socket address.

◆ m_socket_stat

PFS_socket_stat PFS_socket::m_socket_stat

Socket usage statistics.

◆ m_thread_owner

PFS_thread* PFS_socket::m_thread_owner

Owning thread, if applicable.

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