Data Structures | Functions | Variables

UnixNet.cc File Reference

A brief file description. More...

#include "P_Net.h"
Include dependency graph for UnixNet.cc:

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

Detailed Description

A brief file description.

License

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.


Function Documentation

void fd_reify ( struct ev_loop *   ) 
void initialize_thread_for_net ( EThread thread  ) 
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().


Variable Documentation

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.

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().