MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PFS_socket Struct Reference

#include <pfs_instr.h>

Inheritance diagram for PFS_socket:
Collaboration diagram for PFS_socket:

Public Member Functions

uint32 get_version ()

Public Attributes

const void * m_identity
PFS_threadm_thread_owner
uint m_fd
struct sockaddr_storage m_sock_addr
socklen_t m_addr_len
bool m_idle
PFS_socket_classm_class
PFS_socket_stat m_socket_stat
- Public Attributes inherited from PFS_instr
pfs_lock m_lock
bool m_enabled
bool m_timed

Detailed Description

Instrumented socket implementation.

See Also
PSI_socket.

Definition at line 242 of file pfs_instr.h.

Member Data Documentation

socklen_t PFS_socket::m_addr_len

Length of address

Definition at line 256 of file pfs_instr.h.

PFS_socket_class* PFS_socket::m_class

Socket class.

Definition at line 260 of file pfs_instr.h.

uint PFS_socket::m_fd

Socket file descriptor

Definition at line 252 of file pfs_instr.h.

const void* PFS_socket::m_identity

Socket identity, typically int

Definition at line 248 of file pfs_instr.h.

bool PFS_socket::m_idle

Idle flag.

Definition at line 258 of file pfs_instr.h.

struct sockaddr_storage PFS_socket::m_sock_addr

Raw socket address

Definition at line 254 of file pfs_instr.h.

PFS_socket_stat PFS_socket::m_socket_stat

Socket usage statistics.

Definition at line 262 of file pfs_instr.h.

PFS_thread* PFS_socket::m_thread_owner

Owning thread, if applicable

Definition at line 250 of file pfs_instr.h.


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