A brief file description. More...
#include "P_Net.h"
Go to the source code of this file.
Data Structures | |
class | InactivityCop |
Functions | |
void | fd_reify (struct ev_loop *) |
static void | net_signal_hook_callback (EThread *thread) |
static void | net_signal_hook_function (EThread *thread) |
void | initialize_thread_for_net (EThread *thread) |
Variables | |
ink_hrtime | last_throttle_warning |
ink_hrtime | last_shedding_warning |
ink_hrtime | emergency_throttle_time |
int | net_connections_throttle |
int | fds_throttle |
int | fds_limit = 8000 |
ink_hrtime | last_transient_accept_error |
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 UnixNet.cc.
void fd_reify | ( | struct ev_loop * | ) |
void initialize_thread_for_net | ( | EThread * | thread | ) |
Definition at line 211 of file UnixNet.cc.
References ats_malloc(), EThread::ep, EThread::evpipe, get_NetHandler(), get_PollCont(), HRTIME_SECONDS, Continuation::mutex, Thread::mutex, new_ProxyMutex(), PollCont::pollDescriptor, EThread::schedule_every(), EThread::schedule_imm(), EThread::signal_hook, EventIO::start(), and EventIO::type.
Referenced by UnixNetProcessor::start(), DNSProcessor::start(), and ClusterProcessor::start().
static void net_signal_hook_callback | ( | EThread * | thread | ) | [static] |
Definition at line 184 of file UnixNet.cc.
References ATS_UNUSED_RETURN, and EThread::evpipe.
Referenced by NetHandler::mainNetEvent().
static void net_signal_hook_function | ( | EThread * | thread | ) | [static] |
Definition at line 197 of file UnixNet.cc.
References ATS_UNUSED_RETURN, EThread::ep, EThread::evpipe, and get_PollDescriptor().
Definition at line 28 of file UnixNet.cc.
Referenced by check_emergency_throttle(), and emergency_throttle().
int fds_limit = 8000 |
Definition at line 31 of file UnixNet.cc.
int fds_throttle |
Definition at line 30 of file UnixNet.cc.
Referenced by adjust_sys_settings(), change_net_connections_throttle(), check_fd_limit(), and configure_net().
Definition at line 27 of file UnixNet.cc.
Referenced by check_shedding_warning().
Definition at line 26 of file UnixNet.cc.
Referenced by check_throttle_warning().
Definition at line 32 of file UnixNet.cc.
Referenced by check_transient_accept_error().
Definition at line 29 of file UnixNet.cc.
Referenced by change_net_connections_throttle(), and check_net_throttle().