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

# rpcapd.h File Reference

Go to the source code of this file.

## Data Structures
struct | active_pars
## Defines
#define | PROGRAM_NAME "rpcapd"
#define | MAX_LINE 2048 /* Maximum chars allowed for the host list (in passive mode) */
#define | SOCKET_MAXCONN 10 /* Maximum number of connections queued into the accept() */
#define | MAX_HOST_LIST 64000
#define | MAX_ACTIVE_LIST 10
## Functions
void | main_startup (void)
void | main_cleanup (int sign)

## Define Documentation

#define MAX_ACTIVE_LIST 10

| Definition at line 41 of file rpcapd.h. Referenced by fileconf_read(), fileconf_save(), main(), and main_startup().

#define MAX_HOST_LIST 64000

| Definition at line 40 of file rpcapd.h. Referenced by fileconf_read(), and fileconf_save().

#define MAX_LINE 2048 /* Maximum chars allowed for the host list (in passive mode) */

| Definition at line 38 of file rpcapd.h.

#define PROGRAM_NAME "rpcapd"

| Definition at line 37 of file rpcapd.h. Referenced by main_cleanup(), printusage(), svc_main(), and svc_start().

#define SOCKET_MAXCONN 10 /* Maximum number of connections queued into the accept() */

| Definition at line 39 of file rpcapd.h. Referenced by main_startup().

## Function Documentation

void main_cleanup | ( | int | sign | ) |

| Definition at line 440 of file rpcapd.c. References PROGRAM_NAME, SOCK_ASSERT, sock_cleanup(), and sockmain. Referenced by main().

void main_startup | ( | void |  | ) |

| Definition at line 302 of file rpcapd.c. References activelist, active_pars::address, address, active_pars::ai_family, main_active(), main_passive(), mainhints, MAX_ACTIVE_LIST, passivemode, PCAP_ERRBUF_SIZE, port, pthread_suspend(), SOCK_ASSERT, sock_initaddress(), sock_open(), SOCKET, SOCKET_MAXCONN, sockmain, and SOCKOPEN_SERVER. Referenced by main(), and svc_main().

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