Main Page Modules Data Structures File List Data Fields Globals Related Pages

# activehosts Struct Reference
[Internal Structures and Definitions]

Keeps a list of all the opened connections in the active mode. More...

`#include <pcap-remote.h>`

## Data Fields
sockaddr_storage | host
SOCKET | sockctrl
activehosts * | next

## Detailed Description

Keeps a list of all the opened connections in the active mode.

This structure defines a linked list of items that are needed to keep the info required to manage the active mode. In other words, when a new connection in active mode starts, this structure is updated so that it reflects the list of active mode connections currently opened. This structure is required by findalldevs() and open_remote() to see if they have to open a new control connection toward the host, or they already have a control connection in place.

Definition at line 132 of file pcap-remote.h.

## Field Documentation

struct sockaddr_storage host

| Definition at line 134 of file pcap-remote.h. Referenced by pcap_remoteact_accept(), pcap_remoteact_close(), pcap_remoteact_list(), and rpcap_remoteact_getsock().

struct activehosts* next

| Definition at line 136 of file pcap-remote.h. Referenced by pcap_close_remote(), pcap_remoteact_accept(), pcap_remoteact_close(), pcap_remoteact_list(), pcap_startcapture_remote(), and rpcap_remoteact_getsock().

SOCKET sockctrl

| Definition at line 135 of file pcap-remote.h. Referenced by pcap_close_remote(), pcap_remoteact_accept(), pcap_remoteact_close(), pcap_startcapture_remote(), and rpcap_remoteact_getsock().

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

- pcap-remote.h

documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.