A brief file description. More...
#include "P_Net.h"
Go to the source code of this file.
Functions | |
static void | configure_net (void) |
static void | register_net_stats () |
void | ink_net_init (ModuleVersion version) |
Variables | |
RecRawStatBlock * | net_rsb = NULL |
int | net_config_poll_timeout = -1 |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file Net.cc.
static void configure_net | ( | void | ) | [inline, static] |
Definition at line 38 of file Net.cc.
References change_net_connections_throttle(), fds_throttle, REC_ReadConfigInteger, and REC_RegisterConfigUpdateFunc.
Referenced by ink_net_init().
void ink_net_init | ( | ModuleVersion | version | ) |
Definition at line 117 of file Net.cc.
References checkModuleVersion(), configure_net(), ink_release_assert, Net_Stat_Count, NET_SYSTEM_MODULE_VERSION, RecAllocateRawStatBlock(), and register_net_stats().
Referenced by main().
static void register_net_stats | ( | ) | [inline, static] |
Definition at line 46 of file Net.cc.
References inactivity_cop_lock_acquire_failure_stat, net_accepts_currently_open_stat, net_calls_to_read_nodata_stat, net_calls_to_read_stat, net_calls_to_readfromnet_afterpoll_stat, net_calls_to_readfromnet_stat, net_calls_to_write_nodata_stat, net_calls_to_write_stat, net_calls_to_writetonet_afterpoll_stat, net_calls_to_writetonet_stat, NET_CLEAR_DYN_STAT, net_connections_currently_open_stat, net_handler_run_stat, net_read_bytes_stat, net_write_bytes_stat, RECD_INT, RECP_NON_PERSISTENT, RECP_PERSISTENT, RecRawStatSyncSum(), RecRegisterRawStat, RECT_PROCESS, socks_connections_currently_open_stat, socks_connections_successful_stat, and socks_connections_unsuccessful_stat.
Referenced by ink_net_init().
int net_config_poll_timeout = -1 |
Definition at line 35 of file Net.cc.
Referenced by aio_thread_main(), main(), NetHandler::mainNetEvent(), and PollCont::pollEvent().
RecRawStatBlock* net_rsb = NULL |