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
#define | SOCKET_MAXCONN 10
#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_save().

#define MAX_LINE 2048

| Definition at line 38 of file rpcapd.h.

#define PROGRAM_NAME "rpcapd"

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

#define SOCKET_MAXCONN 10

| Definition at line 39 of file rpcapd.h.

## Function Documentation

void main_cleanup | ( | int | sign | ) |

| Definition at line 432 of file rpcapd.c. References SOCK_ASSERT, and sock_cleanup().

void main_startup | ( | void |  | ) |

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

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