Bitdefender Hypervisor Memory Introspection
lixnet.h File Reference
#include "lixprocess.h"

Go to the source code of this file.

Functions

INTSTATUS IntLixNetSendTaskConnections (LIX_TASK_OBJECT *Task)
 Sends all active TCP/IP connections from a task to the integrator. More...
 
INTSTATUS IntLixNetSendGuestConnections (void)
 Sends all active in-guest TCP/IP connections as events to the integrator. More...
 

Function Documentation

◆ IntLixNetSendGuestConnections()

INTSTATUS IntLixNetSendGuestConnections ( void  )

Sends all active in-guest TCP/IP connections as events to the integrator.

This function will iterate all processes running inside the guest and send all their active TCP/IP connections.

Returns
INT_STATUS_SUCCESS On success.
INT_STATUS_NOT_NEEDED_HINT If connection events are not enabled.

Definition at line 388 of file lixnet.c.

◆ IntLixNetSendTaskConnections()

INTSTATUS IntLixNetSendTaskConnections ( LIX_TASK_OBJECT Task)

Sends all active TCP/IP connections from a task to the integrator.

This function will iterate all file descriptors for the given process and for those that refer to a socket will attempt to extract the connection details if the protocol used is TCP IPv4 or IPv6.

Parameters
[in]TaskThe Linux process.
Returns
INT_STATUS_SUCCESS On success.
INT_STATUS_NOT_NEEDED_HINT If the connection events are not enabled.
INT_STATUS_INVALID_PARAMETER_1 If the Task parameter does not point to a valid LIX_TASK_OBJECT.
INT_STATUS_NOT_SUPPORTED If the current OS type is not Linux.

Definition at line 271 of file lixnet.c.

Referenced by IntLixNetSendGuestConnections(), and IntLixVmaHandlePageExecution().